@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsDynamoDbTableProvisionedThroughput extends Object implements Serializable, Cloneable, StructuredPojo
Information about the provisioned throughput for the table or for a global secondary index.
Constructor and Description |
---|
AwsDynamoDbTableProvisionedThroughput() |
Modifier and Type | Method and Description |
---|---|
AwsDynamoDbTableProvisionedThroughput |
clone() |
boolean |
equals(Object obj) |
String |
getLastDecreaseDateTime()
Indicates when the provisioned throughput was last decreased.
|
String |
getLastIncreaseDateTime()
Indicates when the provisioned throughput was last increased.
|
Integer |
getNumberOfDecreasesToday()
The number of times during the current UTC calendar day that the provisioned throughput was decreased.
|
Integer |
getReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException . |
Integer |
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(String lastDecreaseDateTime)
Indicates when the provisioned throughput was last decreased.
|
void |
setLastIncreaseDateTime(String lastIncreaseDateTime)
Indicates when the provisioned throughput was last increased.
|
void |
setNumberOfDecreasesToday(Integer numberOfDecreasesToday)
The number of times during the current UTC calendar day that the provisioned throughput was decreased.
|
void |
setReadCapacityUnits(Integer readCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException . |
void |
setWriteCapacityUnits(Integer writeCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException . |
String |
toString()
Returns a string representation of this object.
|
AwsDynamoDbTableProvisionedThroughput |
withLastDecreaseDateTime(String lastDecreaseDateTime)
Indicates when the provisioned throughput was last decreased.
|
AwsDynamoDbTableProvisionedThroughput |
withLastIncreaseDateTime(String lastIncreaseDateTime)
Indicates when the provisioned throughput was last increased.
|
AwsDynamoDbTableProvisionedThroughput |
withNumberOfDecreasesToday(Integer numberOfDecreasesToday)
The number of times during the current UTC calendar day that the provisioned throughput was decreased.
|
AwsDynamoDbTableProvisionedThroughput |
withReadCapacityUnits(Integer readCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException . |
AwsDynamoDbTableProvisionedThroughput |
withWriteCapacityUnits(Integer writeCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException . |
public AwsDynamoDbTableProvisionedThroughput()
public void setLastDecreaseDateTime(String lastDecreaseDateTime)
Indicates when the provisioned throughput was last decreased.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
lastDecreaseDateTime
- Indicates when the provisioned throughput was last decreased.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public String getLastDecreaseDateTime()
Indicates when the provisioned throughput was last decreased.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public AwsDynamoDbTableProvisionedThroughput withLastDecreaseDateTime(String lastDecreaseDateTime)
Indicates when the provisioned throughput was last decreased.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
lastDecreaseDateTime
- Indicates when the provisioned throughput was last decreased.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public void setLastIncreaseDateTime(String lastIncreaseDateTime)
Indicates when the provisioned throughput was last increased.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
lastIncreaseDateTime
- Indicates when the provisioned throughput was last increased.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public String getLastIncreaseDateTime()
Indicates when the provisioned throughput was last increased.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public AwsDynamoDbTableProvisionedThroughput withLastIncreaseDateTime(String lastIncreaseDateTime)
Indicates when the provisioned throughput was last increased.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
lastIncreaseDateTime
- Indicates when the provisioned throughput was last increased.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public void setNumberOfDecreasesToday(Integer numberOfDecreasesToday)
The number of times during the current UTC calendar day that the provisioned throughput was decreased.
numberOfDecreasesToday
- The number of times during the current UTC calendar day that the provisioned throughput was decreased.public Integer getNumberOfDecreasesToday()
The number of times during the current UTC calendar day that the provisioned throughput was decreased.
public AwsDynamoDbTableProvisionedThroughput withNumberOfDecreasesToday(Integer numberOfDecreasesToday)
The number of times during the current UTC calendar day that the provisioned throughput was decreased.
numberOfDecreasesToday
- The number of times during the current UTC calendar day that the provisioned throughput was decreased.public void setReadCapacityUnits(Integer readCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
.
readCapacityUnits
- The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
.public Integer getReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
.
ThrottlingException
.public AwsDynamoDbTableProvisionedThroughput withReadCapacityUnits(Integer readCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
.
readCapacityUnits
- The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
.public void setWriteCapacityUnits(Integer 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 Integer getWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
.
ThrottlingException
.public AwsDynamoDbTableProvisionedThroughput withWriteCapacityUnits(Integer 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 AwsDynamoDbTableProvisionedThroughput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.