Interface ConsumedCapacity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConsumedCapacity.Builder,
,ConsumedCapacity> SdkBuilder<ConsumedCapacity.Builder,
,ConsumedCapacity> SdkPojo
- Enclosing class:
ConsumedCapacity
-
Method Summary
Modifier and TypeMethodDescriptioncapacityUnits
(Double capacityUnits) The total number of capacity units consumed by the operation.globalSecondaryIndexes
(Map<String, Capacity> globalSecondaryIndexes) The amount of throughput consumed on each global index affected by the operation.localSecondaryIndexes
(Map<String, Capacity> localSecondaryIndexes) The amount of throughput consumed on each local index affected by the operation.readCapacityUnits
(Double readCapacityUnits) The total number of read capacity units consumed by the operation.default ConsumedCapacity.Builder
table
(Consumer<Capacity.Builder> table) The amount of throughput consumed on the table affected by the operation.The amount of throughput consumed on the table affected by the operation.The name of the table that was affected by the operation.writeCapacityUnits
(Double writeCapacityUnits) The total number of write capacity units consumed by the operation.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
-
tableName
The name of the table that was affected by the operation. If you had specified the Amazon Resource Name (ARN) of a table in the input, you'll see the table ARN in the response.
- Parameters:
tableName
- The name of the table that was affected by the operation. If you had specified the Amazon Resource Name (ARN) of a table in the input, you'll see the table ARN in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityUnits
The total number of capacity units consumed by the operation.
- Parameters:
capacityUnits
- The total number of capacity units consumed by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readCapacityUnits
The total number of read capacity units consumed by the operation.
- Parameters:
readCapacityUnits
- The total number of read capacity units consumed by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
writeCapacityUnits
The total number of write capacity units consumed by the operation.
- Parameters:
writeCapacityUnits
- The total number of write capacity units consumed by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
table
The amount of throughput consumed on the table affected by the operation.
- Parameters:
table
- The amount of throughput consumed on the table affected by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
table
The amount of throughput consumed on the table affected by the operation.
This is a convenience method that creates an instance of theCapacity.Builder
avoiding the need to create one manually viaCapacity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totable(Capacity)
.- Parameters:
table
- a consumer that will call methods onCapacity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
localSecondaryIndexes
The amount of throughput consumed on each local index affected by the operation.
- Parameters:
localSecondaryIndexes
- The amount of throughput consumed on each local index affected by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalSecondaryIndexes
The amount of throughput consumed on each global index affected by the operation.
- Parameters:
globalSecondaryIndexes
- The amount of throughput consumed on each global index affected by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-