@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterSnapshot extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about a specific elastic cluster snapshot.
Constructor and Description |
---|
ClusterSnapshot() |
Modifier and Type | Method and Description |
---|---|
ClusterSnapshot |
clone() |
boolean |
equals(Object obj) |
String |
getAdminUserName()
The name of the elastic cluster administrator.
|
String |
getClusterArn()
The ARN identifier of the elastic cluster.
|
String |
getClusterCreationTime()
The time when the elastic cluster was created in Universal Coordinated Time (UTC).
|
String |
getKmsKeyId()
The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key.
|
String |
getSnapshotArn()
The ARN identifier of the elastic cluster snapshot.
|
String |
getSnapshotCreationTime()
The time when the elastic cluster snapshot was created in Universal Coordinated Time (UTC).
|
String |
getSnapshotName()
The name of the elastic cluster snapshot.
|
String |
getSnapshotType()
The type of cluster snapshots to be returned.
|
String |
getStatus()
The status of the elastic cluster snapshot.
|
List<String> |
getSubnetIds()
The Amazon EC2 subnet IDs for the elastic cluster.
|
List<String> |
getVpcSecurityGroupIds()
A list of EC2 VPC security groups to associate with the elastic cluster.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdminUserName(String adminUserName)
The name of the elastic cluster administrator.
|
void |
setClusterArn(String clusterArn)
The ARN identifier of the elastic cluster.
|
void |
setClusterCreationTime(String clusterCreationTime)
The time when the elastic cluster was created in Universal Coordinated Time (UTC).
|
void |
setKmsKeyId(String kmsKeyId)
The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key.
|
void |
setSnapshotArn(String snapshotArn)
The ARN identifier of the elastic cluster snapshot.
|
void |
setSnapshotCreationTime(String snapshotCreationTime)
The time when the elastic cluster snapshot was created in Universal Coordinated Time (UTC).
|
void |
setSnapshotName(String snapshotName)
The name of the elastic cluster snapshot.
|
void |
setSnapshotType(String snapshotType)
The type of cluster snapshots to be returned.
|
void |
setStatus(String status)
The status of the elastic cluster snapshot.
|
void |
setSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the elastic cluster.
|
void |
setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the elastic cluster.
|
String |
toString()
Returns a string representation of this object.
|
ClusterSnapshot |
withAdminUserName(String adminUserName)
The name of the elastic cluster administrator.
|
ClusterSnapshot |
withClusterArn(String clusterArn)
The ARN identifier of the elastic cluster.
|
ClusterSnapshot |
withClusterCreationTime(String clusterCreationTime)
The time when the elastic cluster was created in Universal Coordinated Time (UTC).
|
ClusterSnapshot |
withKmsKeyId(String kmsKeyId)
The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key.
|
ClusterSnapshot |
withSnapshotArn(String snapshotArn)
The ARN identifier of the elastic cluster snapshot.
|
ClusterSnapshot |
withSnapshotCreationTime(String snapshotCreationTime)
The time when the elastic cluster snapshot was created in Universal Coordinated Time (UTC).
|
ClusterSnapshot |
withSnapshotName(String snapshotName)
The name of the elastic cluster snapshot.
|
ClusterSnapshot |
withSnapshotType(SnapshotType snapshotType)
The type of cluster snapshots to be returned.
|
ClusterSnapshot |
withSnapshotType(String snapshotType)
The type of cluster snapshots to be returned.
|
ClusterSnapshot |
withStatus(Status status)
The status of the elastic cluster snapshot.
|
ClusterSnapshot |
withStatus(String status)
The status of the elastic cluster snapshot.
|
ClusterSnapshot |
withSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the elastic cluster.
|
ClusterSnapshot |
withSubnetIds(String... subnetIds)
The Amazon EC2 subnet IDs for the elastic cluster.
|
ClusterSnapshot |
withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the elastic cluster.
|
ClusterSnapshot |
withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the elastic cluster.
|
public void setAdminUserName(String adminUserName)
The name of the elastic cluster administrator.
adminUserName
- The name of the elastic cluster administrator.public String getAdminUserName()
The name of the elastic cluster administrator.
public ClusterSnapshot withAdminUserName(String adminUserName)
The name of the elastic cluster administrator.
adminUserName
- The name of the elastic cluster administrator.public void setClusterArn(String clusterArn)
The ARN identifier of the elastic cluster.
clusterArn
- The ARN identifier of the elastic cluster.public String getClusterArn()
The ARN identifier of the elastic cluster.
public ClusterSnapshot withClusterArn(String clusterArn)
The ARN identifier of the elastic cluster.
clusterArn
- The ARN identifier of the elastic cluster.public void setClusterCreationTime(String clusterCreationTime)
The time when the elastic cluster was created in Universal Coordinated Time (UTC).
clusterCreationTime
- The time when the elastic cluster was created in Universal Coordinated Time (UTC).public String getClusterCreationTime()
The time when the elastic cluster was created in Universal Coordinated Time (UTC).
public ClusterSnapshot withClusterCreationTime(String clusterCreationTime)
The time when the elastic cluster was created in Universal Coordinated Time (UTC).
clusterCreationTime
- The time when the elastic cluster was created in Universal Coordinated Time (UTC).public void setKmsKeyId(String kmsKeyId)
The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a cluster using the same Amazon account that owns this KMS encryption key, you can use the KMS key alias instead of the ARN as the KMS encryption key. If an encryption key is not specified here, Amazon DocumentDB uses the default encryption key that KMS creates for your account. Your account has a different default encryption key for each Amazon Region.
kmsKeyId
- The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a
cluster using the same Amazon account that owns this KMS encryption key, you can use the KMS key alias
instead of the ARN as the KMS encryption key. If an encryption key is not specified here, Amazon
DocumentDB uses the default encryption key that KMS creates for your account. Your account has a different
default encryption key for each Amazon Region.public String getKmsKeyId()
The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a cluster using the same Amazon account that owns this KMS encryption key, you can use the KMS key alias instead of the ARN as the KMS encryption key. If an encryption key is not specified here, Amazon DocumentDB uses the default encryption key that KMS creates for your account. Your account has a different default encryption key for each Amazon Region.
public ClusterSnapshot withKmsKeyId(String kmsKeyId)
The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a cluster using the same Amazon account that owns this KMS encryption key, you can use the KMS key alias instead of the ARN as the KMS encryption key. If an encryption key is not specified here, Amazon DocumentDB uses the default encryption key that KMS creates for your account. Your account has a different default encryption key for each Amazon Region.
kmsKeyId
- The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a
cluster using the same Amazon account that owns this KMS encryption key, you can use the KMS key alias
instead of the ARN as the KMS encryption key. If an encryption key is not specified here, Amazon
DocumentDB uses the default encryption key that KMS creates for your account. Your account has a different
default encryption key for each Amazon Region.public void setSnapshotArn(String snapshotArn)
The ARN identifier of the elastic cluster snapshot.
snapshotArn
- The ARN identifier of the elastic cluster snapshot.public String getSnapshotArn()
The ARN identifier of the elastic cluster snapshot.
public ClusterSnapshot withSnapshotArn(String snapshotArn)
The ARN identifier of the elastic cluster snapshot.
snapshotArn
- The ARN identifier of the elastic cluster snapshot.public void setSnapshotCreationTime(String snapshotCreationTime)
The time when the elastic cluster snapshot was created in Universal Coordinated Time (UTC).
snapshotCreationTime
- The time when the elastic cluster snapshot was created in Universal Coordinated Time (UTC).public String getSnapshotCreationTime()
The time when the elastic cluster snapshot was created in Universal Coordinated Time (UTC).
public ClusterSnapshot withSnapshotCreationTime(String snapshotCreationTime)
The time when the elastic cluster snapshot was created in Universal Coordinated Time (UTC).
snapshotCreationTime
- The time when the elastic cluster snapshot was created in Universal Coordinated Time (UTC).public void setSnapshotName(String snapshotName)
The name of the elastic cluster snapshot.
snapshotName
- The name of the elastic cluster snapshot.public String getSnapshotName()
The name of the elastic cluster snapshot.
public ClusterSnapshot withSnapshotName(String snapshotName)
The name of the elastic cluster snapshot.
snapshotName
- The name of the elastic cluster snapshot.public void setSnapshotType(String snapshotType)
The type of cluster snapshots to be returned. You can specify one of the following values:
automated
- Return all cluster snapshots that Amazon DocumentDB has automatically created for your
Amazon Web Services account.
manual
- Return all cluster snapshots that you have manually created for your Amazon Web Services
account.
snapshotType
- The type of cluster snapshots to be returned. You can specify one of the following values:
automated
- Return all cluster snapshots that Amazon DocumentDB has automatically created for
your Amazon Web Services account.
manual
- Return all cluster snapshots that you have manually created for your Amazon Web
Services account.
SnapshotType
public String getSnapshotType()
The type of cluster snapshots to be returned. You can specify one of the following values:
automated
- Return all cluster snapshots that Amazon DocumentDB has automatically created for your
Amazon Web Services account.
manual
- Return all cluster snapshots that you have manually created for your Amazon Web Services
account.
automated
- Return all cluster snapshots that Amazon DocumentDB has automatically created
for your Amazon Web Services account.
manual
- Return all cluster snapshots that you have manually created for your Amazon Web
Services account.
SnapshotType
public ClusterSnapshot withSnapshotType(String snapshotType)
The type of cluster snapshots to be returned. You can specify one of the following values:
automated
- Return all cluster snapshots that Amazon DocumentDB has automatically created for your
Amazon Web Services account.
manual
- Return all cluster snapshots that you have manually created for your Amazon Web Services
account.
snapshotType
- The type of cluster snapshots to be returned. You can specify one of the following values:
automated
- Return all cluster snapshots that Amazon DocumentDB has automatically created for
your Amazon Web Services account.
manual
- Return all cluster snapshots that you have manually created for your Amazon Web
Services account.
SnapshotType
public ClusterSnapshot withSnapshotType(SnapshotType snapshotType)
The type of cluster snapshots to be returned. You can specify one of the following values:
automated
- Return all cluster snapshots that Amazon DocumentDB has automatically created for your
Amazon Web Services account.
manual
- Return all cluster snapshots that you have manually created for your Amazon Web Services
account.
snapshotType
- The type of cluster snapshots to be returned. You can specify one of the following values:
automated
- Return all cluster snapshots that Amazon DocumentDB has automatically created for
your Amazon Web Services account.
manual
- Return all cluster snapshots that you have manually created for your Amazon Web
Services account.
SnapshotType
public void setStatus(String status)
The status of the elastic cluster snapshot.
status
- The status of the elastic cluster snapshot.Status
public String getStatus()
The status of the elastic cluster snapshot.
Status
public ClusterSnapshot withStatus(String status)
The status of the elastic cluster snapshot.
status
- The status of the elastic cluster snapshot.Status
public ClusterSnapshot withStatus(Status status)
The status of the elastic cluster snapshot.
status
- The status of the elastic cluster snapshot.Status
public List<String> getSubnetIds()
The Amazon EC2 subnet IDs for the elastic cluster.
public void setSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the elastic cluster.
subnetIds
- The Amazon EC2 subnet IDs for the elastic cluster.public ClusterSnapshot withSubnetIds(String... subnetIds)
The Amazon EC2 subnet IDs for the elastic cluster.
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
- The Amazon EC2 subnet IDs for the elastic cluster.public ClusterSnapshot withSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the elastic cluster.
subnetIds
- The Amazon EC2 subnet IDs for the elastic cluster.public List<String> getVpcSecurityGroupIds()
A list of EC2 VPC security groups to associate with the elastic cluster.
public void setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the elastic cluster.
vpcSecurityGroupIds
- A list of EC2 VPC security groups to associate with the elastic cluster.public ClusterSnapshot withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the elastic cluster.
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 EC2 VPC security groups to associate with the elastic cluster.public ClusterSnapshot withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the elastic cluster.
vpcSecurityGroupIds
- A list of EC2 VPC security groups to associate with the elastic cluster.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.