Interface ReplicaGlobalSecondaryIndex.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ReplicaGlobalSecondaryIndex.Builder,,ReplicaGlobalSecondaryIndex> SdkBuilder<ReplicaGlobalSecondaryIndex.Builder,,ReplicaGlobalSecondaryIndex> SdkPojo
- Enclosing class:
ReplicaGlobalSecondaryIndex
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the global secondary index.onDemandThroughputOverride(Consumer<OnDemandThroughputOverride.Builder> onDemandThroughputOverride) Overrides the maximum on-demand throughput settings for the specified global secondary index in the specified replica table.onDemandThroughputOverride(OnDemandThroughputOverride onDemandThroughputOverride) Overrides the maximum on-demand throughput settings for the specified global secondary index in the specified replica table.provisionedThroughputOverride(Consumer<ProvisionedThroughputOverride.Builder> provisionedThroughputOverride) Replica table GSI-specific provisioned throughput.provisionedThroughputOverride(ProvisionedThroughputOverride provisionedThroughputOverride) Replica table GSI-specific provisioned throughput.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
-
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
ReplicaGlobalSecondaryIndex.Builder provisionedThroughputOverride(ProvisionedThroughputOverride provisionedThroughputOverride) Replica table GSI-specific provisioned throughput. If not specified, uses the source table GSI's read capacity settings.
- Parameters:
provisionedThroughputOverride- Replica table GSI-specific provisioned throughput. If not specified, 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 ReplicaGlobalSecondaryIndex.Builder provisionedThroughputOverride(Consumer<ProvisionedThroughputOverride.Builder> provisionedThroughputOverride) Replica table GSI-specific provisioned throughput. If not specified, uses the source table GSI's read capacity settings.
This is a convenience method that creates an instance of theProvisionedThroughputOverride.Builderavoiding the need to create one manually viaProvisionedThroughputOverride.builder().When the
Consumercompletes,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:
-
onDemandThroughputOverride
ReplicaGlobalSecondaryIndex.Builder onDemandThroughputOverride(OnDemandThroughputOverride onDemandThroughputOverride) Overrides the maximum on-demand throughput settings for the specified global secondary index in the specified replica table.
- Parameters:
onDemandThroughputOverride- Overrides the maximum on-demand throughput settings for the specified global secondary index in the specified replica table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onDemandThroughputOverride
default ReplicaGlobalSecondaryIndex.Builder onDemandThroughputOverride(Consumer<OnDemandThroughputOverride.Builder> onDemandThroughputOverride) Overrides the maximum on-demand throughput settings for the specified global secondary index in the specified replica table.
This is a convenience method that creates an instance of theOnDemandThroughputOverride.Builderavoiding the need to create one manually viaOnDemandThroughputOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toonDemandThroughputOverride(OnDemandThroughputOverride).- Parameters:
onDemandThroughputOverride- a consumer that will call methods onOnDemandThroughputOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-