public static class KeystoneTenant.TenantConcreteBuilder extends Object implements TenantBuilder
Modifier and Type | Method and Description |
---|---|
Tenant |
build()
Creates and return the Model Entity M
|
TenantBuilder |
description(String desc) |
TenantBuilder |
enabled(boolean enabled) |
TenantBuilder |
from(Tenant in)
Creates a Builder using the param M as the default values
|
TenantBuilder |
id(String id) |
TenantBuilder |
name(String name) |
public TenantBuilder name(String name)
name
in interface TenantBuilder
KeystoneTenant.getName()
public TenantBuilder description(String desc)
description
in interface TenantBuilder
KeystoneTenant.getDescription()
public TenantBuilder id(String id)
id
in interface TenantBuilder
KeystoneTenant.getId()
public TenantBuilder enabled(boolean enabled)
enabled
in interface TenantBuilder
KeystoneTenant#getEnabled()
public Tenant build()
build
in interface Buildable.Builder<TenantBuilder,Tenant>
public TenantBuilder from(Tenant in)
from
in interface Buildable.Builder<TenantBuilder,Tenant>
Copyright © 2017. All rights reserved.