Interface AddReplicaLocationInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AddReplicaLocationInput.Builder,,AddReplicaLocationInput> SdkBuilder<AddReplicaLocationInput.Builder,,AddReplicaLocationInput> SdkPojo
- Enclosing class:
AddReplicaLocationInput
@Mutable
@NotThreadSafe
public static interface AddReplicaLocationInput.Builder
extends SdkPojo, CopyableBuilder<AddReplicaLocationInput.Builder,AddReplicaLocationInput>
-
Method Summary
Modifier and TypeMethodDescriptionThe 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:
-