Class KeystoneTenant.TenantConcreteBuilder
- java.lang.Object
-
- org.openstack4j.openstack.identity.v2.domain.KeystoneTenant.TenantConcreteBuilder
-
- All Implemented Interfaces:
Buildable.Builder<TenantBuilder,Tenant>,TenantBuilder
- Enclosing class:
- KeystoneTenant
public static class KeystoneTenant.TenantConcreteBuilder extends Object implements TenantBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tenantbuild()Creates and return the Model Entity MTenantBuilderdescription(String desc)TenantBuilderenabled(boolean enabled)TenantBuilderfrom(Tenant in)Creates a Builder using the param M as the default valuesTenantBuilderid(String id)TenantBuildername(String name)
-
-
-
Method Detail
-
name
public TenantBuilder name(String name)
- Specified by:
namein interfaceTenantBuilder- See Also:
KeystoneTenant.getName()
-
description
public TenantBuilder description(String desc)
- Specified by:
descriptionin interfaceTenantBuilder- See Also:
KeystoneTenant.getDescription()
-
id
public TenantBuilder id(String id)
- Specified by:
idin interfaceTenantBuilder- See Also:
KeystoneTenant.getId()
-
enabled
public TenantBuilder enabled(boolean enabled)
- Specified by:
enabledin interfaceTenantBuilder- See Also:
KeystoneTenant#getEnabled()
-
build
public Tenant build()
Creates and return the Model Entity M- Specified by:
buildin interfaceBuildable.Builder<TenantBuilder,Tenant>- Returns:
- M instance
-
from
public TenantBuilder from(Tenant in)
Creates a Builder using the param M as the default values- Specified by:
fromin interfaceBuildable.Builder<TenantBuilder,Tenant>- Returns:
- Builder
-
-