|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.rds.model.DBSnapshot
public class DBSnapshot
Contains the result of a successful invocation of the following actions:
This data type is used as a response element in the DescribeDBSnapshots action.
Constructor Summary | |
---|---|
DBSnapshot()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Integer |
getAllocatedStorage()
Specifies the allocated storage size in gigabytes (GB). |
String |
getAvailabilityZone()
Specifies the name of the Availability Zone the DB Instance was located in at the time of the DB Snapshot. |
String |
getDBInstanceIdentifier()
Specifies the the DBInstanceIdentifier of the DB Instance this DB Snapshot was created from. |
String |
getDBSnapshotIdentifier()
Specifies the identifier for the DB Snapshot. |
String |
getEngine()
Specifies the name of the database engine. |
String |
getEngineVersion()
Specifies the version of the database engine. |
Date |
getInstanceCreateTime()
Specifies the time (UTC) when the snapshot was taken. |
String |
getLicenseModel()
License model information for the restored DB Instance. |
String |
getMasterUsername()
Provides the master username for the DB Instance. |
Integer |
getPort()
Specifies the port that the database engine was listening on at the time of the snapshot. |
Date |
getSnapshotCreateTime()
Provides the time (UTC) when the snapshot was taken. |
String |
getStatus()
Specifies the status of this DB Snapshot. |
int |
hashCode()
|
void |
setAllocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size in gigabytes (GB). |
void |
setAvailabilityZone(String availabilityZone)
Specifies the name of the Availability Zone the DB Instance was located in at the time of the DB Snapshot. |
void |
setDBInstanceIdentifier(String dBInstanceIdentifier)
Specifies the the DBInstanceIdentifier of the DB Instance this DB Snapshot was created from. |
void |
setDBSnapshotIdentifier(String dBSnapshotIdentifier)
Specifies the identifier for the DB Snapshot. |
void |
setEngine(String engine)
Specifies the name of the database engine. |
void |
setEngineVersion(String engineVersion)
Specifies the version of the database engine. |
void |
setInstanceCreateTime(Date instanceCreateTime)
Specifies the time (UTC) when the snapshot was taken. |
void |
setLicenseModel(String licenseModel)
License model information for the restored DB Instance. |
void |
setMasterUsername(String masterUsername)
Provides the master username for the DB Instance. |
void |
setPort(Integer port)
Specifies the port that the database engine was listening on at the time of the snapshot. |
void |
setSnapshotCreateTime(Date snapshotCreateTime)
Provides the time (UTC) when the snapshot was taken. |
void |
setStatus(String status)
Specifies the status of this DB Snapshot. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DBSnapshot |
withAllocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size in gigabytes (GB). |
DBSnapshot |
withAvailabilityZone(String availabilityZone)
Specifies the name of the Availability Zone the DB Instance was located in at the time of the DB Snapshot. |
DBSnapshot |
withDBInstanceIdentifier(String dBInstanceIdentifier)
Specifies the the DBInstanceIdentifier of the DB Instance this DB Snapshot was created from. |
DBSnapshot |
withDBSnapshotIdentifier(String dBSnapshotIdentifier)
Specifies the identifier for the DB Snapshot. |
DBSnapshot |
withEngine(String engine)
Specifies the name of the database engine. |
DBSnapshot |
withEngineVersion(String engineVersion)
Specifies the version of the database engine. |
DBSnapshot |
withInstanceCreateTime(Date instanceCreateTime)
Specifies the time (UTC) when the snapshot was taken. |
DBSnapshot |
withLicenseModel(String licenseModel)
License model information for the restored DB Instance. |
DBSnapshot |
withMasterUsername(String masterUsername)
Provides the master username for the DB Instance. |
DBSnapshot |
withPort(Integer port)
Specifies the port that the database engine was listening on at the time of the snapshot. |
DBSnapshot |
withSnapshotCreateTime(Date snapshotCreateTime)
Provides the time (UTC) when the snapshot was taken. |
DBSnapshot |
withStatus(String status)
Specifies the status of this DB Snapshot. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DBSnapshot()
Method Detail |
---|
public String getDBSnapshotIdentifier()
public void setDBSnapshotIdentifier(String dBSnapshotIdentifier)
dBSnapshotIdentifier
- Specifies the identifier for the DB Snapshot.public DBSnapshot withDBSnapshotIdentifier(String dBSnapshotIdentifier)
Returns a reference to this object so that method calls can be chained together.
dBSnapshotIdentifier
- Specifies the identifier for the DB Snapshot.
public String getDBInstanceIdentifier()
public void setDBInstanceIdentifier(String dBInstanceIdentifier)
dBInstanceIdentifier
- Specifies the the DBInstanceIdentifier of the DB Instance this DB
Snapshot was created from.public DBSnapshot withDBInstanceIdentifier(String dBInstanceIdentifier)
Returns a reference to this object so that method calls can be chained together.
dBInstanceIdentifier
- Specifies the the DBInstanceIdentifier of the DB Instance this DB
Snapshot was created from.
public Date getSnapshotCreateTime()
public void setSnapshotCreateTime(Date snapshotCreateTime)
snapshotCreateTime
- Provides the time (UTC) when the snapshot was taken.public DBSnapshot withSnapshotCreateTime(Date snapshotCreateTime)
Returns a reference to this object so that method calls can be chained together.
snapshotCreateTime
- Provides the time (UTC) when the snapshot was taken.
public String getEngine()
public void setEngine(String engine)
engine
- Specifies the name of the database engine.public DBSnapshot withEngine(String engine)
Returns a reference to this object so that method calls can be chained together.
engine
- Specifies the name of the database engine.
public Integer getAllocatedStorage()
public void setAllocatedStorage(Integer allocatedStorage)
allocatedStorage
- Specifies the allocated storage size in gigabytes (GB).public DBSnapshot withAllocatedStorage(Integer allocatedStorage)
Returns a reference to this object so that method calls can be chained together.
allocatedStorage
- Specifies the allocated storage size in gigabytes (GB).
public String getStatus()
public void setStatus(String status)
status
- Specifies the status of this DB Snapshot.public DBSnapshot withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status
- Specifies the status of this DB Snapshot.
public Integer getPort()
public void setPort(Integer port)
port
- Specifies the port that the database engine was listening on at the
time of the snapshot.public DBSnapshot withPort(Integer port)
Returns a reference to this object so that method calls can be chained together.
port
- Specifies the port that the database engine was listening on at the
time of the snapshot.
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- Specifies the name of the Availability Zone the DB Instance was
located in at the time of the DB Snapshot.public DBSnapshot withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- Specifies the name of the Availability Zone the DB Instance was
located in at the time of the DB Snapshot.
public Date getInstanceCreateTime()
public void setInstanceCreateTime(Date instanceCreateTime)
instanceCreateTime
- Specifies the time (UTC) when the snapshot was taken.public DBSnapshot withInstanceCreateTime(Date instanceCreateTime)
Returns a reference to this object so that method calls can be chained together.
instanceCreateTime
- Specifies the time (UTC) when the snapshot was taken.
public String getMasterUsername()
public void setMasterUsername(String masterUsername)
masterUsername
- Provides the master username for the DB Instance.public DBSnapshot withMasterUsername(String masterUsername)
Returns a reference to this object so that method calls can be chained together.
masterUsername
- Provides the master username for the DB Instance.
public String getEngineVersion()
public void setEngineVersion(String engineVersion)
engineVersion
- Specifies the version of the database engine.public DBSnapshot withEngineVersion(String engineVersion)
Returns a reference to this object so that method calls can be chained together.
engineVersion
- Specifies the version of the database engine.
public String getLicenseModel()
public void setLicenseModel(String licenseModel)
licenseModel
- License model information for the restored DB Instance.public DBSnapshot withLicenseModel(String licenseModel)
Returns a reference to this object so that method calls can be chained together.
licenseModel
- License model information for the restored DB Instance.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |