Class KeystoneEndpoint.EndPointConcreteBuilder
- java.lang.Object
-
- org.openstack4j.openstack.identity.v2.domain.KeystoneEndpoint.EndPointConcreteBuilder
-
- All Implemented Interfaces:
Buildable.Builder<EndpointBuilder,Endpoint>
,EndpointBuilder
- Enclosing class:
- KeystoneEndpoint
public static class KeystoneEndpoint.EndPointConcreteBuilder extends Object implements EndpointBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected KeystoneEndpoint
model
-
Constructor Summary
Constructors Modifier Constructor Description protected
EndPointConcreteBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointBuilder
adminURL(URI adminURL)
KeystoneEndpoint
build()
Creates and return the Model Entity MEndpointBuilder
from(Endpoint in)
Creates a Builder using the param M as the default valuesEndpointBuilder
id(String id)
EndpointBuilder
internalURL(URI internalURL)
EndpointBuilder
name(String name)
EndpointBuilder
publicURL(URI publicURL)
EndpointBuilder
region(String region)
EndpointBuilder
tenantId(String tenantId)
EndpointBuilder
type(String type)
EndpointBuilder
versionInfo(URI versionInfo)
EndpointBuilder
versionList(URI versionList)
-
-
-
Field Detail
-
model
protected KeystoneEndpoint model
-
-
Method Detail
-
region
public EndpointBuilder region(String region)
- Specified by:
region
in interfaceEndpointBuilder
- See Also:
KeystoneEndpoint.getRegion()
-
publicURL
public EndpointBuilder publicURL(URI publicURL)
- Specified by:
publicURL
in interfaceEndpointBuilder
- See Also:
KeystoneEndpoint.getPublicURL()
-
internalURL
public EndpointBuilder internalURL(URI internalURL)
- Specified by:
internalURL
in interfaceEndpointBuilder
- See Also:
KeystoneEndpoint.getInternalURL()
-
tenantId
public EndpointBuilder tenantId(String tenantId)
- Specified by:
tenantId
in interfaceEndpointBuilder
- See Also:
KeystoneEndpoint.getTenantId()
-
type
public EndpointBuilder type(String type)
- Specified by:
type
in interfaceEndpointBuilder
- See Also:
KeystoneEndpoint.getType()
-
id
public EndpointBuilder id(String id)
- Specified by:
id
in interfaceEndpointBuilder
- See Also:
KeystoneEndpoint.getId()
-
name
public EndpointBuilder name(String name)
- Specified by:
name
in interfaceEndpointBuilder
- See Also:
KeystoneEndpoint.getName()
-
adminURL
public EndpointBuilder adminURL(URI adminURL)
- Specified by:
adminURL
in interfaceEndpointBuilder
- See Also:
KeystoneEndpoint.getAdminURL()
-
versionInfo
public EndpointBuilder versionInfo(URI versionInfo)
- Specified by:
versionInfo
in interfaceEndpointBuilder
- See Also:
KeystoneEndpoint.getVersionInfo()
-
versionList
public EndpointBuilder versionList(URI versionList)
- Specified by:
versionList
in interfaceEndpointBuilder
- See Also:
KeystoneEndpoint.getVersionList()
-
build
public KeystoneEndpoint build()
Description copied from interface:Buildable.Builder
Creates and return the Model Entity M- Specified by:
build
in interfaceBuildable.Builder<EndpointBuilder,Endpoint>
- Returns:
- M instance
-
from
public EndpointBuilder from(Endpoint in)
Description copied from interface:Buildable.Builder
Creates a Builder using the param M as the default values- Specified by:
from
in interfaceBuildable.Builder<EndpointBuilder,Endpoint>
- Returns:
- Builder
-
-