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 the specified global secondary index. You must use
ProvisionedThroughputorOnDemandThroughputbased on your table’s capacity mode.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 interfaceProvisionedThroughput.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProvisionedThroughput.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongreadCapacityUnits()The maximum number of strongly consistent reads consumed per second before DynamoDB returns aThrottlingException.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ProvisionedThroughput.Builder>serializableBuilderClass()ProvisionedThroughput.BuildertoBuilder()StringtoString()Returns a string representation of this object.LongwriteCapacityUnits()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_REQUESTthe 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_REQUESTthe 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_REQUESTthe 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_REQUESTthe value is set to 0.
-
toBuilder
public ProvisionedThroughput.Builder toBuilder()
- Specified by:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-