Class ProvisionedThroughput
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProvisionedThroughput.Builder,ProvisionedThroughput>
Represents the provisioned throughput settings for the specified global secondary index. You must use
ProvisionedThroughput or OnDemandThroughput based 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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final LongThe maximum number of strongly consistent reads consumed per second before DynamoDB returns aThrottlingException.static Class<? extends ProvisionedThroughput.Builder>final StringtoString()Returns a string representation of this object.final LongThe 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, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProvisionedThroughput.Builder,ProvisionedThroughput>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-