@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProvisionedThroughputDescription extends Object implements Serializable, Cloneable, StructuredPojo
Represents the provisioned throughput settings for the table, consisting of read and write capacity units, along with data about increases and decreases.
Constructor and Description |
---|
ProvisionedThroughputDescription() |
Modifier and Type | Method and Description |
---|---|
ProvisionedThroughputDescription |
clone() |
boolean |
equals(Object obj) |
Date |
getLastDecreaseDateTime()
The date and time of the last provisioned throughput decrease for this table.
|
Date |
getLastIncreaseDateTime()
The date and time of the last provisioned throughput increase for this table.
|
Long |
getNumberOfDecreasesToday()
The number of provisioned throughput decreases for this table during this UTC calendar day.
|
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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLastDecreaseDateTime(Date lastDecreaseDateTime)
The date and time of the last provisioned throughput decrease for this table.
|
void |
setLastIncreaseDateTime(Date lastIncreaseDateTime)
The date and time of the last provisioned throughput increase for this table.
|
void |
setNumberOfDecreasesToday(Long numberOfDecreasesToday)
The number of provisioned throughput decreases for this table during this UTC calendar day.
|
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.
|
ProvisionedThroughputDescription |
withLastDecreaseDateTime(Date lastDecreaseDateTime)
The date and time of the last provisioned throughput decrease for this table.
|
ProvisionedThroughputDescription |
withLastIncreaseDateTime(Date lastIncreaseDateTime)
The date and time of the last provisioned throughput increase for this table.
|
ProvisionedThroughputDescription |
withNumberOfDecreasesToday(Long numberOfDecreasesToday)
The number of provisioned throughput decreases for this table during this UTC calendar day.
|
ProvisionedThroughputDescription |
withReadCapacityUnits(Long readCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException . |
ProvisionedThroughputDescription |
withWriteCapacityUnits(Long writeCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException . |
public void setLastIncreaseDateTime(Date lastIncreaseDateTime)
The date and time of the last provisioned throughput increase for this table.
lastIncreaseDateTime
- The date and time of the last provisioned throughput increase for this table.public Date getLastIncreaseDateTime()
The date and time of the last provisioned throughput increase for this table.
public ProvisionedThroughputDescription withLastIncreaseDateTime(Date lastIncreaseDateTime)
The date and time of the last provisioned throughput increase for this table.
lastIncreaseDateTime
- The date and time of the last provisioned throughput increase for this table.public void setLastDecreaseDateTime(Date lastDecreaseDateTime)
The date and time of the last provisioned throughput decrease for this table.
lastDecreaseDateTime
- The date and time of the last provisioned throughput decrease for this table.public Date getLastDecreaseDateTime()
The date and time of the last provisioned throughput decrease for this table.
public ProvisionedThroughputDescription withLastDecreaseDateTime(Date lastDecreaseDateTime)
The date and time of the last provisioned throughput decrease for this table.
lastDecreaseDateTime
- The date and time of the last provisioned throughput decrease for this table.public void setNumberOfDecreasesToday(Long numberOfDecreasesToday)
The number of provisioned throughput decreases for this table during this UTC calendar day. For current maximums on provisioned throughput decreases, see Limits in the Amazon DynamoDB Developer Guide.
numberOfDecreasesToday
- The number of provisioned throughput decreases for this table during this UTC calendar day. For current
maximums on provisioned throughput decreases, see Limits in the
Amazon DynamoDB Developer Guide.public Long getNumberOfDecreasesToday()
The number of provisioned throughput decreases for this table during this UTC calendar day. For current maximums on provisioned throughput decreases, see Limits in the Amazon DynamoDB Developer Guide.
public ProvisionedThroughputDescription withNumberOfDecreasesToday(Long numberOfDecreasesToday)
The number of provisioned throughput decreases for this table during this UTC calendar day. For current maximums on provisioned throughput decreases, see Limits in the Amazon DynamoDB Developer Guide.
numberOfDecreasesToday
- The number of provisioned throughput decreases for this table during this UTC calendar day. For current
maximums on provisioned throughput decreases, see Limits 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
. Eventually consistent reads require less effort than strongly consistent reads,
so a setting of 50 ReadCapacityUnits
per second provides 100 eventually consistent
ReadCapacityUnits
per second.
readCapacityUnits
- The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
. Eventually consistent reads require less effort than strongly consistent
reads, so a setting of 50 ReadCapacityUnits
per second provides 100 eventually consistent
ReadCapacityUnits
per second.public Long getReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
. Eventually consistent reads require less effort than strongly consistent reads,
so a setting of 50 ReadCapacityUnits
per second provides 100 eventually consistent
ReadCapacityUnits
per second.
ThrottlingException
. Eventually consistent reads require less effort than strongly
consistent reads, so a setting of 50 ReadCapacityUnits
per second provides 100 eventually
consistent ReadCapacityUnits
per second.public ProvisionedThroughputDescription withReadCapacityUnits(Long readCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
. Eventually consistent reads require less effort than strongly consistent reads,
so a setting of 50 ReadCapacityUnits
per second provides 100 eventually consistent
ReadCapacityUnits
per second.
readCapacityUnits
- The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
. Eventually consistent reads require less effort than strongly consistent
reads, so a setting of 50 ReadCapacityUnits
per second provides 100 eventually consistent
ReadCapacityUnits
per second.public void setWriteCapacityUnits(Long writeCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
.
writeCapacityUnits
- The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException
.public Long getWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
.
ThrottlingException
.public ProvisionedThroughputDescription withWriteCapacityUnits(Long writeCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
.
writeCapacityUnits
- The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException
.public String toString()
toString
in class Object
Object.toString()
public ProvisionedThroughputDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.