Interface ReplicaAutoScalingDescription.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ReplicaAutoScalingDescription.Builder,ReplicaAutoScalingDescription>
,SdkBuilder<ReplicaAutoScalingDescription.Builder,ReplicaAutoScalingDescription>
,SdkPojo
- Enclosing class:
- ReplicaAutoScalingDescription
public static interface ReplicaAutoScalingDescription.Builder extends SdkPojo, CopyableBuilder<ReplicaAutoScalingDescription.Builder,ReplicaAutoScalingDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ReplicaAutoScalingDescription.Builder
globalSecondaryIndexes(Collection<ReplicaGlobalSecondaryIndexAutoScalingDescription> globalSecondaryIndexes)
Replica-specific global secondary index auto scaling settings.ReplicaAutoScalingDescription.Builder
globalSecondaryIndexes(Consumer<ReplicaGlobalSecondaryIndexAutoScalingDescription.Builder>... globalSecondaryIndexes)
Replica-specific global secondary index auto scaling settings.ReplicaAutoScalingDescription.Builder
globalSecondaryIndexes(ReplicaGlobalSecondaryIndexAutoScalingDescription... globalSecondaryIndexes)
Replica-specific global secondary index auto scaling settings.ReplicaAutoScalingDescription.Builder
regionName(String regionName)
The Region where the replica exists.default ReplicaAutoScalingDescription.Builder
replicaProvisionedReadCapacityAutoScalingSettings(Consumer<AutoScalingSettingsDescription.Builder> replicaProvisionedReadCapacityAutoScalingSettings)
Sets the value of the ReplicaProvisionedReadCapacityAutoScalingSettings property for this object.ReplicaAutoScalingDescription.Builder
replicaProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedReadCapacityAutoScalingSettings)
Sets the value of the ReplicaProvisionedReadCapacityAutoScalingSettings property for this object.default ReplicaAutoScalingDescription.Builder
replicaProvisionedWriteCapacityAutoScalingSettings(Consumer<AutoScalingSettingsDescription.Builder> replicaProvisionedWriteCapacityAutoScalingSettings)
Sets the value of the ReplicaProvisionedWriteCapacityAutoScalingSettings property for this object.ReplicaAutoScalingDescription.Builder
replicaProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription replicaProvisionedWriteCapacityAutoScalingSettings)
Sets the value of the ReplicaProvisionedWriteCapacityAutoScalingSettings property for this object.ReplicaAutoScalingDescription.Builder
replicaStatus(String replicaStatus)
The current state of the replica:ReplicaAutoScalingDescription.Builder
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
regionName
ReplicaAutoScalingDescription.Builder regionName(String 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 to#globalSecondaryIndexes(List
.) - 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:
#globalSecondaryIndexes(java.util.Collection
)
-
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:
replicaProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription)
-
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:
replicaProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription)
-
replicaStatus
ReplicaAutoScalingDescription.Builder replicaStatus(String 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
,ReplicaStatus
-
-
replicaStatus
ReplicaAutoScalingDescription.Builder replicaStatus(ReplicaStatus 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
,ReplicaStatus
-
-
-