Class CapacitySpecificationSummary
- java.lang.Object
-
- software.amazon.awssdk.services.keyspaces.model.CapacitySpecificationSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CapacitySpecificationSummary.Builder,CapacitySpecificationSummary>
@Generated("software.amazon.awssdk:codegen") public final class CapacitySpecificationSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CapacitySpecificationSummary.Builder,CapacitySpecificationSummary>
The read/write throughput capacity mode for a table. The options are:
-
throughputMode:PAY_PER_REQUESTand -
throughputMode:PROVISIONED.
For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCapacitySpecificationSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CapacitySpecificationSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdateToPayPerRequestTimestamp()The timestamp of the last operation that changed the provisioned throughput capacity of a table.LongreadCapacityUnits()The throughput capacity specified forreadoperations defined inread capacity units(RCUs).List<SdkField<?>>sdkFields()static Class<? extends CapacitySpecificationSummary.Builder>serializableBuilderClass()ThroughputModethroughputMode()The read/write throughput capacity mode for a table.StringthroughputModeAsString()The read/write throughput capacity mode for a table.CapacitySpecificationSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.LongwriteCapacityUnits()The throughput capacity specified forwriteoperations defined inwrite capacity units(WCUs).-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
throughputMode
public final 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.
If the service returns an enum value that is not available in the current SDK version,
throughputModewill returnThroughputMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromthroughputModeAsString().- Returns:
- 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.
-
- See Also:
ThroughputMode
-
-
throughputModeAsString
public final String throughputModeAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
throughputModewill returnThroughputMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromthroughputModeAsString().- Returns:
- 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.
-
- See Also:
ThroughputMode
-
-
readCapacityUnits
public final Long readCapacityUnits()
The throughput capacity specified for
readoperations defined inread capacity units(RCUs).- Returns:
- The throughput capacity specified for
readoperations defined inread capacity units(RCUs).
-
writeCapacityUnits
public final Long writeCapacityUnits()
The throughput capacity specified for
writeoperations defined inwrite capacity units(WCUs).- Returns:
- The throughput capacity specified for
writeoperations defined inwrite capacity units(WCUs).
-
lastUpdateToPayPerRequestTimestamp
public final Instant lastUpdateToPayPerRequestTimestamp()
The timestamp of the last operation that changed the provisioned throughput capacity of a table.
- Returns:
- The timestamp of the last operation that changed the provisioned throughput capacity of a table.
-
toBuilder
public CapacitySpecificationSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CapacitySpecificationSummary.Builder,CapacitySpecificationSummary>
-
builder
public static CapacitySpecificationSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends CapacitySpecificationSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-