Interface UpdateGlobalSecondaryIndexAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UpdateGlobalSecondaryIndexAction.Builder,
,UpdateGlobalSecondaryIndexAction> SdkBuilder<UpdateGlobalSecondaryIndexAction.Builder,
,UpdateGlobalSecondaryIndexAction> SdkPojo
- Enclosing class:
UpdateGlobalSecondaryIndexAction
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the global secondary index to be updated.onDemandThroughput
(Consumer<OnDemandThroughput.Builder> onDemandThroughput) Updates the maximum number of read and write units for the specified global secondary index.onDemandThroughput
(OnDemandThroughput onDemandThroughput) Updates the maximum number of read and write units for the specified global secondary index.provisionedThroughput
(Consumer<ProvisionedThroughput.Builder> provisionedThroughput) Represents the provisioned throughput settings for the specified global secondary index.provisionedThroughput
(ProvisionedThroughput provisionedThroughput) Represents the provisioned throughput settings for the specified global secondary index.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 to be updated.
- Parameters:
indexName
- The name of the global secondary index to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedThroughput
UpdateGlobalSecondaryIndexAction.Builder provisionedThroughput(ProvisionedThroughput provisionedThroughput) Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
- Parameters:
provisionedThroughput
- Represents the provisioned throughput settings for the specified global secondary index.For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedThroughput
default UpdateGlobalSecondaryIndexAction.Builder provisionedThroughput(Consumer<ProvisionedThroughput.Builder> provisionedThroughput) Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
This is a convenience method that creates an instance of theProvisionedThroughput.Builder
avoiding the need to create one manually viaProvisionedThroughput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprovisionedThroughput(ProvisionedThroughput)
.- Parameters:
provisionedThroughput
- a consumer that will call methods onProvisionedThroughput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
onDemandThroughput
Updates the maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify
MaxReadRequestUnits
,MaxWriteRequestUnits
, or both.- Parameters:
onDemandThroughput
- Updates the maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specifyMaxReadRequestUnits
,MaxWriteRequestUnits
, or both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onDemandThroughput
default UpdateGlobalSecondaryIndexAction.Builder onDemandThroughput(Consumer<OnDemandThroughput.Builder> onDemandThroughput) Updates the maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify
This is a convenience method that creates an instance of theMaxReadRequestUnits
,MaxWriteRequestUnits
, or both.OnDemandThroughput.Builder
avoiding the need to create one manually viaOnDemandThroughput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toonDemandThroughput(OnDemandThroughput)
.- Parameters:
onDemandThroughput
- a consumer that will call methods onOnDemandThroughput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-