Interface RestoreClusterFromSnapshotRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RestoreClusterFromSnapshotRequest.Builder,RestoreClusterFromSnapshotRequest>,DocDbElasticRequest.Builder,SdkBuilder<RestoreClusterFromSnapshotRequest.Builder,RestoreClusterFromSnapshotRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- RestoreClusterFromSnapshotRequest
public static interface RestoreClusterFromSnapshotRequest.Builder extends DocDbElasticRequest.Builder, SdkPojo, CopyableBuilder<RestoreClusterFromSnapshotRequest.Builder,RestoreClusterFromSnapshotRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RestoreClusterFromSnapshotRequest.BuilderclusterName(String clusterName)The name of the Elastic DocumentDB cluster.RestoreClusterFromSnapshotRequest.BuilderkmsKeyId(String kmsKeyId)The KMS key identifier to use to encrypt the new Elastic DocumentDB cluster.RestoreClusterFromSnapshotRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RestoreClusterFromSnapshotRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)RestoreClusterFromSnapshotRequest.BuildersnapshotArn(String snapshotArn)The arn of the Elastic DocumentDB snapshot.RestoreClusterFromSnapshotRequest.BuildersubnetIds(String... subnetIds)The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.RestoreClusterFromSnapshotRequest.BuildersubnetIds(Collection<String> subnetIds)The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.RestoreClusterFromSnapshotRequest.Buildertags(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.BuildervpcSecurityGroupIds(String... vpcSecurityGroupIds)A list of EC2 VPC security groups to associate with the Elastic DocumentDB cluster.RestoreClusterFromSnapshotRequest.BuildervpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)A list of EC2 VPC security groups to associate with the Elastic DocumentDB cluster.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.docdbelastic.model.DocDbElasticRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
clusterName
RestoreClusterFromSnapshotRequest.Builder clusterName(String clusterName)
The name of the Elastic DocumentDB cluster.
- Parameters:
clusterName- The name of the Elastic DocumentDB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
RestoreClusterFromSnapshotRequest.Builder kmsKeyId(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotArn
RestoreClusterFromSnapshotRequest.Builder snapshotArn(String snapshotArn)
The arn of the Elastic DocumentDB snapshot.
- Parameters:
snapshotArn- The arn of the Elastic DocumentDB snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
RestoreClusterFromSnapshotRequest.Builder subnetIds(Collection<String> subnetIds)
The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
- Parameters:
subnetIds- The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
RestoreClusterFromSnapshotRequest.Builder subnetIds(String... subnetIds)
The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.
- Parameters:
subnetIds- The Amazon EC2 subnet IDs for the Elastic DocumentDB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
RestoreClusterFromSnapshotRequest.Builder tags(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroupIds
RestoreClusterFromSnapshotRequest.Builder vpcSecurityGroupIds(Collection<String> vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the Elastic DocumentDB cluster.
- Parameters:
vpcSecurityGroupIds- A list of EC2 VPC security groups to associate with the Elastic DocumentDB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcSecurityGroupIds
RestoreClusterFromSnapshotRequest.Builder vpcSecurityGroupIds(String... vpcSecurityGroupIds)
A list of EC2 VPC security groups to associate with the Elastic DocumentDB cluster.
- Parameters:
vpcSecurityGroupIds- A list of EC2 VPC security groups to associate with the Elastic DocumentDB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RestoreClusterFromSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RestoreClusterFromSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-