@Generated(value="software.amazon.awssdk:codegen") public final class Capacity extends Object implements StructuredPojo, ToCopyableBuilder<Capacity.Builder,Capacity>
Represents the amount of provisioned throughput capacity consumed on a table or an index.
Modifier and Type | Class and Description |
---|---|
static interface |
Capacity.Builder |
Modifier and Type | Method and Description |
---|---|
static Capacity.Builder |
builder() |
Double |
capacityUnits()
The total number of capacity units consumed on a table or an index.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Capacity.Builder> |
serializableBuilderClass() |
Capacity.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Double capacityUnits()
The total number of capacity units consumed on a table or an index.
public Capacity.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Capacity.Builder,Capacity>
public static Capacity.Builder builder()
public static Class<? extends Capacity.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.