Class Capacity
- java.lang.Object
-
- software.amazon.awssdk.services.dynamodb.model.Capacity
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Capacity.Builder,Capacity>
@Generated("software.amazon.awssdk:codegen") public final class Capacity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Capacity.Builder,Capacity>
Represents the amount of provisioned throughput capacity consumed on a table or an index.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Capacity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Capacity.Builder
builder()
Double
capacityUnits()
The total number of capacity units consumed on a table or an index.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Double
readCapacityUnits()
The total number of read capacity units consumed on a table or an index.List<SdkField<?>>
sdkFields()
static Class<? extends Capacity.Builder>
serializableBuilderClass()
Capacity.Builder
toBuilder()
String
toString()
Returns a string representation of this object.Double
writeCapacityUnits()
The total number of write capacity units consumed on a table or an index.-
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 Double readCapacityUnits()
The total number of read capacity units consumed on a table or an index.
- Returns:
- The total number of read capacity units consumed on a table or an index.
-
writeCapacityUnits
public final Double writeCapacityUnits()
The total number of write capacity units consumed on a table or an index.
- Returns:
- The total number of write capacity units consumed on a table or an index.
-
capacityUnits
public final Double capacityUnits()
The total number of capacity units consumed on a table or an index.
- Returns:
- The total number of capacity units consumed on a table or an index.
-
toBuilder
public Capacity.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<Capacity.Builder,Capacity>
-
builder
public static Capacity.Builder builder()
-
serializableBuilderClass
public static Class<? extends Capacity.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.
-
-