public class DBClusterSnapshot
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the result of a successful invocation of the following actions:
This data type is used as a response element in the DescribeDBClusterSnapshots action.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
allocatedStorage
Specifies the allocated storage size in gigabytes (GB).
|
private SdkInternalList<java.lang.String> |
availabilityZones
Provides the list of EC2 Availability Zones that instances in the DB
cluster snapshot can be restored in.
|
private java.util.Date |
clusterCreateTime
Specifies the time when the DB cluster was created, in Universal
Coordinated Time (UTC).
|
private java.lang.String |
dBClusterIdentifier
Specifies the DB cluster identifier of the DB cluster that this DB
cluster snapshot was created from.
|
private java.lang.String |
dBClusterSnapshotIdentifier
Specifies the identifier for the DB cluster snapshot.
|
private java.lang.String |
engine
Specifies the name of the database engine.
|
private java.lang.String |
engineVersion
Provides the version of the database engine for this DB cluster snapshot.
|
private java.lang.String |
kmsKeyId
If
StorageEncrypted is true, the KMS key identifier for the
encrypted DB cluster snapshot. |
private java.lang.String |
licenseModel
Provides the license model information for this DB cluster snapshot.
|
private java.lang.String |
masterUsername
Provides the master username for the DB cluster snapshot.
|
private java.lang.Integer |
percentProgress
Specifies the percentage of the estimated data that has been transferred.
|
private java.lang.Integer |
port
Specifies the port that the DB cluster was listening on at the time of
the snapshot.
|
private java.util.Date |
snapshotCreateTime
Provides the time when the snapshot was taken, in Universal Coordinated
Time (UTC).
|
private java.lang.String |
snapshotType
Provides the type of the DB cluster snapshot.
|
private java.lang.String |
status
Specifies the status of this DB cluster snapshot.
|
private java.lang.Boolean |
storageEncrypted
Specifies whether the DB cluster snapshot is encrypted.
|
private java.lang.String |
vpcId
Provides the VPC ID associated with the DB cluster snapshot.
|
Constructor and Description |
---|
DBClusterSnapshot() |
Modifier and Type | Method and Description |
---|---|
DBClusterSnapshot |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getAllocatedStorage()
Specifies the allocated storage size in gigabytes (GB).
|
java.util.List<java.lang.String> |
getAvailabilityZones()
Provides the list of EC2 Availability Zones that instances in the DB
cluster snapshot can be restored in.
|
java.util.Date |
getClusterCreateTime()
Specifies the time when the DB cluster was created, in Universal
Coordinated Time (UTC).
|
java.lang.String |
getDBClusterIdentifier()
Specifies the DB cluster identifier of the DB cluster that this DB
cluster snapshot was created from.
|
java.lang.String |
getDBClusterSnapshotIdentifier()
Specifies the identifier for the DB cluster snapshot.
|
java.lang.String |
getEngine()
Specifies the name of the database engine.
|
java.lang.String |
getEngineVersion()
Provides the version of the database engine for this DB cluster snapshot.
|
java.lang.String |
getKmsKeyId()
If
StorageEncrypted is true, the KMS key identifier for the
encrypted DB cluster snapshot. |
java.lang.String |
getLicenseModel()
Provides the license model information for this DB cluster snapshot.
|
java.lang.String |
getMasterUsername()
Provides the master username for the DB cluster snapshot.
|
java.lang.Integer |
getPercentProgress()
Specifies the percentage of the estimated data that has been transferred.
|
java.lang.Integer |
getPort()
Specifies the port that the DB cluster was listening on at the time of
the snapshot.
|
java.util.Date |
getSnapshotCreateTime()
Provides the time when the snapshot was taken, in Universal Coordinated
Time (UTC).
|
java.lang.String |
getSnapshotType()
Provides the type of the DB cluster snapshot.
|
java.lang.String |
getStatus()
Specifies the status of this DB cluster snapshot.
|
java.lang.Boolean |
getStorageEncrypted()
Specifies whether the DB cluster snapshot is encrypted.
|
java.lang.String |
getVpcId()
Provides the VPC ID associated with the DB cluster snapshot.
|
int |
hashCode() |
java.lang.Boolean |
isStorageEncrypted()
Specifies whether the DB cluster snapshot is encrypted.
|
void |
setAllocatedStorage(java.lang.Integer allocatedStorage)
Specifies the allocated storage size in gigabytes (GB).
|
void |
setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Provides the list of EC2 Availability Zones that instances in the DB
cluster snapshot can be restored in.
|
void |
setClusterCreateTime(java.util.Date clusterCreateTime)
Specifies the time when the DB cluster was created, in Universal
Coordinated Time (UTC).
|
void |
setDBClusterIdentifier(java.lang.String dBClusterIdentifier)
Specifies the DB cluster identifier of the DB cluster that this DB
cluster snapshot was created from.
|
void |
setDBClusterSnapshotIdentifier(java.lang.String dBClusterSnapshotIdentifier)
Specifies the identifier for the DB cluster snapshot.
|
void |
setEngine(java.lang.String engine)
Specifies the name of the database engine.
|
void |
setEngineVersion(java.lang.String engineVersion)
Provides the version of the database engine for this DB cluster snapshot.
|
void |
setKmsKeyId(java.lang.String kmsKeyId)
If
StorageEncrypted is true, the KMS key identifier for the
encrypted DB cluster snapshot. |
void |
setLicenseModel(java.lang.String licenseModel)
Provides the license model information for this DB cluster snapshot.
|
void |
setMasterUsername(java.lang.String masterUsername)
Provides the master username for the DB cluster snapshot.
|
void |
setPercentProgress(java.lang.Integer percentProgress)
Specifies the percentage of the estimated data that has been transferred.
|
void |
setPort(java.lang.Integer port)
Specifies the port that the DB cluster was listening on at the time of
the snapshot.
|
void |
setSnapshotCreateTime(java.util.Date snapshotCreateTime)
Provides the time when the snapshot was taken, in Universal Coordinated
Time (UTC).
|
void |
setSnapshotType(java.lang.String snapshotType)
Provides the type of the DB cluster snapshot.
|
void |
setStatus(java.lang.String status)
Specifies the status of this DB cluster snapshot.
|
void |
setStorageEncrypted(java.lang.Boolean storageEncrypted)
Specifies whether the DB cluster snapshot is encrypted.
|
void |
setVpcId(java.lang.String vpcId)
Provides the VPC ID associated with the DB cluster snapshot.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DBClusterSnapshot |
withAllocatedStorage(java.lang.Integer allocatedStorage)
Specifies the allocated storage size in gigabytes (GB).
|
DBClusterSnapshot |
withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Provides the list of EC2 Availability Zones that instances in the DB
cluster snapshot can be restored in.
|
DBClusterSnapshot |
withAvailabilityZones(java.lang.String... availabilityZones)
Provides the list of EC2 Availability Zones that instances in the DB
cluster snapshot can be restored in.
|
DBClusterSnapshot |
withClusterCreateTime(java.util.Date clusterCreateTime)
Specifies the time when the DB cluster was created, in Universal
Coordinated Time (UTC).
|
DBClusterSnapshot |
withDBClusterIdentifier(java.lang.String dBClusterIdentifier)
Specifies the DB cluster identifier of the DB cluster that this DB
cluster snapshot was created from.
|
DBClusterSnapshot |
withDBClusterSnapshotIdentifier(java.lang.String dBClusterSnapshotIdentifier)
Specifies the identifier for the DB cluster snapshot.
|
DBClusterSnapshot |
withEngine(java.lang.String engine)
Specifies the name of the database engine.
|
DBClusterSnapshot |
withEngineVersion(java.lang.String engineVersion)
Provides the version of the database engine for this DB cluster snapshot.
|
DBClusterSnapshot |
withKmsKeyId(java.lang.String kmsKeyId)
If
StorageEncrypted is true, the KMS key identifier for the
encrypted DB cluster snapshot. |
DBClusterSnapshot |
withLicenseModel(java.lang.String licenseModel)
Provides the license model information for this DB cluster snapshot.
|
DBClusterSnapshot |
withMasterUsername(java.lang.String masterUsername)
Provides the master username for the DB cluster snapshot.
|
DBClusterSnapshot |
withPercentProgress(java.lang.Integer percentProgress)
Specifies the percentage of the estimated data that has been transferred.
|
DBClusterSnapshot |
withPort(java.lang.Integer port)
Specifies the port that the DB cluster was listening on at the time of
the snapshot.
|
DBClusterSnapshot |
withSnapshotCreateTime(java.util.Date snapshotCreateTime)
Provides the time when the snapshot was taken, in Universal Coordinated
Time (UTC).
|
DBClusterSnapshot |
withSnapshotType(java.lang.String snapshotType)
Provides the type of the DB cluster snapshot.
|
DBClusterSnapshot |
withStatus(java.lang.String status)
Specifies the status of this DB cluster snapshot.
|
DBClusterSnapshot |
withStorageEncrypted(java.lang.Boolean storageEncrypted)
Specifies whether the DB cluster snapshot is encrypted.
|
DBClusterSnapshot |
withVpcId(java.lang.String vpcId)
Provides the VPC ID associated with the DB cluster snapshot.
|
private SdkInternalList<java.lang.String> availabilityZones
Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
private java.lang.String dBClusterSnapshotIdentifier
Specifies the identifier for the DB cluster snapshot.
private java.lang.String dBClusterIdentifier
Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.
private java.util.Date snapshotCreateTime
Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).
private java.lang.String engine
Specifies the name of the database engine.
private java.lang.Integer allocatedStorage
Specifies the allocated storage size in gigabytes (GB).
private java.lang.String status
Specifies the status of this DB cluster snapshot.
private java.lang.Integer port
Specifies the port that the DB cluster was listening on at the time of the snapshot.
private java.lang.String vpcId
Provides the VPC ID associated with the DB cluster snapshot.
private java.util.Date clusterCreateTime
Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
private java.lang.String masterUsername
Provides the master username for the DB cluster snapshot.
private java.lang.String engineVersion
Provides the version of the database engine for this DB cluster snapshot.
private java.lang.String licenseModel
Provides the license model information for this DB cluster snapshot.
private java.lang.String snapshotType
Provides the type of the DB cluster snapshot.
private java.lang.Integer percentProgress
Specifies the percentage of the estimated data that has been transferred.
private java.lang.Boolean storageEncrypted
Specifies whether the DB cluster snapshot is encrypted.
private java.lang.String kmsKeyId
If StorageEncrypted
is true, the KMS key identifier for the
encrypted DB cluster snapshot.
public java.util.List<java.lang.String> getAvailabilityZones()
Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
public void setAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
availabilityZones
- Provides the list of EC2 Availability Zones that instances in the
DB cluster snapshot can be restored in.public DBClusterSnapshot withAvailabilityZones(java.lang.String... availabilityZones)
Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
NOTE: This method appends the values to the existing list (if
any). Use setAvailabilityZones(java.util.Collection)
or
withAvailabilityZones(java.util.Collection)
if you want to
override the existing values.
availabilityZones
- Provides the list of EC2 Availability Zones that instances in the
DB cluster snapshot can be restored in.public DBClusterSnapshot withAvailabilityZones(java.util.Collection<java.lang.String> availabilityZones)
Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
availabilityZones
- Provides the list of EC2 Availability Zones that instances in the
DB cluster snapshot can be restored in.public void setDBClusterSnapshotIdentifier(java.lang.String dBClusterSnapshotIdentifier)
Specifies the identifier for the DB cluster snapshot.
dBClusterSnapshotIdentifier
- Specifies the identifier for the DB cluster snapshot.public java.lang.String getDBClusterSnapshotIdentifier()
Specifies the identifier for the DB cluster snapshot.
public DBClusterSnapshot withDBClusterSnapshotIdentifier(java.lang.String dBClusterSnapshotIdentifier)
Specifies the identifier for the DB cluster snapshot.
dBClusterSnapshotIdentifier
- Specifies the identifier for the DB cluster snapshot.public void setDBClusterIdentifier(java.lang.String dBClusterIdentifier)
Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.
dBClusterIdentifier
- Specifies the DB cluster identifier of the DB cluster that this DB
cluster snapshot was created from.public java.lang.String getDBClusterIdentifier()
Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.
public DBClusterSnapshot withDBClusterIdentifier(java.lang.String dBClusterIdentifier)
Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.
dBClusterIdentifier
- Specifies the DB cluster identifier of the DB cluster that this DB
cluster snapshot was created from.public void setSnapshotCreateTime(java.util.Date snapshotCreateTime)
Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).
snapshotCreateTime
- Provides the time when the snapshot was taken, in Universal
Coordinated Time (UTC).public java.util.Date getSnapshotCreateTime()
Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).
public DBClusterSnapshot withSnapshotCreateTime(java.util.Date snapshotCreateTime)
Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).
snapshotCreateTime
- Provides the time when the snapshot was taken, in Universal
Coordinated Time (UTC).public void setEngine(java.lang.String engine)
Specifies the name of the database engine.
engine
- Specifies the name of the database engine.public java.lang.String getEngine()
Specifies the name of the database engine.
public DBClusterSnapshot withEngine(java.lang.String engine)
Specifies the name of the database engine.
engine
- Specifies the name of the database engine.public void setAllocatedStorage(java.lang.Integer allocatedStorage)
Specifies the allocated storage size in gigabytes (GB).
allocatedStorage
- Specifies the allocated storage size in gigabytes (GB).public java.lang.Integer getAllocatedStorage()
Specifies the allocated storage size in gigabytes (GB).
public DBClusterSnapshot withAllocatedStorage(java.lang.Integer allocatedStorage)
Specifies the allocated storage size in gigabytes (GB).
allocatedStorage
- Specifies the allocated storage size in gigabytes (GB).public void setStatus(java.lang.String status)
Specifies the status of this DB cluster snapshot.
status
- Specifies the status of this DB cluster snapshot.public java.lang.String getStatus()
Specifies the status of this DB cluster snapshot.
public DBClusterSnapshot withStatus(java.lang.String status)
Specifies the status of this DB cluster snapshot.
status
- Specifies the status of this DB cluster snapshot.public void setPort(java.lang.Integer port)
Specifies the port that the DB cluster was listening on at the time of the snapshot.
port
- Specifies the port that the DB cluster was listening on at the
time of the snapshot.public java.lang.Integer getPort()
Specifies the port that the DB cluster was listening on at the time of the snapshot.
public DBClusterSnapshot withPort(java.lang.Integer port)
Specifies the port that the DB cluster was listening on at the time of the snapshot.
port
- Specifies the port that the DB cluster was listening on at the
time of the snapshot.public void setVpcId(java.lang.String vpcId)
Provides the VPC ID associated with the DB cluster snapshot.
vpcId
- Provides the VPC ID associated with the DB cluster snapshot.public java.lang.String getVpcId()
Provides the VPC ID associated with the DB cluster snapshot.
public DBClusterSnapshot withVpcId(java.lang.String vpcId)
Provides the VPC ID associated with the DB cluster snapshot.
vpcId
- Provides the VPC ID associated with the DB cluster snapshot.public void setClusterCreateTime(java.util.Date clusterCreateTime)
Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
clusterCreateTime
- Specifies the time when the DB cluster was created, in Universal
Coordinated Time (UTC).public java.util.Date getClusterCreateTime()
Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
public DBClusterSnapshot withClusterCreateTime(java.util.Date clusterCreateTime)
Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
clusterCreateTime
- Specifies the time when the DB cluster was created, in Universal
Coordinated Time (UTC).public void setMasterUsername(java.lang.String masterUsername)
Provides the master username for the DB cluster snapshot.
masterUsername
- Provides the master username for the DB cluster snapshot.public java.lang.String getMasterUsername()
Provides the master username for the DB cluster snapshot.
public DBClusterSnapshot withMasterUsername(java.lang.String masterUsername)
Provides the master username for the DB cluster snapshot.
masterUsername
- Provides the master username for the DB cluster snapshot.public void setEngineVersion(java.lang.String engineVersion)
Provides the version of the database engine for this DB cluster snapshot.
engineVersion
- Provides the version of the database engine for this DB cluster
snapshot.public java.lang.String getEngineVersion()
Provides the version of the database engine for this DB cluster snapshot.
public DBClusterSnapshot withEngineVersion(java.lang.String engineVersion)
Provides the version of the database engine for this DB cluster snapshot.
engineVersion
- Provides the version of the database engine for this DB cluster
snapshot.public void setLicenseModel(java.lang.String licenseModel)
Provides the license model information for this DB cluster snapshot.
licenseModel
- Provides the license model information for this DB cluster
snapshot.public java.lang.String getLicenseModel()
Provides the license model information for this DB cluster snapshot.
public DBClusterSnapshot withLicenseModel(java.lang.String licenseModel)
Provides the license model information for this DB cluster snapshot.
licenseModel
- Provides the license model information for this DB cluster
snapshot.public void setSnapshotType(java.lang.String snapshotType)
Provides the type of the DB cluster snapshot.
snapshotType
- Provides the type of the DB cluster snapshot.public java.lang.String getSnapshotType()
Provides the type of the DB cluster snapshot.
public DBClusterSnapshot withSnapshotType(java.lang.String snapshotType)
Provides the type of the DB cluster snapshot.
snapshotType
- Provides the type of the DB cluster snapshot.public void setPercentProgress(java.lang.Integer percentProgress)
Specifies the percentage of the estimated data that has been transferred.
percentProgress
- Specifies the percentage of the estimated data that has been
transferred.public java.lang.Integer getPercentProgress()
Specifies the percentage of the estimated data that has been transferred.
public DBClusterSnapshot withPercentProgress(java.lang.Integer percentProgress)
Specifies the percentage of the estimated data that has been transferred.
percentProgress
- Specifies the percentage of the estimated data that has been
transferred.public void setStorageEncrypted(java.lang.Boolean storageEncrypted)
Specifies whether the DB cluster snapshot is encrypted.
storageEncrypted
- Specifies whether the DB cluster snapshot is encrypted.public java.lang.Boolean getStorageEncrypted()
Specifies whether the DB cluster snapshot is encrypted.
public DBClusterSnapshot withStorageEncrypted(java.lang.Boolean storageEncrypted)
Specifies whether the DB cluster snapshot is encrypted.
storageEncrypted
- Specifies whether the DB cluster snapshot is encrypted.public java.lang.Boolean isStorageEncrypted()
Specifies whether the DB cluster snapshot is encrypted.
public void setKmsKeyId(java.lang.String kmsKeyId)
If StorageEncrypted
is true, the KMS key identifier for the
encrypted DB cluster snapshot.
kmsKeyId
- If StorageEncrypted
is true, the KMS key identifier
for the encrypted DB cluster snapshot.public java.lang.String getKmsKeyId()
If StorageEncrypted
is true, the KMS key identifier for the
encrypted DB cluster snapshot.
StorageEncrypted
is true, the KMS key identifier
for the encrypted DB cluster snapshot.public DBClusterSnapshot withKmsKeyId(java.lang.String kmsKeyId)
If StorageEncrypted
is true, the KMS key identifier for the
encrypted DB cluster snapshot.
kmsKeyId
- If StorageEncrypted
is true, the KMS key identifier
for the encrypted DB cluster snapshot.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DBClusterSnapshot clone()
clone
in class java.lang.Object