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 Tenant
build()
Creates and return the Model Entity MTenantBuilder
description(String desc)
TenantBuilder
enabled(boolean enabled)
TenantBuilder
from(Tenant in)
Creates a Builder using the param M as the default valuesTenantBuilder
id(String id)
TenantBuilder
name(String name)
-
-
-
Method Detail
-
name
public TenantBuilder name(String name)
- Specified by:
name
in interfaceTenantBuilder
- See Also:
KeystoneTenant.getName()
-
description
public TenantBuilder description(String desc)
- Specified by:
description
in interfaceTenantBuilder
- See Also:
KeystoneTenant.getDescription()
-
id
public TenantBuilder id(String id)
- Specified by:
id
in interfaceTenantBuilder
- See Also:
KeystoneTenant.getId()
-
enabled
public TenantBuilder enabled(boolean enabled)
- Specified by:
enabled
in interfaceTenantBuilder
- See Also:
KeystoneTenant#getEnabled()
-
build
public Tenant build()
Creates and return the Model Entity M- Specified by:
build
in 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:
from
in interfaceBuildable.Builder<TenantBuilder,Tenant>
- Returns:
- Builder
-
-