public abstract static class Server.Builder<T extends Server.Builder<T>> extends Resource.Builder<T>
Modifier and Type | Field and Description |
---|---|
protected String |
accessIPv4 |
protected String |
accessIPv6 |
protected com.google.common.collect.Multimap<String,Address> |
addresses |
protected String |
availabilityZone |
protected String |
configDrive |
protected Date |
created |
protected String |
diskConfig |
protected ServerExtendedAttributes |
extendedAttributes |
protected ServerExtendedStatus |
extendedStatus |
protected Resource |
flavor |
protected String |
hostId |
protected Resource |
image |
protected String |
keyName |
protected Map<String,String> |
metadata |
protected Server.Status |
status |
protected String |
tenantId |
protected Date |
updated |
protected String |
userId |
protected String |
uuid |
id, links, name
Constructor and Description |
---|
Server.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
accessIPv4(String accessIPv4) |
T |
accessIPv6(String accessIPv6) |
T |
addresses(com.google.common.collect.Multimap<String,Address> addresses) |
T |
availabilityZone(String availabilityZone) |
Server |
build() |
T |
configDrive(String configDrive) |
T |
created(Date created) |
T |
diskConfig(String diskConfig) |
T |
extendedAttributes(ServerExtendedAttributes extendedAttributes) |
T |
extendedStatus(ServerExtendedStatus extendedStatus) |
T |
flavor(Resource flavor) |
T |
fromServer(Server in) |
T |
hostId(String hostId) |
T |
image(Resource image) |
T |
keyName(String keyName) |
T |
metadata(Map<String,String> metadata) |
T |
status(Server.Status status) |
T |
tenantId(String tenantId) |
T |
updated(Date updated) |
T |
userId(String userId) |
T |
uuid(String uuid) |
fromResource, id, links, links, name, self
protected String uuid
protected String tenantId
protected String userId
protected Date updated
protected Date created
protected String hostId
protected String accessIPv4
protected String accessIPv6
protected Server.Status status
protected Resource image
protected Resource flavor
protected String keyName
protected String configDrive
protected ServerExtendedStatus extendedStatus
protected ServerExtendedAttributes extendedAttributes
protected String diskConfig
protected String availabilityZone
public T uuid(String uuid)
Server.getUuid()
public T tenantId(String tenantId)
Server.getTenantId()
public T userId(String userId)
Server.getUserId()
public T updated(Date updated)
Server.getUpdated()
public T created(Date created)
Server.getCreated()
public T hostId(String hostId)
Server.getHostId()
public T accessIPv4(String accessIPv4)
Server.getAccessIPv4()
public T accessIPv6(String accessIPv6)
Server.getAccessIPv6()
public T status(Server.Status status)
Server.getStatus()
public T image(Resource image)
Server.getImage()
public T flavor(Resource flavor)
Server.getFlavor()
public T keyName(String keyName)
Server.getKeyName()
public T configDrive(String configDrive)
Server.getConfigDrive()
public T addresses(com.google.common.collect.Multimap<String,Address> addresses)
Server.getAddresses()
public T metadata(Map<String,String> metadata)
Server.getMetadata()
public T extendedStatus(ServerExtendedStatus extendedStatus)
Server.getExtendedStatus()
public T extendedAttributes(ServerExtendedAttributes extendedAttributes)
Server.getExtendedAttributes()
public T diskConfig(String diskConfig)
Server.getDiskConfig()
public T availabilityZone(String availabilityZone)
Server.getAvailabilityZone()
public Server build()
build
in class Resource.Builder<T extends Server.Builder<T>>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.