public static class KeystoneEndpoint.EndpointConcreteBuilder extends Object implements EndpointBuilder
Modifier and Type | Method and Description |
---|---|
Endpoint |
build()
Creates and return the Model Entity M
|
EndpointBuilder |
description(String description) |
EndpointBuilder |
enabled(boolean enabled) |
EndpointBuilder |
from(Endpoint in)
Creates a Builder using the param M as the default values
|
EndpointBuilder |
id(String id) |
EndpointBuilder |
iface(Facing iface) |
EndpointBuilder |
links(Map<String,String> links) |
EndpointBuilder |
name(String name) |
EndpointBuilder |
region(String region) |
EndpointBuilder |
regionId(String regionId) |
EndpointBuilder |
serviceId(String serviceId) |
EndpointBuilder |
type(String type) |
EndpointBuilder |
url(URL url) |
public EndpointBuilder id(String id)
id
in interface EndpointBuilder
KeystoneEndpoint.getId()
public EndpointBuilder type(String type)
type
in interface EndpointBuilder
KeystoneEndpoint.getType()
public EndpointBuilder description(String description)
description
in interface EndpointBuilder
KeystoneEndpoint.getDescription()
public EndpointBuilder iface(Facing iface)
iface
in interface EndpointBuilder
KeystoneEndpoint.getIface()
public EndpointBuilder serviceId(String serviceId)
serviceId
in interface EndpointBuilder
KeystoneEndpoint.getServiceId()
public EndpointBuilder name(String name)
name
in interface EndpointBuilder
KeystoneEndpoint.getName()
public EndpointBuilder regionId(String regionId)
regionId
in interface EndpointBuilder
KeystoneEndpoint.getRegionId()
public EndpointBuilder region(String region)
region
in interface EndpointBuilder
KeystoneEndpoint.getRegion()
public EndpointBuilder url(URL url)
url
in interface EndpointBuilder
KeystoneEndpoint.getUrl()
public EndpointBuilder links(Map<String,String> links)
links
in interface EndpointBuilder
KeystoneEndpoint.getLinks()
public EndpointBuilder enabled(boolean enabled)
enabled
in interface EndpointBuilder
KeystoneEndpoint.isEnabled()
public Endpoint build()
build
in interface Buildable.Builder<EndpointBuilder,Endpoint>
public EndpointBuilder from(Endpoint in)
from
in interface Buildable.Builder<EndpointBuilder,Endpoint>
Copyright © 2017. All rights reserved.