Interface ConsumedCapacity.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConsumedCapacity.Builder,ConsumedCapacity>,SdkBuilder<ConsumedCapacity.Builder,ConsumedCapacity>,SdkPojo
- Enclosing class:
- ConsumedCapacity
@Mutable @NotThreadSafe 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.BuildercapacityUnits(Double capacityUnits)The total number of capacity units consumed by the operation.ConsumedCapacity.BuilderglobalSecondaryIndexes(Map<String,Capacity> globalSecondaryIndexes)The amount of throughput consumed on each global index affected by the operation.ConsumedCapacity.BuilderlocalSecondaryIndexes(Map<String,Capacity> localSecondaryIndexes)The amount of throughput consumed on each local index affected by the operation.ConsumedCapacity.BuilderreadCapacityUnits(Double readCapacityUnits)The total number of read capacity units consumed by the operation.default ConsumedCapacity.Buildertable(Consumer<Capacity.Builder> table)The amount of throughput consumed on the table affected by the operation.ConsumedCapacity.Buildertable(Capacity table)The amount of throughput consumed on the table affected by the operation.ConsumedCapacity.BuildertableName(String tableName)The name of the table that was affected by the operation.ConsumedCapacity.BuilderwriteCapacityUnits(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 Detail
-
tableName
ConsumedCapacity.Builder tableName(String 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
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.Builderavoiding the need to create one manually viaCapacity.builder().When the
Consumercompletes,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.
-
-