Interface ReplicaGlobalSecondaryIndexDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReplicaGlobalSecondaryIndexDescription.Builder,ReplicaGlobalSecondaryIndexDescription>,SdkBuilder<ReplicaGlobalSecondaryIndexDescription.Builder,ReplicaGlobalSecondaryIndexDescription>,SdkPojo
- Enclosing class:
- ReplicaGlobalSecondaryIndexDescription
@Mutable @NotThreadSafe public static interface ReplicaGlobalSecondaryIndexDescription.Builder extends SdkPojo, CopyableBuilder<ReplicaGlobalSecondaryIndexDescription.Builder,ReplicaGlobalSecondaryIndexDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ReplicaGlobalSecondaryIndexDescription.BuilderindexName(String indexName)The name of the global secondary index.default ReplicaGlobalSecondaryIndexDescription.BuilderonDemandThroughputOverride(Consumer<OnDemandThroughputOverride.Builder> onDemandThroughputOverride)Overrides the maximum on-demand throughput for the specified global secondary index in the specified replica table.ReplicaGlobalSecondaryIndexDescription.BuilderonDemandThroughputOverride(OnDemandThroughputOverride onDemandThroughputOverride)Overrides the maximum on-demand throughput for the specified global secondary index in the specified replica table.default ReplicaGlobalSecondaryIndexDescription.BuilderprovisionedThroughputOverride(Consumer<ProvisionedThroughputOverride.Builder> provisionedThroughputOverride)If not described, uses the source table GSI's read capacity settings.ReplicaGlobalSecondaryIndexDescription.BuilderprovisionedThroughputOverride(ProvisionedThroughputOverride provisionedThroughputOverride)If not described, uses the source table GSI's read capacity settings.default ReplicaGlobalSecondaryIndexDescription.BuilderwarmThroughput(Consumer<GlobalSecondaryIndexWarmThroughputDescription.Builder> warmThroughput)Represents the warm throughput of the global secondary index for this replica.ReplicaGlobalSecondaryIndexDescription.BuilderwarmThroughput(GlobalSecondaryIndexWarmThroughputDescription warmThroughput)Represents the warm throughput of the global secondary index for this 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
-
indexName
ReplicaGlobalSecondaryIndexDescription.Builder indexName(String 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.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:
provisionedThroughputOverride(ProvisionedThroughputOverride)
-
onDemandThroughputOverride
ReplicaGlobalSecondaryIndexDescription.Builder onDemandThroughputOverride(OnDemandThroughputOverride onDemandThroughputOverride)
Overrides the maximum on-demand throughput for the specified global secondary index in the specified replica table.
- Parameters:
onDemandThroughputOverride- Overrides the maximum on-demand throughput 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 ReplicaGlobalSecondaryIndexDescription.Builder onDemandThroughputOverride(Consumer<OnDemandThroughputOverride.Builder> onDemandThroughputOverride)
Overrides the maximum on-demand throughput 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:
onDemandThroughputOverride(OnDemandThroughputOverride)
-
warmThroughput
ReplicaGlobalSecondaryIndexDescription.Builder warmThroughput(GlobalSecondaryIndexWarmThroughputDescription warmThroughput)
Represents the warm throughput of the global secondary index for this replica.
- Parameters:
warmThroughput- Represents the warm throughput of the global secondary index for this replica.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warmThroughput
default ReplicaGlobalSecondaryIndexDescription.Builder warmThroughput(Consumer<GlobalSecondaryIndexWarmThroughputDescription.Builder> warmThroughput)
Represents the warm throughput of the global secondary index for this replica.
This is a convenience method that creates an instance of theGlobalSecondaryIndexWarmThroughputDescription.Builderavoiding the need to create one manually viaGlobalSecondaryIndexWarmThroughputDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towarmThroughput(GlobalSecondaryIndexWarmThroughputDescription).- Parameters:
warmThroughput- a consumer that will call methods onGlobalSecondaryIndexWarmThroughputDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
warmThroughput(GlobalSecondaryIndexWarmThroughputDescription)
-
-