Interface AddReplicaLocationInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AddReplicaLocationInput.Builder,,AddReplicaLocationInput> SdkBuilder<AddReplicaLocationInput.Builder,,AddReplicaLocationInput> SdkPojo
- Enclosing class:
AddReplicaLocationInput
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the customer-managed AWS Key Management Service (AWS KMS) key used to encrypt the canary replica's AWS Lambda function environment variables at rest.The Amazon Web Services Region where the canary replica should be created, for exampleus-east-1.default AddReplicaLocationInput.BuildervpcConfig(Consumer<VpcConfigInput.Builder> vpcConfig) The VPC configuration to use for the canary replica in this location.vpcConfig(VpcConfigInput vpcConfig) The VPC configuration to use for the canary replica in this location.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
location
The Amazon Web Services Region where the canary replica should be created, for example
us-east-1.- Parameters:
location- The Amazon Web Services Region where the canary replica should be created, for exampleus-east-1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
The VPC configuration to use for the canary replica in this location. If not specified, the replica runs without VPC connectivity.
- Parameters:
vpcConfig- The VPC configuration to use for the canary replica in this location. If not specified, the replica runs without VPC connectivity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
The VPC configuration to use for the canary replica in this location. If not specified, the replica runs without VPC connectivity.
This is a convenience method that creates an instance of theVpcConfigInput.Builderavoiding the need to create one manually viaVpcConfigInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfig(VpcConfigInput).- Parameters:
vpcConfig- a consumer that will call methods onVpcConfigInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyArn
The Amazon Resource Name (ARN) of the customer-managed AWS Key Management Service (AWS KMS) key used to encrypt the canary replica's AWS Lambda function environment variables at rest. If you don't specify a value, the service uses an AWS-managed key.
- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the customer-managed AWS Key Management Service (AWS KMS) key used to encrypt the canary replica's AWS Lambda function environment variables at rest. If you don't specify a value, the service uses an AWS-managed key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-