Interface ReplicaSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ReplicaSpecification.Builder,,ReplicaSpecification> SdkBuilder<ReplicaSpecification.Builder,,ReplicaSpecification> SdkPojo
- Enclosing class:
ReplicaSpecification
@Mutable
@NotThreadSafe
public static interface ReplicaSpecification.Builder
extends SdkPojo, CopyableBuilder<ReplicaSpecification.Builder,ReplicaSpecification>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ReplicaSpecification.BuilderreadCapacityAutoScaling(Consumer<AutoScalingSettings.Builder> readCapacityAutoScaling) The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services Region.readCapacityAutoScaling(AutoScalingSettings readCapacityAutoScaling) The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services Region.readCapacityUnits(Long readCapacityUnits) The provisioned read capacity units for the multi-Region table in the specified Amazon Web Services Region.The Amazon Web Services Region.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
-
region
The Amazon Web Services Region.
- Parameters:
region- The Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readCapacityUnits
The provisioned read capacity units for the multi-Region table in the specified Amazon Web Services Region.
- Parameters:
readCapacityUnits- The provisioned read capacity units for the multi-Region table in the specified Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readCapacityAutoScaling
The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services Region.
- Parameters:
readCapacityAutoScaling- The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readCapacityAutoScaling
default ReplicaSpecification.Builder readCapacityAutoScaling(Consumer<AutoScalingSettings.Builder> readCapacityAutoScaling) The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services Region.
This is a convenience method that creates an instance of theAutoScalingSettings.Builderavoiding the need to create one manually viaAutoScalingSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreadCapacityAutoScaling(AutoScalingSettings).- Parameters:
readCapacityAutoScaling- a consumer that will call methods onAutoScalingSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-