public static interface ConsumedCapacity.Builder extends 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 |
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.
|
copyapply, buildConsumedCapacity.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 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.Buildertable(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 © 2017 Amazon Web Services, Inc. All Rights Reserved.