Class ProvisionedThroughput
- java.lang.Object
-
- software.amazon.awssdk.services.dynamodb.model.ProvisionedThroughput
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ProvisionedThroughput.Builder,ProvisionedThroughput>
@Generated("software.amazon.awssdk:codegen") public final class ProvisionedThroughput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProvisionedThroughput.Builder,ProvisionedThroughput>
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 Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ProvisionedThroughput.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProvisionedThroughput.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Long
readCapacityUnits()
The maximum number of strongly consistent reads consumed per second before DynamoDB returns aThrottlingException
.List<SdkField<?>>
sdkFields()
static Class<? extends ProvisionedThroughput.Builder>
serializableBuilderClass()
ProvisionedThroughput.Builder
toBuilder()
String
toString()
Returns a string representation of this object.Long
writeCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns aThrottlingException
.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
readCapacityUnits
public final 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.If read/write capacity mode is
PAY_PER_REQUEST
the value is set to 0.- Returns:
- 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.If read/write capacity mode is
PAY_PER_REQUEST
the value is set to 0.
-
writeCapacityUnits
public final 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.If read/write capacity mode is
PAY_PER_REQUEST
the value is set to 0.- Returns:
- 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.If read/write capacity mode is
PAY_PER_REQUEST
the value is set to 0.
-
toBuilder
public ProvisionedThroughput.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ProvisionedThroughput.Builder,ProvisionedThroughput>
-
builder
public static ProvisionedThroughput.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProvisionedThroughput.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-