Class DBClusterSnapshot
- All Implemented Interfaces:
Serializable
,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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Specifies the allocated storage size in gigabytes (GB).Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.Specifies the identifier for the DB cluster snapshot.Specifies the name of the database engine.Provides the version of the database engine for this DB cluster snapshot.IfStorageEncrypted
is true, the KMS key identifier for the encrypted DB cluster snapshot.Provides the license model information for this DB cluster snapshot.Provides the master username for the DB cluster snapshot.Specifies the percentage of the estimated data that has been transferred.getPort()
Specifies the port that the DB cluster was listening on at the time of the snapshot.Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).Provides the type of the DB cluster snapshot.Specifies the status of this DB cluster snapshot.Specifies whether the DB cluster snapshot is encrypted.getVpcId()
Provides the VPC ID associated with the DB cluster snapshot.int
hashCode()
Specifies whether the DB cluster snapshot is encrypted.void
setAllocatedStorage
(Integer allocatedStorage) Specifies the allocated storage size in gigabytes (GB).void
setAvailabilityZones
(Collection<String> availabilityZones) Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.void
setClusterCreateTime
(Date clusterCreateTime) Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).void
setDBClusterIdentifier
(String dBClusterIdentifier) Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.void
setDBClusterSnapshotIdentifier
(String dBClusterSnapshotIdentifier) Specifies the identifier for the DB cluster snapshot.void
Specifies the name of the database engine.void
setEngineVersion
(String engineVersion) Provides the version of the database engine for this DB cluster snapshot.void
setKmsKeyId
(String kmsKeyId) IfStorageEncrypted
is true, the KMS key identifier for the encrypted DB cluster snapshot.void
setLicenseModel
(String licenseModel) Provides the license model information for this DB cluster snapshot.void
setMasterUsername
(String masterUsername) Provides the master username for the DB cluster snapshot.void
setPercentProgress
(Integer percentProgress) Specifies the percentage of the estimated data that has been transferred.void
Specifies the port that the DB cluster was listening on at the time of the snapshot.void
setSnapshotCreateTime
(Date snapshotCreateTime) Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).void
setSnapshotType
(String snapshotType) Provides the type of the DB cluster snapshot.void
Specifies the status of this DB cluster snapshot.void
setStorageEncrypted
(Boolean storageEncrypted) Specifies whether the DB cluster snapshot is encrypted.void
Provides the VPC ID associated with the DB cluster snapshot.toString()
Returns a string representation of this object; useful for testing and debugging.withAllocatedStorage
(Integer allocatedStorage) Specifies the allocated storage size in gigabytes (GB).withAvailabilityZones
(String... availabilityZones) Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.withAvailabilityZones
(Collection<String> availabilityZones) Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.withClusterCreateTime
(Date clusterCreateTime) Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).withDBClusterIdentifier
(String dBClusterIdentifier) Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.withDBClusterSnapshotIdentifier
(String dBClusterSnapshotIdentifier) Specifies the identifier for the DB cluster snapshot.withEngine
(String engine) Specifies the name of the database engine.withEngineVersion
(String engineVersion) Provides the version of the database engine for this DB cluster snapshot.withKmsKeyId
(String kmsKeyId) IfStorageEncrypted
is true, the KMS key identifier for the encrypted DB cluster snapshot.withLicenseModel
(String licenseModel) Provides the license model information for this DB cluster snapshot.withMasterUsername
(String masterUsername) Provides the master username for the DB cluster snapshot.withPercentProgress
(Integer percentProgress) Specifies the percentage of the estimated data that has been transferred.Specifies the port that the DB cluster was listening on at the time of the snapshot.withSnapshotCreateTime
(Date snapshotCreateTime) Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).withSnapshotType
(String snapshotType) Provides the type of the DB cluster snapshot.withStatus
(String status) Specifies the status of this DB cluster snapshot.withStorageEncrypted
(Boolean storageEncrypted) Specifies whether the DB cluster snapshot is encrypted.Provides the VPC ID associated with the DB cluster snapshot.
-
Constructor Details
-
DBClusterSnapshot
public DBClusterSnapshot()
-
-
Method Details
-
getAvailabilityZones
Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
- Returns:
- Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
-
setAvailabilityZones
Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
- Parameters:
availabilityZones
- Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
-
withAvailabilityZones
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)
orwithAvailabilityZones(java.util.Collection)
if you want to override the existing values.- Parameters:
availabilityZones
- Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAvailabilityZones
Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
- Parameters:
availabilityZones
- Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDBClusterSnapshotIdentifier
Specifies the identifier for the DB cluster snapshot.
- Parameters:
dBClusterSnapshotIdentifier
- Specifies the identifier for the DB cluster snapshot.
-
getDBClusterSnapshotIdentifier
Specifies the identifier for the DB cluster snapshot.
- Returns:
- Specifies the identifier for the DB cluster snapshot.
-
withDBClusterSnapshotIdentifier
Specifies the identifier for the DB cluster snapshot.
- Parameters:
dBClusterSnapshotIdentifier
- Specifies the identifier for the DB cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDBClusterIdentifier
Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.
- Parameters:
dBClusterIdentifier
- Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.
-
getDBClusterIdentifier
Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.
- Returns:
- Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.
-
withDBClusterIdentifier
Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.
- Parameters:
dBClusterIdentifier
- Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnapshotCreateTime
Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).
- Parameters:
snapshotCreateTime
- Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).
-
getSnapshotCreateTime
Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).
- Returns:
- Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).
-
withSnapshotCreateTime
Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).
- Parameters:
snapshotCreateTime
- Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEngine
Specifies the name of the database engine.
- Parameters:
engine
- Specifies the name of the database engine.
-
getEngine
Specifies the name of the database engine.
- Returns:
- Specifies the name of the database engine.
-
withEngine
Specifies the name of the database engine.
- Parameters:
engine
- Specifies the name of the database engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAllocatedStorage
Specifies the allocated storage size in gigabytes (GB).
- Parameters:
allocatedStorage
- Specifies the allocated storage size in gigabytes (GB).
-
getAllocatedStorage
Specifies the allocated storage size in gigabytes (GB).
- Returns:
- Specifies the allocated storage size in gigabytes (GB).
-
withAllocatedStorage
Specifies the allocated storage size in gigabytes (GB).
- Parameters:
allocatedStorage
- Specifies the allocated storage size in gigabytes (GB).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
Specifies the status of this DB cluster snapshot.
- Parameters:
status
- Specifies the status of this DB cluster snapshot.
-
getStatus
Specifies the status of this DB cluster snapshot.
- Returns:
- Specifies the status of this DB cluster snapshot.
-
withStatus
Specifies the status of this DB cluster snapshot.
- Parameters:
status
- Specifies the status of this DB cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPort
Specifies the port that the DB cluster was listening on at the time of the snapshot.
- Parameters:
port
- Specifies the port that the DB cluster was listening on at the time of the snapshot.
-
getPort
Specifies the port that the DB cluster was listening on at the time of the snapshot.
- Returns:
- Specifies the port that the DB cluster was listening on at the time of the snapshot.
-
withPort
Specifies the port that the DB cluster was listening on at the time of the snapshot.
- Parameters:
port
- Specifies the port that the DB cluster was listening on at the time of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVpcId
Provides the VPC ID associated with the DB cluster snapshot.
- Parameters:
vpcId
- Provides the VPC ID associated with the DB cluster snapshot.
-
getVpcId
Provides the VPC ID associated with the DB cluster snapshot.
- Returns:
- Provides the VPC ID associated with the DB cluster snapshot.
-
withVpcId
Provides the VPC ID associated with the DB cluster snapshot.
- Parameters:
vpcId
- Provides the VPC ID associated with the DB cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClusterCreateTime
Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
- Parameters:
clusterCreateTime
- Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
-
getClusterCreateTime
Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
- Returns:
- Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
-
withClusterCreateTime
Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
- Parameters:
clusterCreateTime
- Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMasterUsername
Provides the master username for the DB cluster snapshot.
- Parameters:
masterUsername
- Provides the master username for the DB cluster snapshot.
-
getMasterUsername
Provides the master username for the DB cluster snapshot.
- Returns:
- Provides the master username for the DB cluster snapshot.
-
withMasterUsername
Provides the master username for the DB cluster snapshot.
- Parameters:
masterUsername
- Provides the master username for the DB cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEngineVersion
Provides the version of the database engine for this DB cluster snapshot.
- Parameters:
engineVersion
- Provides the version of the database engine for this DB cluster snapshot.
-
getEngineVersion
Provides the version of the database engine for this DB cluster snapshot.
- Returns:
- Provides the version of the database engine for this DB cluster snapshot.
-
withEngineVersion
Provides the version of the database engine for this DB cluster snapshot.
- Parameters:
engineVersion
- Provides the version of the database engine for this DB cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLicenseModel
Provides the license model information for this DB cluster snapshot.
- Parameters:
licenseModel
- Provides the license model information for this DB cluster snapshot.
-
getLicenseModel
Provides the license model information for this DB cluster snapshot.
- Returns:
- Provides the license model information for this DB cluster snapshot.
-
withLicenseModel
Provides the license model information for this DB cluster snapshot.
- Parameters:
licenseModel
- Provides the license model information for this DB cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnapshotType
Provides the type of the DB cluster snapshot.
- Parameters:
snapshotType
- Provides the type of the DB cluster snapshot.
-
getSnapshotType
Provides the type of the DB cluster snapshot.
- Returns:
- Provides the type of the DB cluster snapshot.
-
withSnapshotType
Provides the type of the DB cluster snapshot.
- Parameters:
snapshotType
- Provides the type of the DB cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPercentProgress
Specifies the percentage of the estimated data that has been transferred.
- Parameters:
percentProgress
- Specifies the percentage of the estimated data that has been transferred.
-
getPercentProgress
Specifies the percentage of the estimated data that has been transferred.
- Returns:
- Specifies the percentage of the estimated data that has been transferred.
-
withPercentProgress
Specifies the percentage of the estimated data that has been transferred.
- Parameters:
percentProgress
- Specifies the percentage of the estimated data that has been transferred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStorageEncrypted
Specifies whether the DB cluster snapshot is encrypted.
- Parameters:
storageEncrypted
- Specifies whether the DB cluster snapshot is encrypted.
-
getStorageEncrypted
Specifies whether the DB cluster snapshot is encrypted.
- Returns:
- Specifies whether the DB cluster snapshot is encrypted.
-
withStorageEncrypted
Specifies whether the DB cluster snapshot is encrypted.
- Parameters:
storageEncrypted
- Specifies whether the DB cluster snapshot is encrypted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isStorageEncrypted
Specifies whether the DB cluster snapshot is encrypted.
- Returns:
- Specifies whether the DB cluster snapshot is encrypted.
-
setKmsKeyId
If
StorageEncrypted
is true, the KMS key identifier for the encrypted DB cluster snapshot.- Parameters:
kmsKeyId
- IfStorageEncrypted
is true, the KMS key identifier for the encrypted DB cluster snapshot.
-
getKmsKeyId
If
StorageEncrypted
is true, the KMS key identifier for the encrypted DB cluster snapshot.- Returns:
- If
StorageEncrypted
is true, the KMS key identifier for the encrypted DB cluster snapshot.
-
withKmsKeyId
If
StorageEncrypted
is true, the KMS key identifier for the encrypted DB cluster snapshot.- Parameters:
kmsKeyId
- IfStorageEncrypted
is true, the KMS key identifier for the encrypted DB cluster snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-