@Generated(value="software.amazon.awssdk:codegen") public class ConsumedCapacity extends Object implements StructuredPojo, software.amazon.awssdk.utils.builder.ToCopyableBuilder<ConsumedCapacity.Builder,ConsumedCapacity>
The capacity units consumed by an operation. The data returned includes the total provisioned throughput consumed,
along with statistics for the table and any indexes involved in the operation. ConsumedCapacity
is only
returned if the request asked for it. For more information, see Provisioned
Throughput in the Amazon DynamoDB Developer Guide.
Modifier and Type | Class and Description |
---|---|
static interface |
ConsumedCapacity.Builder |
Modifier and Type | Method and Description |
---|---|
static ConsumedCapacity.Builder |
builder() |
Double |
capacityUnits()
The total number of capacity units consumed by the operation.
|
boolean |
equals(Object obj) |
Map<String,Capacity> |
globalSecondaryIndexes()
The amount of throughput consumed on each global index affected by the operation.
|
int |
hashCode() |
Map<String,Capacity> |
localSecondaryIndexes()
The amount of throughput consumed on each local index affected by the operation.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
static Class<? extends ConsumedCapacity.Builder> |
serializableBuilderClass() |
Capacity |
table()
The amount of throughput consumed on the table affected by the operation.
|
String |
tableName()
The name of the table that was affected by the operation.
|
ConsumedCapacity.Builder |
toBuilder() |
String |
toString() |
public String tableName()
The name of the table that was affected by the operation.
public Double capacityUnits()
The total number of capacity units consumed by the operation.
public Capacity table()
The amount of throughput consumed on the table affected by the operation.
public Map<String,Capacity> localSecondaryIndexes()
The amount of throughput consumed on each local index affected by the operation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Map<String,Capacity> globalSecondaryIndexes()
The amount of throughput consumed on each global index affected by the operation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ConsumedCapacity.Builder toBuilder()
toBuilder
in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<ConsumedCapacity.Builder,ConsumedCapacity>
public static ConsumedCapacity.Builder builder()
public static Class<? extends ConsumedCapacity.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2017. All rights reserved.