public abstract static class Instance.Builder<T extends Instance.Builder<T>> extends BaseInstance.Builder<T>
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Optional<String> |
availabilityZone |
protected com.google.common.base.Optional<Date> |
createdTime |
protected com.google.common.base.Optional<com.google.common.net.HostAndPort> |
endpoint |
protected String |
engineVersion |
protected String |
id |
protected String |
licenseModel |
protected boolean |
multiAZ |
protected String |
rawStatus |
protected com.google.common.collect.ImmutableMap.Builder<String,String> |
securityGroupNameToStatus |
protected Instance.Status |
status |
protected com.google.common.base.Optional<SubnetGroup> |
subnetGroup |
allocatedStorageGB, engine, instanceClass, masterUsername, name
Constructor and Description |
---|
Instance.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
availabilityZone(String availabilityZone) |
Instance |
build() |
T |
createdTime(Date createdTime) |
T |
endpoint(com.google.common.net.HostAndPort endpoint) |
T |
engineVersion(String engineVersion) |
T |
fromInstance(Instance in) |
T |
id(String id) |
T |
licenseModel(String licenseModel) |
T |
multiAZ(boolean multiAZ) |
T |
rawStatus(String rawStatus) |
T |
securityGroupNameToStatus(Map<String,String> securityGroupNameToStatus) |
T |
securityGroupNameToStatus(String securityGroupName,
String status) |
T |
status(Instance.Status status) |
T |
subnetGroup(SubnetGroup subnetGroup) |
allocatedStorageGB, engine, fromBaseInstance, instanceClass, masterUsername, name, self
protected String id
protected com.google.common.base.Optional<com.google.common.net.HostAndPort> endpoint
protected String engineVersion
protected String rawStatus
protected Instance.Status status
protected com.google.common.base.Optional<Date> createdTime
protected String licenseModel
protected com.google.common.base.Optional<String> availabilityZone
protected boolean multiAZ
protected com.google.common.base.Optional<SubnetGroup> subnetGroup
public T id(String id)
Instance.getId()
public T endpoint(com.google.common.net.HostAndPort endpoint)
Instance.getEndpoint()
public T rawStatus(String rawStatus)
Instance.getRawStatus()
public T status(Instance.Status status)
Instance.getStatus()
public T engineVersion(String engineVersion)
Instance.getEngineVersion()
public T licenseModel(String licenseModel)
Instance.getLicenseModel()
public T createdTime(Date createdTime)
Instance.getCreatedTime()
public T availabilityZone(String availabilityZone)
Instance.getAvailabilityZone()
public T multiAZ(boolean multiAZ)
Instance.isMultiAZ()
public T subnetGroup(SubnetGroup subnetGroup)
Instance.getSubnetGroup()
public T securityGroupNameToStatus(Map<String,String> securityGroupNameToStatus)
public T securityGroupNameToStatus(String securityGroupName, String status)
public Instance build()
build
in class BaseInstance.Builder<T extends Instance.Builder<T>>
Copyright © 2009-2013 jclouds. All Rights Reserved.