public static class KeystoneEndpoint.EndPointConcreteBuilder extends Object implements EndpointBuilder
Modifier and Type | Field and Description |
---|---|
protected KeystoneEndpoint |
model |
Modifier | Constructor and Description |
---|---|
protected |
EndPointConcreteBuilder() |
Modifier and Type | Method and Description |
---|---|
EndpointBuilder |
adminURL(URI adminURL) |
KeystoneEndpoint |
build()
Creates and return the Model Entity M
|
EndpointBuilder |
from(Endpoint in)
Creates a Builder using the param M as the default values
|
EndpointBuilder |
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) |
protected KeystoneEndpoint model
public EndpointBuilder region(String region)
region
in interface EndpointBuilder
KeystoneEndpoint.getRegion()
public EndpointBuilder publicURL(URI publicURL)
publicURL
in interface EndpointBuilder
KeystoneEndpoint.getPublicURL()
public EndpointBuilder internalURL(URI internalURL)
internalURL
in interface EndpointBuilder
KeystoneEndpoint.getInternalURL()
public EndpointBuilder tenantId(String tenantId)
tenantId
in interface EndpointBuilder
KeystoneEndpoint.getTenantId()
public EndpointBuilder type(String type)
type
in interface EndpointBuilder
KeystoneEndpoint.getType()
public EndpointBuilder id(String id)
id
in interface EndpointBuilder
KeystoneEndpoint.getId()
public EndpointBuilder name(String name)
name
in interface EndpointBuilder
KeystoneEndpoint.getName()
public EndpointBuilder adminURL(URI adminURL)
adminURL
in interface EndpointBuilder
KeystoneEndpoint.getAdminURL()
public EndpointBuilder versionInfo(URI versionInfo)
versionInfo
in interface EndpointBuilder
KeystoneEndpoint.getVersionInfo()
public EndpointBuilder versionList(URI versionList)
versionList
in interface EndpointBuilder
KeystoneEndpoint.getVersionList()
public KeystoneEndpoint build()
Buildable.Builder
build
in interface Buildable.Builder<EndpointBuilder,Endpoint>
public EndpointBuilder from(Endpoint in)
Buildable.Builder
from
in interface Buildable.Builder<EndpointBuilder,Endpoint>
Copyright © 2017. All rights reserved.