Interface ReplicaGlobalSecondaryIndexDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReplicaGlobalSecondaryIndexDescription.Builder,
,ReplicaGlobalSecondaryIndexDescription> SdkBuilder<ReplicaGlobalSecondaryIndexDescription.Builder,
,ReplicaGlobalSecondaryIndexDescription> SdkPojo
- Enclosing class:
ReplicaGlobalSecondaryIndexDescription
public static interface ReplicaGlobalSecondaryIndexDescription.Builder
extends SdkPojo, CopyableBuilder<ReplicaGlobalSecondaryIndexDescription.Builder,ReplicaGlobalSecondaryIndexDescription>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the global secondary index.provisionedThroughputOverride
(Consumer<ProvisionedThroughputOverride.Builder> provisionedThroughputOverride) If not described, uses the source table GSI's read capacity settings.provisionedThroughputOverride
(ProvisionedThroughputOverride provisionedThroughputOverride) If not described, uses the source table GSI's read capacity settings.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
-
indexName
The name of the global secondary index.
- Parameters:
indexName
- The name of the global secondary index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedThroughputOverride
ReplicaGlobalSecondaryIndexDescription.Builder provisionedThroughputOverride(ProvisionedThroughputOverride provisionedThroughputOverride) If not described, uses the source table GSI's read capacity settings.
- Parameters:
provisionedThroughputOverride
- If not described, uses the source table GSI's read capacity settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedThroughputOverride
default ReplicaGlobalSecondaryIndexDescription.Builder provisionedThroughputOverride(Consumer<ProvisionedThroughputOverride.Builder> provisionedThroughputOverride) If not described, uses the source table GSI's read capacity settings.
This is a convenience method that creates an instance of theProvisionedThroughputOverride.Builder
avoiding the need to create one manually viaProvisionedThroughputOverride.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprovisionedThroughputOverride(ProvisionedThroughputOverride)
.- Parameters:
provisionedThroughputOverride
- a consumer that will call methods onProvisionedThroughputOverride.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-