Class ProvisionedThroughputDescription
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the provisioned throughput settings for the table, consisting of read and write capacity units, along with data about increases and decreases.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The date and time of the last provisioned throughput decrease for this table.The date and time of the last provisioned throughput increase for this table.The number of provisioned throughput decreases for this table during this UTC calendar day.The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException.The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.int
hashCode()
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.toString()
Returns a string representation of this object; useful for testing and debugging.withLastDecreaseDateTime
(Date lastDecreaseDateTime) The date and time of the last provisioned throughput decrease for this table.withLastIncreaseDateTime
(Date lastIncreaseDateTime) The date and time of the last provisioned throughput increase for this table.withNumberOfDecreasesToday
(Long numberOfDecreasesToday) The number of provisioned throughput decreases for this table during this UTC calendar day.withReadCapacityUnits
(Long readCapacityUnits) The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException.withWriteCapacityUnits
(Long writeCapacityUnits) The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.
-
Constructor Details
-
ProvisionedThroughputDescription
public ProvisionedThroughputDescription()
-
-
Method Details
-
setLastIncreaseDateTime
The date and time of the last provisioned throughput increase for this table.
- Parameters:
lastIncreaseDateTime
- The date and time of the last provisioned throughput increase for this table.
-
getLastIncreaseDateTime
The date and time of the last provisioned throughput increase for this table.
- Returns:
- The date and time of the last provisioned throughput increase for this table.
-
withLastIncreaseDateTime
The date and time of the last provisioned throughput increase for this table.
- Parameters:
lastIncreaseDateTime
- The date and time of the last provisioned throughput increase for this table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastDecreaseDateTime
The date and time of the last provisioned throughput decrease for this table.
- Parameters:
lastDecreaseDateTime
- The date and time of the last provisioned throughput decrease for this table.
-
getLastDecreaseDateTime
The date and time of the last provisioned throughput decrease for this table.
- Returns:
- The date and time of the last provisioned throughput decrease for this table.
-
withLastDecreaseDateTime
The date and time of the last provisioned throughput decrease for this table.
- Parameters:
lastDecreaseDateTime
- The date and time of the last provisioned throughput decrease for this table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNumberOfDecreasesToday
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withNumberOfDecreasesToday
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReadCapacityUnits
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withReadCapacityUnits
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setWriteCapacityUnits
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.
- Parameters:
writeCapacityUnits
- The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.
-
getWriteCapacityUnits
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.
- Returns:
- The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.
-
withWriteCapacityUnits
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.
- Parameters:
writeCapacityUnits
- The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-