|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.rds.domain.Instance
public class Instance
A DB Instance is an isolated database environment running in the cloud. A DB Instance can contain multiple user-created databases, and can be accessed using the same tools and applications as a stand-alone database instance.
| Nested Class Summary | |
|---|---|
static class |
Instance.Builder<T extends Instance.Builder<T>>
|
| Field Summary | |
|---|---|
protected int |
allocatedStorageGB
|
protected String |
availabilityZone
|
protected Date |
createdTime
|
protected com.google.common.net.HostAndPort |
endpoint
|
protected String |
engine
|
protected String |
engineVersion
|
protected String |
id
|
protected String |
instanceClass
|
protected String |
licenseModel
|
protected String |
masterUsername
|
protected boolean |
multiAZ
|
protected com.google.common.base.Optional<String> |
name
|
protected Map<String,String> |
securityGroupNameToStatus
|
protected String |
status
|
protected com.google.common.base.Optional<SubnetGroup> |
subnetGroup
|
| Constructor Summary | |
|---|---|
protected |
Instance(String id,
com.google.common.base.Optional<String> name,
String instanceClass,
com.google.common.net.HostAndPort endpoint,
String status,
String availabilityZone,
boolean multiAZ,
String engine,
String engineVersion,
String licenseModel,
String masterUsername,
int allocatedStorageGB,
Date createdTime,
com.google.common.base.Optional<SubnetGroup> subnetGroup,
Map<String,String> securityGroupNameToStatus)
|
| Method Summary | |
|---|---|
static Instance.Builder<?> |
builder()
|
boolean |
equals(Object obj)
|
int |
getAllocatedStorageGB()
Specifies the allocated storage size specified in gigabytes. |
String |
getAvailabilityZone()
Specifies the name of the Availability Zone the DB Instance is located in. |
Date |
getCreatedTime()
Provides the date and time the DB Instance was created. |
com.google.common.net.HostAndPort |
getEndpoint()
Specifies the connection endpoint. |
String |
getEngine()
Provides the name of the database engine to be used for this DB Instance. |
String |
getEngineVersion()
Indicates the database engine version. |
String |
getId()
Contains a user-supplied database identifier. |
String |
getInstanceClass()
Contains the name of the compute and memory capacity class of the DB Instance. |
String |
getLicenseModel()
License model information for this DB Instance. |
String |
getMasterUsername()
Contains the master username for the DB Instance. |
com.google.common.base.Optional<String> |
getName()
The meaning of this parameter differs according to the database engine you use. |
Map<String,String> |
getSecurityGroupNameToStatus()
SecurityGroupName -> Status |
String |
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final String id
protected final com.google.common.base.Optional<String> name
protected final String instanceClass
protected final com.google.common.net.HostAndPort endpoint
protected final String status
protected final String availabilityZone
protected final boolean multiAZ
protected final String engine
protected final String engineVersion
protected final String licenseModel
protected final String masterUsername
protected int allocatedStorageGB
protected final Date createdTime
protected final com.google.common.base.Optional<SubnetGroup> subnetGroup
protected final Map<String,String> securityGroupNameToStatus
| Constructor Detail |
|---|
protected Instance(String id,
com.google.common.base.Optional<String> name,
String instanceClass,
com.google.common.net.HostAndPort endpoint,
String status,
String availabilityZone,
boolean multiAZ,
String engine,
String engineVersion,
String licenseModel,
String masterUsername,
int allocatedStorageGB,
Date createdTime,
com.google.common.base.Optional<SubnetGroup> subnetGroup,
Map<String,String> securityGroupNameToStatus)
| Method Detail |
|---|
public static Instance.Builder<?> builder()
public Instance.Builder<?> toBuilder()
public String getId()
public com.google.common.base.Optional<String> getName()
public String getStatus()
public String getInstanceClass()
public com.google.common.net.HostAndPort getEndpoint()
public String getAvailabilityZone()
public boolean isMultiAZ()
public String getEngine()
public String getEngineVersion()
public String getLicenseModel()
public String getMasterUsername()
public int getAllocatedStorageGB()
public Date getCreatedTime()
public com.google.common.base.Optional<SubnetGroup> getSubnetGroup()
public Map<String,String> getSecurityGroupNameToStatus()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||