public class Instance extends BaseInstance
Modifier and Type | Class and Description |
---|---|
static class |
Instance.Builder<T extends Instance.Builder<T>> |
static class |
Instance.Status |
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 Map<String,String> |
securityGroupNameToStatus |
protected Instance.Status |
status |
protected com.google.common.base.Optional<SubnetGroup> |
subnetGroup |
allocatedStorageGB, engine, instanceClass, masterUsername, name
Modifier | Constructor and Description |
---|---|
protected |
Instance(String id,
com.google.common.base.Optional<String> name,
String instanceClass,
com.google.common.base.Optional<com.google.common.net.HostAndPort> endpoint,
String rawStatus,
Instance.Status status,
com.google.common.base.Optional<String> availabilityZone,
boolean multiAZ,
String engine,
String engineVersion,
String licenseModel,
String masterUsername,
int allocatedStorageGB,
com.google.common.base.Optional<Date> createdTime,
com.google.common.base.Optional<SubnetGroup> subnetGroup,
Map<String,String> securityGroupNameToStatus) |
Modifier and Type | Method and Description |
---|---|
static Instance.Builder<?> |
builder() |
boolean |
equals(Object obj) |
com.google.common.base.Optional<String> |
getAvailabilityZone()
Specifies the name of the Availability Zone the DB Instance is located in, or absent if the
database is in
creating state |
com.google.common.base.Optional<Date> |
getCreatedTime()
Provides the date and time the DB Instance was created, or absent if the database is in
creating state |
com.google.common.base.Optional<com.google.common.net.HostAndPort> |
getEndpoint()
Specifies the connection endpoint, or absent if the database is in
Instance.Status.CREATING or Instance.Status.DELETING states |
String |
getEngineVersion()
Indicates the database engine version.
|
String |
getId()
Contains a user-supplied database identifier.
|
String |
getLicenseModel()
License model information for this DB Instance.
|
String |
getRawStatus()
Specifies the current state of this database unparsed.
|
Map<String,String> |
getSecurityGroupNameToStatus()
SecurityGroupName -> Status
|
Instance.Status |
getStatus()
Specifies the current state of this database.
|
com.google.common.base.Optional<SubnetGroup> |
getSubnetGroup()
Provides the information of the subnet group associated with the DB instance, including the
name, description and subnets in the subnet group.
|
int |
hashCode() |
boolean |
isMultiAZ()
Specifies the name of the Availability Zone the DB Instance is located in.
|
Instance.Builder<?> |
toBuilder() |
String |
toString() |
getAllocatedStorageGB, getEngine, getInstanceClass, getMasterUsername, getName, string
protected final String id
protected final com.google.common.base.Optional<com.google.common.net.HostAndPort> endpoint
protected final String rawStatus
protected final Instance.Status status
protected final com.google.common.base.Optional<Date> createdTime
protected final String engineVersion
protected final String licenseModel
protected final com.google.common.base.Optional<String> availabilityZone
protected final boolean multiAZ
protected final com.google.common.base.Optional<SubnetGroup> subnetGroup
protected Instance(String id, com.google.common.base.Optional<String> name, String instanceClass, com.google.common.base.Optional<com.google.common.net.HostAndPort> endpoint, String rawStatus, Instance.Status status, com.google.common.base.Optional<String> availabilityZone, boolean multiAZ, String engine, String engineVersion, String licenseModel, String masterUsername, int allocatedStorageGB, com.google.common.base.Optional<Date> createdTime, com.google.common.base.Optional<SubnetGroup> subnetGroup, Map<String,String> securityGroupNameToStatus)
public static Instance.Builder<?> builder()
public Instance.Builder<?> toBuilder()
toBuilder
in class BaseInstance
public String getId()
public Instance.Status getStatus()
public String getRawStatus()
public com.google.common.base.Optional<com.google.common.net.HostAndPort> getEndpoint()
Instance.Status.CREATING
or Instance.Status.DELETING
statespublic com.google.common.base.Optional<Date> getCreatedTime()
creating
statepublic String getEngineVersion()
public String getLicenseModel()
public com.google.common.base.Optional<String> getAvailabilityZone()
creating
statepublic boolean isMultiAZ()
public com.google.common.base.Optional<SubnetGroup> getSubnetGroup()
public Map<String,String> getSecurityGroupNameToStatus()
public int hashCode()
BaseInstance
hashCode
in class BaseInstance
public boolean equals(Object obj)
BaseInstance
equals
in class BaseInstance
public String toString()
toString
in class BaseInstance
Copyright © 2009-2013 jclouds. All Rights Reserved.