@Generated(value="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_REQUEST and
throughputMode:PROVISIONED.
For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CapacitySpecificationSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CapacitySpecificationSummary.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdateToPayPerRequestTimestamp()
The timestamp of the last operation that changed the provisioned throughput capacity of a table.
|
Long |
readCapacityUnits()
The throughput capacity specified for
read operations defined in read capacity units
(RCUs). |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CapacitySpecificationSummary.Builder> |
serializableBuilderClass() |
ThroughputMode |
throughputMode()
The read/write throughput capacity mode for a table.
|
String |
throughputModeAsString()
The read/write throughput capacity mode for a table.
|
CapacitySpecificationSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Long |
writeCapacityUnits()
The throughput capacity specified for
write operations defined in write capacity units
(WCUs). |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ThroughputMode throughputMode()
The read/write throughput capacity mode for a table. The options are:
throughputMode:PAY_PER_REQUEST and
throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and
writeCapacityUnits as 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, throughputMode
will return ThroughputMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from throughputModeAsString().
throughputMode:PAY_PER_REQUEST and
throughputMode:PROVISIONED - Provisioned capacity mode requires
readCapacityUnits and writeCapacityUnits as input.
The default is throughput_mode:PAY_PER_REQUEST.
For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
ThroughputModepublic final String throughputModeAsString()
The read/write throughput capacity mode for a table. The options are:
throughputMode:PAY_PER_REQUEST and
throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and
writeCapacityUnits as 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, throughputMode
will return ThroughputMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from throughputModeAsString().
throughputMode:PAY_PER_REQUEST and
throughputMode:PROVISIONED - Provisioned capacity mode requires
readCapacityUnits and writeCapacityUnits as input.
The default is throughput_mode:PAY_PER_REQUEST.
For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.
ThroughputModepublic final Long readCapacityUnits()
The throughput capacity specified for read operations defined in read capacity units
(RCUs).
read operations defined in
read capacity units (RCUs).public final Long writeCapacityUnits()
The throughput capacity specified for write operations defined in write capacity units
(WCUs).
write operations defined in
write capacity units (WCUs).public final Instant lastUpdateToPayPerRequestTimestamp()
The timestamp of the last operation that changed the provisioned throughput capacity of a table.
public CapacitySpecificationSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CapacitySpecificationSummary.Builder,CapacitySpecificationSummary>public static CapacitySpecificationSummary.Builder builder()
public static Class<? extends CapacitySpecificationSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.