@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterSnapshot extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about a specific Elastic DocumentDB snapshot.
Constructor and Description |
---|
ClusterSnapshot() |
Modifier and Type | Method and Description |
---|---|
ClusterSnapshot |
clone() |
boolean |
equals(Object obj) |
String |
getAdminUserName()
The name of the Elastic DocumentDB cluster administrator.
|
String |
getClusterArn()
The arn of the Elastic DocumentDB cluster.
|
String |
getClusterCreationTime()
The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).
|
String |
getKmsKeyId()
The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
|
String |
getSnapshotArn()
The arn of the Elastic DocumentDB snapshot
|
String |
getSnapshotCreationTime()
The time when the Elastic DocumentDB snapshot was created in Universal Coordinated Time (UTC).
|
String |
getSnapshotName()
The name of the Elastic DocumentDB snapshot.
|
String |
getStatus()
The status of the Elastic DocumentDB snapshot.
|
List<String> |
getSubnetIds()
A list of the IDs of subnets associated with the DB cluster snapshot.
|
List<String> |
getVpcSecurityGroupIds()
A list of the IDs of the VPC security groups associated with the cluster snapshot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdminUserName(String adminUserName)
The name of the Elastic DocumentDB cluster administrator.
|
void |
setClusterArn(String clusterArn)
The arn of the Elastic DocumentDB cluster.
|
void |
setClusterCreationTime(String clusterCreationTime)
The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).
|
void |
setKmsKeyId(String kmsKeyId)
The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
|
void |
setSnapshotArn(String snapshotArn)
The arn of the Elastic DocumentDB snapshot
|
void |
setSnapshotCreationTime(String snapshotCreationTime)
The time when the Elastic DocumentDB snapshot was created in Universal Coordinated Time (UTC).
|
void |
setSnapshotName(String snapshotName)
The name of the Elastic DocumentDB snapshot.
|
void |
setStatus(String status)
The status of the Elastic DocumentDB snapshot.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of the IDs of subnets associated with the DB cluster snapshot.
|
void |
setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of the IDs of the VPC security groups associated with the cluster snapshot.
|
String |
toString()
Returns a string representation of this object.
|
ClusterSnapshot |
withAdminUserName(String adminUserName)
The name of the Elastic DocumentDB cluster administrator.
|
ClusterSnapshot |
withClusterArn(String clusterArn)
The arn of the Elastic DocumentDB cluster.
|
ClusterSnapshot |
withClusterCreationTime(String clusterCreationTime)
The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).
|
ClusterSnapshot |
withKmsKeyId(String kmsKeyId)
The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
|
ClusterSnapshot |
withSnapshotArn(String snapshotArn)
The arn of the Elastic DocumentDB snapshot
|
ClusterSnapshot |
withSnapshotCreationTime(String snapshotCreationTime)
The time when the Elastic DocumentDB snapshot was created in Universal Coordinated Time (UTC).
|
ClusterSnapshot |
withSnapshotName(String snapshotName)
The name of the Elastic DocumentDB snapshot.
|
ClusterSnapshot |
withStatus(Status status)
The status of the Elastic DocumentDB snapshot.
|
ClusterSnapshot |
withStatus(String status)
The status of the Elastic DocumentDB snapshot.
|
ClusterSnapshot |
withSubnetIds(Collection<String> subnetIds)
A list of the IDs of subnets associated with the DB cluster snapshot.
|
ClusterSnapshot |
withSubnetIds(String... subnetIds)
A list of the IDs of subnets associated with the DB cluster snapshot.
|
ClusterSnapshot |
withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of the IDs of the VPC security groups associated with the cluster snapshot.
|
ClusterSnapshot |
withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of the IDs of the VPC security groups associated with the cluster snapshot.
|
public void setAdminUserName(String adminUserName)
The name of the Elastic DocumentDB cluster administrator.
adminUserName
- The name of the Elastic DocumentDB cluster administrator.public String getAdminUserName()
The name of the Elastic DocumentDB cluster administrator.
public ClusterSnapshot withAdminUserName(String adminUserName)
The name of the Elastic DocumentDB cluster administrator.
adminUserName
- The name of the Elastic DocumentDB cluster administrator.public void setClusterArn(String clusterArn)
The arn of the Elastic DocumentDB cluster.
clusterArn
- The arn of the Elastic DocumentDB cluster.public String getClusterArn()
The arn of the Elastic DocumentDB cluster.
public ClusterSnapshot withClusterArn(String clusterArn)
The arn of the Elastic DocumentDB cluster.
clusterArn
- The arn of the Elastic DocumentDB cluster.public void setClusterCreationTime(String clusterCreationTime)
The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).
clusterCreationTime
- The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).public String getClusterCreationTime()
The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).
public ClusterSnapshot withClusterCreationTime(String clusterCreationTime)
The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).
clusterCreationTime
- The time when the Elastic DocumentDB cluster was created in Universal Coordinated Time (UTC).public void setKmsKeyId(String kmsKeyId)
The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
kmsKeyId
- The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.public String getKmsKeyId()
The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
public ClusterSnapshot withKmsKeyId(String kmsKeyId)
The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.
kmsKeyId
- The KMS key identifier to use to encrypt the Elastic DocumentDB cluster.public void setSnapshotArn(String snapshotArn)
The arn of the Elastic DocumentDB snapshot
snapshotArn
- The arn of the Elastic DocumentDB snapshotpublic String getSnapshotArn()
The arn of the Elastic DocumentDB snapshot
public ClusterSnapshot withSnapshotArn(String snapshotArn)
The arn of the Elastic DocumentDB snapshot
snapshotArn
- The arn of the Elastic DocumentDB snapshotpublic void setSnapshotCreationTime(String snapshotCreationTime)
The time when the Elastic DocumentDB snapshot was created in Universal Coordinated Time (UTC).
snapshotCreationTime
- The time when the Elastic DocumentDB snapshot was created in Universal Coordinated Time (UTC).public String getSnapshotCreationTime()
The time when the Elastic DocumentDB snapshot was created in Universal Coordinated Time (UTC).
public ClusterSnapshot withSnapshotCreationTime(String snapshotCreationTime)
The time when the Elastic DocumentDB snapshot was created in Universal Coordinated Time (UTC).
snapshotCreationTime
- The time when the Elastic DocumentDB snapshot was created in Universal Coordinated Time (UTC).public void setSnapshotName(String snapshotName)
The name of the Elastic DocumentDB snapshot.
snapshotName
- The name of the Elastic DocumentDB snapshot.public String getSnapshotName()
The name of the Elastic DocumentDB snapshot.
public ClusterSnapshot withSnapshotName(String snapshotName)
The name of the Elastic DocumentDB snapshot.
snapshotName
- The name of the Elastic DocumentDB snapshot.public void setStatus(String status)
The status of the Elastic DocumentDB snapshot.
status
- The status of the Elastic DocumentDB snapshot.Status
public String getStatus()
The status of the Elastic DocumentDB snapshot.
Status
public ClusterSnapshot withStatus(String status)
The status of the Elastic DocumentDB snapshot.
status
- The status of the Elastic DocumentDB snapshot.Status
public ClusterSnapshot withStatus(Status status)
The status of the Elastic DocumentDB snapshot.
status
- The status of the Elastic DocumentDB snapshot.Status
public List<String> getSubnetIds()
A list of the IDs of subnets associated with the DB cluster snapshot.
public void setSubnetIds(Collection<String> subnetIds)
A list of the IDs of subnets associated with the DB cluster snapshot.
subnetIds
- A list of the IDs of subnets associated with the DB cluster snapshot.public ClusterSnapshot withSubnetIds(String... subnetIds)
A list of the IDs of subnets associated with the DB cluster snapshot.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- A list of the IDs of subnets associated with the DB cluster snapshot.public ClusterSnapshot withSubnetIds(Collection<String> subnetIds)
A list of the IDs of subnets associated with the DB cluster snapshot.
subnetIds
- A list of the IDs of subnets associated with the DB cluster snapshot.public List<String> getVpcSecurityGroupIds()
A list of the IDs of the VPC security groups associated with the cluster snapshot.
public void setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of the IDs of the VPC security groups associated with the cluster snapshot.
vpcSecurityGroupIds
- A list of the IDs of the VPC security groups associated with the cluster snapshot.public ClusterSnapshot withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of the IDs of the VPC security groups associated with the cluster snapshot.
NOTE: This method appends the values to the existing list (if any). Use
setVpcSecurityGroupIds(java.util.Collection)
or withVpcSecurityGroupIds(java.util.Collection)
if you want to override the existing values.
vpcSecurityGroupIds
- A list of the IDs of the VPC security groups associated with the cluster snapshot.public ClusterSnapshot withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of the IDs of the VPC security groups associated with the cluster snapshot.
vpcSecurityGroupIds
- A list of the IDs of the VPC security groups associated with the cluster snapshot.public String toString()
toString
in class Object
Object.toString()
public ClusterSnapshot clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.