public abstract static class Server.Builder<T extends Server.Builder<T>>
extends org.jclouds.openstack.v2_0.domain.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 |
configDrive |
protected Date |
created |
protected String |
diskConfig |
protected ServerExtendedAttributes |
extendedAttributes |
protected ServerExtendedStatus |
extendedStatus |
protected org.jclouds.openstack.v2_0.domain.Resource |
flavor |
protected String |
hostId |
protected org.jclouds.openstack.v2_0.domain.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 |
| 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) |
Server |
build() |
T |
configDrive(String configDrive) |
T |
created(Date created) |
T |
diskConfig(String diskConfig) |
T |
extendedAttributes(ServerExtendedAttributes extendedAttributes) |
T |
extendedStatus(ServerExtendedStatus extendedStatus) |
T |
flavor(org.jclouds.openstack.v2_0.domain.Resource flavor) |
T |
fromServer(Server in) |
T |
hostId(String hostId) |
T |
image(org.jclouds.openstack.v2_0.domain.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) |
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 org.jclouds.openstack.v2_0.domain.Resource image
protected org.jclouds.openstack.v2_0.domain.Resource flavor
protected String keyName
protected String configDrive
protected ServerExtendedStatus extendedStatus
protected ServerExtendedAttributes extendedAttributes
protected String diskConfig
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(org.jclouds.openstack.v2_0.domain.Resource image)
Server.getImage()public T flavor(org.jclouds.openstack.v2_0.domain.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 Server build()
build in class org.jclouds.openstack.v2_0.domain.Resource.Builder<T extends Server.Builder<T>>Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.