Interface ReplicaGlobalSecondaryIndexSettingsUpdate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReplicaGlobalSecondaryIndexSettingsUpdate.Builder,
,ReplicaGlobalSecondaryIndexSettingsUpdate> SdkBuilder<ReplicaGlobalSecondaryIndexSettingsUpdate.Builder,
,ReplicaGlobalSecondaryIndexSettingsUpdate> SdkPojo
- Enclosing class:
ReplicaGlobalSecondaryIndexSettingsUpdate
@Mutable
@NotThreadSafe
public static interface ReplicaGlobalSecondaryIndexSettingsUpdate.Builder
extends SdkPojo, CopyableBuilder<ReplicaGlobalSecondaryIndexSettingsUpdate.Builder,ReplicaGlobalSecondaryIndexSettingsUpdate>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the global secondary index.provisionedReadCapacityAutoScalingSettingsUpdate
(Consumer<AutoScalingSettingsUpdate.Builder> provisionedReadCapacityAutoScalingSettingsUpdate) Auto scaling settings for managing a global secondary index replica's read capacity units.provisionedReadCapacityAutoScalingSettingsUpdate
(AutoScalingSettingsUpdate provisionedReadCapacityAutoScalingSettingsUpdate) Auto scaling settings for managing a global secondary index replica's read capacity units.provisionedReadCapacityUnits
(Long provisionedReadCapacityUnits) The maximum number of strongly consistent reads consumed per second before DynamoDB returns aThrottlingException
.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 Details
-
indexName
The name of the global secondary index. The name must be unique among all other indexes on this table.
- Parameters:
indexName
- The name of the global secondary index. The name must be unique among all other indexes on this table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedReadCapacityUnits
ReplicaGlobalSecondaryIndexSettingsUpdate.Builder provisionedReadCapacityUnits(Long provisionedReadCapacityUnits) The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
.- Parameters:
provisionedReadCapacityUnits
- The maximum number of strongly consistent reads consumed per second before DynamoDB returns aThrottlingException
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedReadCapacityAutoScalingSettingsUpdate
ReplicaGlobalSecondaryIndexSettingsUpdate.Builder provisionedReadCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate provisionedReadCapacityAutoScalingSettingsUpdate) Auto scaling settings for managing a global secondary index replica's read capacity units.
- Parameters:
provisionedReadCapacityAutoScalingSettingsUpdate
- Auto scaling settings for managing a global secondary index replica's read capacity units.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedReadCapacityAutoScalingSettingsUpdate
default ReplicaGlobalSecondaryIndexSettingsUpdate.Builder provisionedReadCapacityAutoScalingSettingsUpdate(Consumer<AutoScalingSettingsUpdate.Builder> provisionedReadCapacityAutoScalingSettingsUpdate) Auto scaling settings for managing a global secondary index replica's read capacity units.
This is a convenience method that creates an instance of theAutoScalingSettingsUpdate.Builder
avoiding the need to create one manually viaAutoScalingSettingsUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprovisionedReadCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate)
.- Parameters:
provisionedReadCapacityAutoScalingSettingsUpdate
- a consumer that will call methods onAutoScalingSettingsUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-