@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CapacitySpecificationSummary extends Object implements Serializable, Cloneable, StructuredPojo
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.
| Constructor and Description |
|---|
CapacitySpecificationSummary() |
| Modifier and Type | Method and Description |
|---|---|
CapacitySpecificationSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getLastUpdateToPayPerRequestTimestamp()
The timestamp of the last operation that changed the provisioned throughput capacity of a table.
|
Long |
getReadCapacityUnits()
The throughput capacity specified for
read operations defined in read capacity units
(RCUs). |
String |
getThroughputMode()
The read/write throughput capacity mode for a table.
|
Long |
getWriteCapacityUnits()
The throughput capacity specified for
write operations defined in write capacity units
(WCUs). |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLastUpdateToPayPerRequestTimestamp(Date lastUpdateToPayPerRequestTimestamp)
The timestamp of the last operation that changed the provisioned throughput capacity of a table.
|
void |
setReadCapacityUnits(Long readCapacityUnits)
The throughput capacity specified for
read operations defined in read capacity units
(RCUs). |
void |
setThroughputMode(String throughputMode)
The read/write throughput capacity mode for a table.
|
void |
setWriteCapacityUnits(Long writeCapacityUnits)
The throughput capacity specified for
write operations defined in write capacity units
(WCUs). |
String |
toString()
Returns a string representation of this object.
|
CapacitySpecificationSummary |
withLastUpdateToPayPerRequestTimestamp(Date lastUpdateToPayPerRequestTimestamp)
The timestamp of the last operation that changed the provisioned throughput capacity of a table.
|
CapacitySpecificationSummary |
withReadCapacityUnits(Long readCapacityUnits)
The throughput capacity specified for
read operations defined in read capacity units
(RCUs). |
CapacitySpecificationSummary |
withThroughputMode(String throughputMode)
The read/write throughput capacity mode for a table.
|
CapacitySpecificationSummary |
withThroughputMode(ThroughputMode throughputMode)
The read/write throughput capacity mode for a table.
|
CapacitySpecificationSummary |
withWriteCapacityUnits(Long writeCapacityUnits)
The throughput capacity specified for
write operations defined in write capacity units
(WCUs). |
public void setThroughputMode(String 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.
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.
ThroughputModepublic String getThroughputMode()
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.
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 CapacitySpecificationSummary withThroughputMode(String 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.
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.
ThroughputModepublic CapacitySpecificationSummary withThroughputMode(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.
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.
ThroughputModepublic void setReadCapacityUnits(Long readCapacityUnits)
The throughput capacity specified for read operations defined in read capacity units
(RCUs).
readCapacityUnits - The throughput capacity specified for read operations defined in
read capacity units (RCUs).public Long getReadCapacityUnits()
The throughput capacity specified for read operations defined in read capacity units
(RCUs).
read operations defined in
read capacity units (RCUs).public CapacitySpecificationSummary withReadCapacityUnits(Long readCapacityUnits)
The throughput capacity specified for read operations defined in read capacity units
(RCUs).
readCapacityUnits - The throughput capacity specified for read operations defined in
read capacity units (RCUs).public void setWriteCapacityUnits(Long writeCapacityUnits)
The throughput capacity specified for write operations defined in write capacity units
(WCUs).
writeCapacityUnits - The throughput capacity specified for write operations defined in
write capacity units (WCUs).public Long getWriteCapacityUnits()
The throughput capacity specified for write operations defined in write capacity units
(WCUs).
write operations defined in
write capacity units (WCUs).public CapacitySpecificationSummary withWriteCapacityUnits(Long writeCapacityUnits)
The throughput capacity specified for write operations defined in write capacity units
(WCUs).
writeCapacityUnits - The throughput capacity specified for write operations defined in
write capacity units (WCUs).public void setLastUpdateToPayPerRequestTimestamp(Date lastUpdateToPayPerRequestTimestamp)
The timestamp of the last operation that changed the provisioned throughput capacity of a table.
lastUpdateToPayPerRequestTimestamp - The timestamp of the last operation that changed the provisioned throughput capacity of a table.public Date getLastUpdateToPayPerRequestTimestamp()
The timestamp of the last operation that changed the provisioned throughput capacity of a table.
public CapacitySpecificationSummary withLastUpdateToPayPerRequestTimestamp(Date lastUpdateToPayPerRequestTimestamp)
The timestamp of the last operation that changed the provisioned throughput capacity of a table.
lastUpdateToPayPerRequestTimestamp - The timestamp of the last operation that changed the provisioned throughput capacity of a table.public String toString()
toString in class ObjectObject.toString()public CapacitySpecificationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.