@Generated(value="software.amazon.awssdk:codegen") public final class ProvisionedThroughputDescription extends Object implements StructuredPojo, ToCopyableBuilder<ProvisionedThroughputDescription.Builder,ProvisionedThroughputDescription>
Represents the provisioned throughput settings for the table, consisting of read and write capacity units, along with data about increases and decreases.
Modifier and Type | Class and Description |
---|---|
static interface |
ProvisionedThroughputDescription.Builder |
Modifier and Type | Method and Description |
---|---|
static ProvisionedThroughputDescription.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastDecreaseDateTime()
The date and time of the last provisioned throughput decrease for this table.
|
Instant |
lastIncreaseDateTime()
The date and time of the last provisioned throughput increase for this table.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Long |
numberOfDecreasesToday()
The number of provisioned throughput decreases for this table during this UTC calendar day.
|
Long |
readCapacityUnits()
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException . |
static Class<? extends ProvisionedThroughputDescription.Builder> |
serializableBuilderClass() |
ProvisionedThroughputDescription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Long |
writeCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException . |
copy
public Instant lastIncreaseDateTime()
The date and time of the last provisioned throughput increase for this table.
public Instant lastDecreaseDateTime()
The date and time of the last provisioned throughput decrease for this table.
public 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.
public 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.
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 writeCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
.
ThrottlingException
.public ProvisionedThroughputDescription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ProvisionedThroughputDescription.Builder,ProvisionedThroughputDescription>
public static ProvisionedThroughputDescription.Builder builder()
public static Class<? extends ProvisionedThroughputDescription.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.