public class DBClusterSnapshot extends Object implements 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.
| Constructor and Description |
|---|
DBClusterSnapshot() |
| Modifier and Type | Method and Description |
|---|---|
DBClusterSnapshot |
clone() |
boolean |
equals(Object obj) |
Integer |
getAllocatedStorage()
Specifies the allocated storage size in gigabytes (GB).
|
List<String> |
getAvailabilityZones()
Provides the list of EC2 Availability Zones that instances in the DB
cluster snapshot can be restored in.
|
Date |
getClusterCreateTime()
Specifies the time when the DB cluster was created, in Universal
Coordinated Time (UTC).
|
String |
getDBClusterIdentifier()
Specifies the DB cluster identifier of the DB cluster that this DB
cluster snapshot was created from.
|
String |
getDBClusterSnapshotIdentifier()
Specifies the identifier for the DB cluster snapshot.
|
String |
getEngine()
Specifies the name of the database engine.
|
String |
getEngineVersion()
Provides the version of the database engine for this DB cluster
snapshot.
|
String |
getLicenseModel()
Provides the license model information for this DB cluster snapshot.
|
String |
getMasterUsername()
Provides the master username for the DB cluster snapshot.
|
Integer |
getPercentProgress()
Specifies the percentage of the estimated data that has been
transferred.
|
Integer |
getPort()
Specifies the port that the DB cluster was listening on at the time of
the snapshot.
|
Date |
getSnapshotCreateTime()
Provides the time when the snapshot was taken, in Universal
Coordinated Time (UTC).
|
String |
getSnapshotType()
Provides the type of the DB cluster snapshot.
|
String |
getStatus()
Specifies the status of this DB cluster snapshot.
|
String |
getVpcId()
Provides the VPC ID associated with the DB cluster snapshot.
|
int |
hashCode() |
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 |
setEngine(String engine)
Specifies the name of the database engine.
|
void |
setEngineVersion(String engineVersion)
Provides the version of the database engine for this 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 |
setPort(Integer port)
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 |
setStatus(String status)
Specifies the status of this DB cluster snapshot.
|
void |
setVpcId(String vpcId)
Provides the VPC ID associated with the DB cluster snapshot.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DBClusterSnapshot |
withAllocatedStorage(Integer allocatedStorage)
Specifies the allocated storage size in gigabytes (GB).
|
DBClusterSnapshot |
withAvailabilityZones(Collection<String> availabilityZones)
Provides the list of EC2 Availability Zones that instances in the DB
cluster snapshot can be restored in.
|
DBClusterSnapshot |
withAvailabilityZones(String... availabilityZones)
Provides the list of EC2 Availability Zones that instances in the DB
cluster snapshot can be restored in.
|
DBClusterSnapshot |
withClusterCreateTime(Date clusterCreateTime)
Specifies the time when the DB cluster was created, in Universal
Coordinated Time (UTC).
|
DBClusterSnapshot |
withDBClusterIdentifier(String dBClusterIdentifier)
Specifies the DB cluster identifier of the DB cluster that this DB
cluster snapshot was created from.
|
DBClusterSnapshot |
withDBClusterSnapshotIdentifier(String dBClusterSnapshotIdentifier)
Specifies the identifier for the DB cluster snapshot.
|
DBClusterSnapshot |
withEngine(String engine)
Specifies the name of the database engine.
|
DBClusterSnapshot |
withEngineVersion(String engineVersion)
Provides the version of the database engine for this DB cluster
snapshot.
|
DBClusterSnapshot |
withLicenseModel(String licenseModel)
Provides the license model information for this DB cluster snapshot.
|
DBClusterSnapshot |
withMasterUsername(String masterUsername)
Provides the master username for the DB cluster snapshot.
|
DBClusterSnapshot |
withPercentProgress(Integer percentProgress)
Specifies the percentage of the estimated data that has been
transferred.
|
DBClusterSnapshot |
withPort(Integer port)
Specifies the port that the DB cluster was listening on at the time of
the snapshot.
|
DBClusterSnapshot |
withSnapshotCreateTime(Date snapshotCreateTime)
Provides the time when the snapshot was taken, in Universal
Coordinated Time (UTC).
|
DBClusterSnapshot |
withSnapshotType(String snapshotType)
Provides the type of the DB cluster snapshot.
|
DBClusterSnapshot |
withStatus(String status)
Specifies the status of this DB cluster snapshot.
|
DBClusterSnapshot |
withVpcId(String vpcId)
Provides the VPC ID associated with the DB cluster snapshot.
|
public List<String> getAvailabilityZones()
public void setAvailabilityZones(Collection<String> availabilityZones)
availabilityZones - Provides the list of EC2 Availability Zones that instances in the DB
cluster snapshot can be restored in.public DBClusterSnapshot withAvailabilityZones(String... availabilityZones)
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.
Returns a reference to this object so that method calls can be chained together.
availabilityZones - Provides the list of EC2 Availability Zones that instances in the DB
cluster snapshot can be restored in.public DBClusterSnapshot withAvailabilityZones(Collection<String> availabilityZones)
Returns a reference to this object so that method calls can be chained together.
availabilityZones - Provides the list of EC2 Availability Zones that instances in the DB
cluster snapshot can be restored in.public String getDBClusterSnapshotIdentifier()
public void setDBClusterSnapshotIdentifier(String dBClusterSnapshotIdentifier)
dBClusterSnapshotIdentifier - Specifies the identifier for the DB cluster snapshot.public DBClusterSnapshot withDBClusterSnapshotIdentifier(String dBClusterSnapshotIdentifier)
Returns a reference to this object so that method calls can be chained together.
dBClusterSnapshotIdentifier - Specifies the identifier for the DB cluster snapshot.public String getDBClusterIdentifier()
public void setDBClusterIdentifier(String dBClusterIdentifier)
dBClusterIdentifier - Specifies the DB cluster identifier of the DB cluster that this DB
cluster snapshot was created from.public DBClusterSnapshot withDBClusterIdentifier(String dBClusterIdentifier)
Returns a reference to this object so that method calls can be chained together.
dBClusterIdentifier - Specifies the DB cluster identifier of the DB cluster that this DB
cluster snapshot was created from.public Date getSnapshotCreateTime()
public void setSnapshotCreateTime(Date snapshotCreateTime)
snapshotCreateTime - Provides the time when the snapshot was taken, in Universal
Coordinated Time (UTC).public DBClusterSnapshot withSnapshotCreateTime(Date snapshotCreateTime)
Returns a reference to this object so that method calls can be chained together.
snapshotCreateTime - Provides the time when the snapshot was taken, in Universal
Coordinated Time (UTC).public String getEngine()
public void setEngine(String engine)
engine - Specifies the name of the database engine.public DBClusterSnapshot 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 DBClusterSnapshot 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 cluster snapshot.public DBClusterSnapshot withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status - Specifies the status of this DB cluster snapshot.public Integer getPort()
public void setPort(Integer port)
port - Specifies the port that the DB cluster was listening on at the time of
the snapshot.public DBClusterSnapshot withPort(Integer port)
Returns a reference to this object so that method calls can be chained together.
port - Specifies the port that the DB cluster was listening on at the time of
the snapshot.public String getVpcId()
public void setVpcId(String vpcId)
vpcId - Provides the VPC ID associated with the DB cluster snapshot.public DBClusterSnapshot 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 cluster snapshot.public Date getClusterCreateTime()
public void setClusterCreateTime(Date clusterCreateTime)
clusterCreateTime - Specifies the time when the DB cluster was created, in Universal
Coordinated Time (UTC).public DBClusterSnapshot withClusterCreateTime(Date clusterCreateTime)
Returns a reference to this object so that method calls can be chained together.
clusterCreateTime - Specifies the time when the DB cluster was created, in Universal
Coordinated Time (UTC).public String getMasterUsername()
public void setMasterUsername(String masterUsername)
masterUsername - Provides the master username for the DB cluster snapshot.public DBClusterSnapshot 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 cluster snapshot.public String getEngineVersion()
public void setEngineVersion(String engineVersion)
engineVersion - Provides the version of the database engine for this DB cluster
snapshot.public DBClusterSnapshot withEngineVersion(String engineVersion)
Returns a reference to this object so that method calls can be chained together.
engineVersion - Provides the version of the database engine for this DB cluster
snapshot.public String getLicenseModel()
public void setLicenseModel(String licenseModel)
licenseModel - Provides the license model information for this DB cluster snapshot.public DBClusterSnapshot withLicenseModel(String licenseModel)
Returns a reference to this object so that method calls can be chained together.
licenseModel - Provides the license model information for this DB cluster snapshot.public String getSnapshotType()
public void setSnapshotType(String snapshotType)
snapshotType - Provides the type of the DB cluster snapshot.public DBClusterSnapshot withSnapshotType(String snapshotType)
Returns a reference to this object so that method calls can be chained together.
snapshotType - Provides the type of the DB cluster snapshot.public Integer getPercentProgress()
public void setPercentProgress(Integer percentProgress)
percentProgress - Specifies the percentage of the estimated data that has been
transferred.public DBClusterSnapshot withPercentProgress(Integer percentProgress)
Returns a reference to this object so that method calls can be chained together.
percentProgress - Specifies the percentage of the estimated data that has been
transferred.public String toString()
toString in class ObjectObject.toString()public DBClusterSnapshot clone()
Copyright © 2015. All rights reserved.