org.jclouds.openstack.nova.v2_0.domain
Class Server.Builder<T extends Server.Builder<T>>
java.lang.Object
org.jclouds.openstack.v2_0.domain.Resource.Builder<T>
org.jclouds.openstack.nova.v2_0.domain.Server.Builder<T>
- Direct Known Subclasses:
- ServerWithSecurityGroups.Builder
- Enclosing class:
- Server
public abstract static class Server.Builder<T extends Server.Builder<T>>
- extends Resource.Builder<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
uuid
protected String uuid
tenantId
protected String tenantId
userId
protected String userId
updated
protected Date updated
created
protected Date created
hostId
protected String hostId
accessIPv4
protected String accessIPv4
accessIPv6
protected String accessIPv6
status
protected Server.Status status
image
protected Resource image
flavor
protected Resource flavor
keyName
protected String keyName
configDrive
protected String configDrive
addresses
protected com.google.common.collect.Multimap<String,Address> addresses
metadata
protected Map<String,String> metadata
extendedStatus
protected ServerExtendedStatus extendedStatus
extendedAttributes
protected ServerExtendedAttributes extendedAttributes
diskConfig
protected String diskConfig
Server.Builder
public Server.Builder()
uuid
public T uuid(String uuid)
- See Also:
Server.getUuid()
tenantId
public T tenantId(String tenantId)
- See Also:
Server.getTenantId()
userId
public T userId(String userId)
- See Also:
Server.getUserId()
updated
public T updated(Date updated)
- See Also:
Server.getUpdated()
created
public T created(Date created)
- See Also:
Server.getCreated()
hostId
public T hostId(String hostId)
- See Also:
Server.getHostId()
accessIPv4
public T accessIPv4(String accessIPv4)
- See Also:
Server.getAccessIPv4()
accessIPv6
public T accessIPv6(String accessIPv6)
- See Also:
Server.getAccessIPv6()
status
public T status(Server.Status status)
- See Also:
Server.getStatus()
image
public T image(Resource image)
- See Also:
Server.getImage()
flavor
public T flavor(Resource flavor)
- See Also:
Server.getFlavor()
keyName
public T keyName(String keyName)
- See Also:
Server.getKeyName()
configDrive
public T configDrive(String configDrive)
- See Also:
Server.getConfigDrive()
addresses
public T addresses(com.google.common.collect.Multimap<String,Address> addresses)
- See Also:
Server.getAddresses()
metadata
public T metadata(Map<String,String> metadata)
- See Also:
Server.getMetadata()
extendedStatus
public T extendedStatus(ServerExtendedStatus extendedStatus)
- See Also:
Server.getExtendedStatus()
extendedAttributes
public T extendedAttributes(ServerExtendedAttributes extendedAttributes)
- See Also:
Server.getExtendedAttributes()
diskConfig
public T diskConfig(String diskConfig)
- See Also:
Server.getDiskConfig()
build
public Server build()
- Overrides:
build in class Resource.Builder<T extends Server.Builder<T>>
fromServer
public T fromServer(Server in)
Copyright © 2009-2012 jclouds. All Rights Reserved.