Interface CapacitySpecification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CapacitySpecification.Builder,CapacitySpecification>,SdkBuilder<CapacitySpecification.Builder,CapacitySpecification>,SdkPojo
- Enclosing class:
- CapacitySpecification
public static interface CapacitySpecification.Builder extends SdkPojo, CopyableBuilder<CapacitySpecification.Builder,CapacitySpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CapacitySpecification.BuilderreadCapacityUnits(Long readCapacityUnits)The throughput capacity specified forreadoperations defined inread capacity units(RCUs).CapacitySpecification.BuilderthroughputMode(String throughputMode)The read/write throughput capacity mode for a table.CapacitySpecification.BuilderthroughputMode(ThroughputMode throughputMode)The read/write throughput capacity mode for a table.CapacitySpecification.BuilderwriteCapacityUnits(Long writeCapacityUnits)The throughput capacity specified forwriteoperations defined inwrite capacity units(WCUs).-
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
-
throughputMode
CapacitySpecification.Builder throughputMode(String throughputMode)
The read/write throughput capacity mode for a table. The options are:
-
throughputMode:PAY_PER_REQUESTand -
throughputMode:PROVISIONED- Provisioned capacity mode requiresreadCapacityUnitsandwriteCapacityUnitsas input.
The default is
throughput_mode:PAY_PER_REQUEST.For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
- Parameters:
throughputMode- The read/write throughput capacity mode for a table. The options are:-
throughputMode:PAY_PER_REQUESTand -
throughputMode:PROVISIONED- Provisioned capacity mode requiresreadCapacityUnitsandwriteCapacityUnitsas input.
The default is
throughput_mode:PAY_PER_REQUEST.For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ThroughputMode,ThroughputMode
-
-
throughputMode
CapacitySpecification.Builder throughputMode(ThroughputMode throughputMode)
The read/write throughput capacity mode for a table. The options are:
-
throughputMode:PAY_PER_REQUESTand -
throughputMode:PROVISIONED- Provisioned capacity mode requiresreadCapacityUnitsandwriteCapacityUnitsas input.
The default is
throughput_mode:PAY_PER_REQUEST.For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
- Parameters:
throughputMode- The read/write throughput capacity mode for a table. The options are:-
throughputMode:PAY_PER_REQUESTand -
throughputMode:PROVISIONED- Provisioned capacity mode requiresreadCapacityUnitsandwriteCapacityUnitsas input.
The default is
throughput_mode:PAY_PER_REQUEST.For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ThroughputMode,ThroughputMode
-
-
readCapacityUnits
CapacitySpecification.Builder readCapacityUnits(Long readCapacityUnits)
The throughput capacity specified for
readoperations defined inread capacity units(RCUs).- Parameters:
readCapacityUnits- The throughput capacity specified forreadoperations defined inread capacity units(RCUs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
writeCapacityUnits
CapacitySpecification.Builder writeCapacityUnits(Long writeCapacityUnits)
The throughput capacity specified for
writeoperations defined inwrite capacity units(WCUs).- Parameters:
writeCapacityUnits- The throughput capacity specified forwriteoperations defined inwrite capacity units(WCUs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-