public class DBSnapshot extends Object implements Serializable
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 and Description |
---|
DBSnapshot() |
Modifier and Type | Method and Description |
---|---|
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.
|
Integer |
getIops()
Specifies the Provisioned IOPS (I/O operations per second) value of
the DB Instance at the time of the snapshot.
|
String |
getLicenseModel()
License model information for the restored DB Instance.
|
String |
getMasterUsername()
Provides the master username for the DB Snapshot.
|
String |
getOptionGroupName()
Provides the option group name for the DB Snapshot.
|
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 |
getSnapshotType()
Provides the type of the DB Snapshot.
|
String |
getStatus()
Specifies the status of this DB Snapshot.
|
String |
getVpcId()
Provides the Vpc Id associated with the 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 |
setIops(Integer iops)
Specifies the Provisioned IOPS (I/O operations per second) value of
the DB Instance at the time of the snapshot.
|
void |
setLicenseModel(String licenseModel)
License model information for the restored DB Instance.
|
void |
setMasterUsername(String masterUsername)
Provides the master username for the DB Snapshot.
|
void |
setOptionGroupName(String optionGroupName)
Provides the option group name for the DB Snapshot.
|
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 |
setSnapshotType(String snapshotType)
Provides the type of the DB Snapshot.
|
void |
setStatus(String status)
Specifies the status of this DB Snapshot.
|
void |
setVpcId(String vpcId)
Provides the Vpc Id associated with the 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 |
withIops(Integer iops)
Specifies the Provisioned IOPS (I/O operations per second) value of
the DB Instance at the time of the snapshot.
|
DBSnapshot |
withLicenseModel(String licenseModel)
License model information for the restored DB Instance.
|
DBSnapshot |
withMasterUsername(String masterUsername)
Provides the master username for the DB Snapshot.
|
DBSnapshot |
withOptionGroupName(String optionGroupName)
Provides the option group name for the DB Snapshot.
|
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 |
withSnapshotType(String snapshotType)
Provides the type of the DB Snapshot.
|
DBSnapshot |
withStatus(String status)
Specifies the status of this DB Snapshot.
|
DBSnapshot |
withVpcId(String vpcId)
Provides the Vpc Id associated with the DB Snapshot.
|
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 String getVpcId()
public void setVpcId(String vpcId)
vpcId
- Provides the Vpc Id associated with the DB Snapshot.public DBSnapshot withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- Provides the Vpc Id associated with 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 Snapshot.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 Snapshot.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 getSnapshotType()
public void setSnapshotType(String snapshotType)
snapshotType
- Provides the type of the DB Snapshot.public DBSnapshot withSnapshotType(String snapshotType)
Returns a reference to this object so that method calls can be chained together.
snapshotType
- Provides the type of the DB Snapshot.public Integer getIops()
public void setIops(Integer iops)
iops
- Specifies the Provisioned IOPS (I/O operations per second) value of
the DB Instance at the time of the snapshot.public DBSnapshot withIops(Integer iops)
Returns a reference to this object so that method calls can be chained together.
iops
- Specifies the Provisioned IOPS (I/O operations per second) value of
the DB Instance at the time of the snapshot.public String getOptionGroupName()
public void setOptionGroupName(String optionGroupName)
optionGroupName
- Provides the option group name for the DB Snapshot.public DBSnapshot withOptionGroupName(String optionGroupName)
Returns a reference to this object so that method calls can be chained together.
optionGroupName
- Provides the option group name for the DB Snapshot.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.