@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RestoreClusterFromSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RestoreClusterFromSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
RestoreClusterFromSnapshotRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
RestoreClusterFromSnapshotRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
RestoreClusterFromSnapshotRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClusterName()
The name of the Elastic DocumentDB cluster.
|
String |
getKmsKeyId()
The KMS key identifier to use to encrypt the new Elastic DocumentDB cluster.
|
String |
getSnapshotArn()
The arn of the Elastic DocumentDB snapshot.
|
List<String> |
getSubnetIds()
The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
|
Map<String,String> |
getTags()
A list of the tag names to be assigned to the restored DB cluster, in the form of an array of key-value pairs in
which the key is the tag name and the value is the key value.
|
List<String> |
getVpcSecurityGroupIds()
A list of EC2 VPC security groups to associate with the Elastic DocumentDB cluster.
|
int |
hashCode() |
void |
setClusterName(String clusterName)
The name of the Elastic DocumentDB cluster.
|
void |
setKmsKeyId(String kmsKeyId)
The KMS key identifier to use to encrypt the new Elastic DocumentDB cluster.
|
void |
setSnapshotArn(String snapshotArn)
The arn of the Elastic DocumentDB snapshot.
|
void |
setSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
|
void |
setTags(Map<String,String> tags)
A list of the tag names to be assigned to the restored DB cluster, in the form of an array of key-value pairs in
which the key is the tag name and the value is the key value.
|
void |
setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the Elastic DocumentDB cluster.
|
String |
toString()
Returns a string representation of this object.
|
RestoreClusterFromSnapshotRequest |
withClusterName(String clusterName)
The name of the Elastic DocumentDB cluster.
|
RestoreClusterFromSnapshotRequest |
withKmsKeyId(String kmsKeyId)
The KMS key identifier to use to encrypt the new Elastic DocumentDB cluster.
|
RestoreClusterFromSnapshotRequest |
withSnapshotArn(String snapshotArn)
The arn of the Elastic DocumentDB snapshot.
|
RestoreClusterFromSnapshotRequest |
withSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
|
RestoreClusterFromSnapshotRequest |
withSubnetIds(String... subnetIds)
The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
|
RestoreClusterFromSnapshotRequest |
withTags(Map<String,String> tags)
A list of the tag names to be assigned to the restored DB cluster, in the form of an array of key-value pairs in
which the key is the tag name and the value is the key value.
|
RestoreClusterFromSnapshotRequest |
withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the Elastic DocumentDB cluster.
|
RestoreClusterFromSnapshotRequest |
withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the Elastic DocumentDB cluster.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClusterName(String clusterName)
The name of the Elastic DocumentDB cluster.
clusterName
- The name of the Elastic DocumentDB cluster.public String getClusterName()
The name of the Elastic DocumentDB cluster.
public RestoreClusterFromSnapshotRequest withClusterName(String clusterName)
The name of the Elastic DocumentDB cluster.
clusterName
- The name of the Elastic DocumentDB cluster.public void setKmsKeyId(String kmsKeyId)
The KMS key identifier to use to encrypt the new Elastic DocumentDB cluster.
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, Elastic 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 to use to encrypt the new Elastic DocumentDB cluster.
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, Elastic 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 to use to encrypt the new Elastic DocumentDB cluster.
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, Elastic DocumentDB uses the default encryption key that KMS creates for your account. Your account has a different default encryption key for each Amazon Region.
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, Elastic 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 RestoreClusterFromSnapshotRequest withKmsKeyId(String kmsKeyId)
The KMS key identifier to use to encrypt the new Elastic DocumentDB cluster.
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, Elastic 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 to use to encrypt the new Elastic DocumentDB cluster.
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, Elastic 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 of the Elastic DocumentDB snapshot.
snapshotArn
- The arn of the Elastic DocumentDB snapshot.public String getSnapshotArn()
The arn of the Elastic DocumentDB snapshot.
public RestoreClusterFromSnapshotRequest withSnapshotArn(String snapshotArn)
The arn of the Elastic DocumentDB snapshot.
snapshotArn
- The arn of the Elastic DocumentDB snapshot.public List<String> getSubnetIds()
The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
public void setSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
subnetIds
- The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.public RestoreClusterFromSnapshotRequest withSubnetIds(String... subnetIds)
The Amazon EC2 subnet IDs for the Elastic DocumentDB 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 DocumentDB cluster.public RestoreClusterFromSnapshotRequest withSubnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
subnetIds
- The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.public Map<String,String> getTags()
A list of the tag names to be assigned to the restored DB cluster, in the form of an array of key-value pairs in which the key is the tag name and the value is the key value.
public void setTags(Map<String,String> tags)
A list of the tag names to be assigned to the restored DB cluster, in the form of an array of key-value pairs in which the key is the tag name and the value is the key value.
tags
- A list of the tag names to be assigned to the restored DB cluster, in the form of an array of key-value
pairs in which the key is the tag name and the value is the key value.public RestoreClusterFromSnapshotRequest withTags(Map<String,String> tags)
A list of the tag names to be assigned to the restored DB cluster, in the form of an array of key-value pairs in which the key is the tag name and the value is the key value.
tags
- A list of the tag names to be assigned to the restored DB cluster, in the form of an array of key-value
pairs in which the key is the tag name and the value is the key value.public RestoreClusterFromSnapshotRequest addTagsEntry(String key, String value)
public RestoreClusterFromSnapshotRequest clearTagsEntries()
public List<String> getVpcSecurityGroupIds()
A list of EC2 VPC security groups to associate with the Elastic DocumentDB cluster.
public void setVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the Elastic DocumentDB cluster.
vpcSecurityGroupIds
- A list of EC2 VPC security groups to associate with the Elastic DocumentDB cluster.public RestoreClusterFromSnapshotRequest withVpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the Elastic DocumentDB 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 DocumentDB cluster.public RestoreClusterFromSnapshotRequest withVpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the Elastic DocumentDB cluster.
vpcSecurityGroupIds
- A list of EC2 VPC security groups to associate with the Elastic DocumentDB cluster.public String toString()
toString
in class Object
Object.toString()
public RestoreClusterFromSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()