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 Addresses |
addresses |
protected String |
adminPass |
protected String |
affinityId |
protected Date |
created |
protected Flavor |
flavor |
protected String |
flavorRef |
protected String |
hostId |
protected Image |
image |
protected String |
imageRef |
protected String |
keyName |
protected Map<String,String> |
metadata |
protected String |
name |
protected Integer |
progress |
protected Set<SecurityGroup> |
securityGroups |
protected ServerStatus |
status |
protected Date |
updated |
protected String |
uuid |
id, links, orderedSelfReferences
Constructor and Description |
---|
Server.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
accessIPv4(String accessIPv4) |
T |
accessIPv6(String accessIPv6) |
T |
addresses(Addresses addresses) |
T |
adminPass(String adminPass) |
T |
affinityId(String affinityId) |
Server |
build() |
T |
created(Date created) |
T |
flavor(Flavor flavor) |
T |
flavorRef(String flavorRef) |
T |
fromServer(Server in) |
T |
hostId(String hostId) |
T |
image(Image image) |
T |
imageRef(String imageRef) |
T |
keyName(String keyName) |
T |
metadata(Map<String,String> metadata) |
T |
name(String name) |
T |
progress(Integer progress) |
T |
securityGroups(SecurityGroup... in) |
T |
securityGroups(Set<SecurityGroup> securityGroups) |
T |
status(ServerStatus status) |
T |
updated(Date updated) |
T |
uuid(String uuid) |
fromResource, id, links, links, orderedSelfReferences, self
protected String name
protected Addresses addresses
protected String accessIPv4
protected String accessIPv6
protected String adminPass
protected String flavorRef
protected String hostId
protected String imageRef
protected String affinityId
protected String uuid
protected Flavor flavor
protected Image image
protected String keyName
protected Set<SecurityGroup> securityGroups
protected Date created
protected Date updated
protected Integer progress
protected ServerStatus status
public T name(String name)
Server.getName()
public T metadata(Map<String,String> metadata)
Server.getMetadata()
public T addresses(Addresses addresses)
Server.getAddresses()
public T accessIPv4(String accessIPv4)
Server.getAccessIPv4()
public T accessIPv6(String accessIPv6)
Server.getAccessIPv6()
public T adminPass(String adminPass)
Server.getAdminPass()
public T flavorRef(String flavorRef)
Server.getFlavorRef()
public T hostId(String hostId)
Server.getHostId()
public T imageRef(String imageRef)
Server.getImageRef()
public T affinityId(String affinityId)
Server.getAffinityId()
public T uuid(String uuid)
Server.getUuid()
public T flavor(Flavor flavor)
Server.getFlavor()
public T image(Image image)
Server.getImage()
public T keyName(String keyName)
Server.getKeyName()
public T securityGroups(Set<SecurityGroup> securityGroups)
Server.getSecurityGroups()
public T securityGroups(SecurityGroup... in)
public T created(Date created)
Server.getCreated()
public T updated(Date updated)
Server.getUpdated()
public T progress(Integer progress)
Server.getProgress()
public T status(ServerStatus status)
Server.getStatus()
public Server build()
Copyright © 2009-2013 jclouds. All Rights Reserved.