Class KeystoneService.ServiceConcreteBuilder
- java.lang.Object
-
- org.openstack4j.openstack.identity.v3.domain.KeystoneService.ServiceConcreteBuilder
-
- All Implemented Interfaces:
Buildable.Builder<ServiceBuilder,Service>
,ServiceBuilder
- Enclosing class:
- KeystoneService
public static class KeystoneService.ServiceConcreteBuilder extends Object implements ServiceBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Service
build()
Creates and return the Model Entity MServiceBuilder
description(String description)
ServiceBuilder
enabled(boolean enabled)
ServiceBuilder
from(Service in)
Creates a Builder using the param M as the default valuesServiceBuilder
id(String id)
ServiceBuilder
links(Map<String,String> links)
ServiceBuilder
name(String name)
ServiceBuilder
type(String type)
ServiceBuilder
version(Integer version)
-
-
-
Method Detail
-
build
public Service build()
Description copied from interface:Buildable.Builder
Creates and return the Model Entity M- Specified by:
build
in interfaceBuildable.Builder<ServiceBuilder,Service>
- Returns:
- M instance
-
from
public ServiceBuilder from(Service in)
Description copied from interface:Buildable.Builder
Creates a Builder using the param M as the default values- Specified by:
from
in interfaceBuildable.Builder<ServiceBuilder,Service>
- Returns:
- Builder
-
version
public ServiceBuilder version(Integer version)
- Specified by:
version
in interfaceServiceBuilder
- See Also:
Service.getVersion()
-
id
public ServiceBuilder id(String id)
- Specified by:
id
in interfaceServiceBuilder
- See Also:
Service.getId()
-
description
public ServiceBuilder description(String description)
- Specified by:
description
in interfaceServiceBuilder
- See Also:
Service.getDescription()
-
type
public ServiceBuilder type(String type)
- Specified by:
type
in interfaceServiceBuilder
- See Also:
Service.getType()
-
name
public ServiceBuilder name(String name)
- Specified by:
name
in interfaceServiceBuilder
- See Also:
Service.getName()
-
enabled
public ServiceBuilder enabled(boolean enabled)
- Specified by:
enabled
in interfaceServiceBuilder
- See Also:
Service.isEnabled()
-
links
public ServiceBuilder links(Map<String,String> links)
- Specified by:
links
in interfaceServiceBuilder
- See Also:
Service.getLinks()
-
-