Interface ConsumedCapacity.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ConsumedCapacity.Builder,ConsumedCapacity>
,SdkBuilder<ConsumedCapacity.Builder,ConsumedCapacity>
,SdkPojo
- Enclosing class:
- ConsumedCapacity
public static interface ConsumedCapacity.Builder extends SdkPojo, CopyableBuilder<ConsumedCapacity.Builder,ConsumedCapacity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.default ConsumedCapacity.Builder
table(Consumer<Capacity.Builder> table)
The amount of throughput consumed on the table affected by the operation.ConsumedCapacity.Builder
table(Capacity 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.-
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 Detail
-
tableName
ConsumedCapacity.Builder tableName(String tableName)
The name of the table that was affected by the operation.
- Parameters:
tableName
- The name of the table that was affected by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityUnits
ConsumedCapacity.Builder capacityUnits(Double 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
ConsumedCapacity.Builder readCapacityUnits(Double 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
ConsumedCapacity.Builder writeCapacityUnits(Double 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
ConsumedCapacity.Builder table(Capacity 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
default ConsumedCapacity.Builder table(Consumer<Capacity.Builder> 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:
table(Capacity)
-
localSecondaryIndexes
ConsumedCapacity.Builder localSecondaryIndexes(Map<String,Capacity> 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
ConsumedCapacity.Builder globalSecondaryIndexes(Map<String,Capacity> 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.
-
-