Interface ReplicaAutoScalingDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReplicaAutoScalingDescription.Builder,
,ReplicaAutoScalingDescription> SdkBuilder<ReplicaAutoScalingDescription.Builder,
,ReplicaAutoScalingDescription> SdkPojo
- Enclosing class:
ReplicaAutoScalingDescription
-
Method Summary
Modifier and TypeMethodDescriptionglobalSecondaryIndexes
(Collection<ReplicaGlobalSecondaryIndexAutoScalingDescription> globalSecondaryIndexes) Replica-specific global secondary index auto scaling settings.globalSecondaryIndexes
(Consumer<ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder>... globalSecondaryIndexes) Replica-specific global secondary index auto scaling settings.globalSecondaryIndexes
(ReplicaGlobalSecondaryIndexAutoScalingDescription... globalSecondaryIndexes) Replica-specific global secondary index auto scaling settings.regionName
(String regionName) The Region where the replica exists.replicaProvisionedReadCapacityAutoScalingSettings
(Consumer<AutoScalingSettingsDescription.Builder> replicaProvisionedReadCapacityAutoScalingSettings) Sets the value of the ReplicaProvisionedReadCapacityAutoScalingSettings property for this object.replicaProvisionedReadCapacityAutoScalingSettings
(AutoScalingSettingsDescription replicaProvisionedReadCapacityAutoScalingSettings) Sets the value of the ReplicaProvisionedReadCapacityAutoScalingSettings property for this object.replicaProvisionedWriteCapacityAutoScalingSettings
(Consumer<AutoScalingSettingsDescription.Builder> replicaProvisionedWriteCapacityAutoScalingSettings) Sets the value of the ReplicaProvisionedWriteCapacityAutoScalingSettings property for this object.replicaProvisionedWriteCapacityAutoScalingSettings
(AutoScalingSettingsDescription replicaProvisionedWriteCapacityAutoScalingSettings) Sets the value of the ReplicaProvisionedWriteCapacityAutoScalingSettings property for this object.replicaStatus
(String replicaStatus) The current state of the replica:replicaStatus
(ReplicaStatus replicaStatus) The current state of the replica:Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
regionName
The Region where the replica exists.
- Parameters:
regionName
- The Region where the replica exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalSecondaryIndexes
ReplicaAutoScalingDescription.Builder globalSecondaryIndexes(Collection<ReplicaGlobalSecondaryIndexAutoScalingDescription> globalSecondaryIndexes) Replica-specific global secondary index auto scaling settings.
- Parameters:
globalSecondaryIndexes
- Replica-specific global secondary index auto scaling settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalSecondaryIndexes
ReplicaAutoScalingDescription.Builder globalSecondaryIndexes(ReplicaGlobalSecondaryIndexAutoScalingDescription... globalSecondaryIndexes) Replica-specific global secondary index auto scaling settings.
- Parameters:
globalSecondaryIndexes
- Replica-specific global secondary index auto scaling settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalSecondaryIndexes
ReplicaAutoScalingDescription.Builder globalSecondaryIndexes(Consumer<ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder>... globalSecondaryIndexes) Replica-specific global secondary index auto scaling settings.
This is a convenience method that creates an instance of theReplicaGlobalSecondaryIndexAutoScalingDescription.Builder
avoiding the need to create one manually viaReplicaGlobalSecondaryIndexAutoScalingDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toglobalSecondaryIndexes(List<ReplicaGlobalSecondaryIndexAutoScalingDescription>)
.- Parameters:
globalSecondaryIndexes
- a consumer that will call methods onReplicaGlobalSecondaryIndexAutoScalingDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicaProvisionedReadCapacityAutoScalingSettings
ReplicaAutoScalingDescription.Builder replicaProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedReadCapacityAutoScalingSettings) Sets the value of the ReplicaProvisionedReadCapacityAutoScalingSettings property for this object.- Parameters:
replicaProvisionedReadCapacityAutoScalingSettings
- The new value for the ReplicaProvisionedReadCapacityAutoScalingSettings property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaProvisionedReadCapacityAutoScalingSettings
default ReplicaAutoScalingDescription.Builder replicaProvisionedReadCapacityAutoScalingSettings(Consumer<AutoScalingSettingsDescription.Builder> replicaProvisionedReadCapacityAutoScalingSettings) Sets the value of the ReplicaProvisionedReadCapacityAutoScalingSettings property for this object. This is a convenience method that creates an instance of theAutoScalingSettingsDescription.Builder
avoiding the need to create one manually viaAutoScalingSettingsDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicaProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription)
.- Parameters:
replicaProvisionedReadCapacityAutoScalingSettings
- a consumer that will call methods onAutoScalingSettingsDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicaProvisionedWriteCapacityAutoScalingSettings
ReplicaAutoScalingDescription.Builder replicaProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedWriteCapacityAutoScalingSettings) Sets the value of the ReplicaProvisionedWriteCapacityAutoScalingSettings property for this object.- Parameters:
replicaProvisionedWriteCapacityAutoScalingSettings
- The new value for the ReplicaProvisionedWriteCapacityAutoScalingSettings property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaProvisionedWriteCapacityAutoScalingSettings
default ReplicaAutoScalingDescription.Builder replicaProvisionedWriteCapacityAutoScalingSettings(Consumer<AutoScalingSettingsDescription.Builder> replicaProvisionedWriteCapacityAutoScalingSettings) Sets the value of the ReplicaProvisionedWriteCapacityAutoScalingSettings property for this object. This is a convenience method that creates an instance of theAutoScalingSettingsDescription.Builder
avoiding the need to create one manually viaAutoScalingSettingsDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicaProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription)
.- Parameters:
replicaProvisionedWriteCapacityAutoScalingSettings
- a consumer that will call methods onAutoScalingSettingsDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicaStatus
The current state of the replica:
-
CREATING
- The replica is being created. -
UPDATING
- The replica is being updated. -
DELETING
- The replica is being deleted. -
ACTIVE
- The replica is ready for use.
- Parameters:
replicaStatus
- The current state of the replica:-
CREATING
- The replica is being created. -
UPDATING
- The replica is being updated. -
DELETING
- The replica is being deleted. -
ACTIVE
- The replica is ready for use.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
replicaStatus
The current state of the replica:
-
CREATING
- The replica is being created. -
UPDATING
- The replica is being updated. -
DELETING
- The replica is being deleted. -
ACTIVE
- The replica is ready for use.
- Parameters:
replicaStatus
- The current state of the replica:-
CREATING
- The replica is being created. -
UPDATING
- The replica is being updated. -
DELETING
- The replica is being deleted. -
ACTIVE
- The replica is ready for use.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-