public static interface ConsumedCapacity.Builder extends SdkPojo, CopyableBuilder<ConsumedCapacity.Builder,ConsumedCapacity>
Modifier and Type | Method and Description |
---|---|
ConsumedCapacity.Builder |
capacityUnits(Double capacityUnits)
The total number of capacity units consumed by the operation.
|
ConsumedCapacity.Builder |
globalSecondaryIndexes(Map<String,Capacity> globalSecondaryIndexes)
The amount of throughput consumed on each global index affected by the operation.
|
ConsumedCapacity.Builder |
localSecondaryIndexes(Map<String,Capacity> localSecondaryIndexes)
The amount of throughput consumed on each local index affected by the operation.
|
ConsumedCapacity.Builder |
readCapacityUnits(Double readCapacityUnits)
The total number of read capacity units consumed by the operation.
|
ConsumedCapacity.Builder |
table(Capacity table)
The amount of throughput consumed on the table affected by the operation.
|
default ConsumedCapacity.Builder |
table(Consumer<Capacity.Builder> table)
The amount of throughput consumed on the table affected by the operation.
|
ConsumedCapacity.Builder |
tableName(String tableName)
The name of the table that was affected by the operation.
|
ConsumedCapacity.Builder |
writeCapacityUnits(Double writeCapacityUnits)
The total number of write capacity units consumed by the operation.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ConsumedCapacity.Builder tableName(String tableName)
The name of the table that was affected by the operation.
tableName
- The name of the table that was affected by the operation.ConsumedCapacity.Builder capacityUnits(Double capacityUnits)
The total number of capacity units consumed by the operation.
capacityUnits
- The total number of capacity units consumed by the operation.ConsumedCapacity.Builder readCapacityUnits(Double readCapacityUnits)
The total number of read capacity units consumed by the operation.
readCapacityUnits
- The total number of read capacity units consumed by the operation.ConsumedCapacity.Builder writeCapacityUnits(Double writeCapacityUnits)
The total number of write capacity units consumed by the operation.
writeCapacityUnits
- The total number of write capacity units consumed by the operation.ConsumedCapacity.Builder table(Capacity table)
The amount of throughput consumed on the table affected by the operation.
table
- The amount of throughput consumed on the table affected by the operation.default ConsumedCapacity.Builder table(Consumer<Capacity.Builder> table)
The amount of throughput consumed on the table affected by the operation.
This is a convenience that creates an instance of theCapacity.Builder
avoiding the need to create
one manually via Capacity.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to table(Capacity)
.table
- a consumer that will call methods on Capacity.Builder
table(Capacity)
ConsumedCapacity.Builder localSecondaryIndexes(Map<String,Capacity> localSecondaryIndexes)
The amount of throughput consumed on each local index affected by the operation.
localSecondaryIndexes
- The amount of throughput consumed on each local index affected by the operation.ConsumedCapacity.Builder globalSecondaryIndexes(Map<String,Capacity> globalSecondaryIndexes)
The amount of throughput consumed on each global index affected by the operation.
globalSecondaryIndexes
- The amount of throughput consumed on each global index affected by the operation.Copyright © 2021. All rights reserved.