@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProvisionedThroughput extends Object implements Serializable, Cloneable, StructuredPojo
Represents the provisioned throughput settings for a specified table or index. The settings can be modified using the
UpdateTable
operation.
For current minimum and maximum provisioned throughput values, see Limits in the Amazon DynamoDB Developer Guide.
Constructor and Description |
---|
ProvisionedThroughput()
Default constructor for ProvisionedThroughput object.
|
ProvisionedThroughput(Long readCapacityUnits,
Long writeCapacityUnits)
Constructs a new ProvisionedThroughput object.
|
Modifier and Type | Method and Description |
---|---|
ProvisionedThroughput |
clone() |
boolean |
equals(Object obj) |
Long |
getReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException . |
Long |
getWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setReadCapacityUnits(Long readCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException . |
void |
setWriteCapacityUnits(Long writeCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException . |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ProvisionedThroughput |
withReadCapacityUnits(Long readCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException . |
ProvisionedThroughput |
withWriteCapacityUnits(Long writeCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException . |
public ProvisionedThroughput()
public ProvisionedThroughput(Long readCapacityUnits, Long writeCapacityUnits)
readCapacityUnits
- The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.writeCapacityUnits
- The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.public void setReadCapacityUnits(Long readCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.
readCapacityUnits
- The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.public Long getReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.
ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.public ProvisionedThroughput withReadCapacityUnits(Long readCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.
readCapacityUnits
- The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.public void setWriteCapacityUnits(Long writeCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
. For
more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.
writeCapacityUnits
- The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.public Long getWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
. For
more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.
ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.public ProvisionedThroughput withWriteCapacityUnits(Long writeCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
. For
more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.
writeCapacityUnits
- The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException
. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.public String toString()
toString
in class Object
Object.toString()
public ProvisionedThroughput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.