@Generated(value="com.amazonaws:awsjavasdkcodegenerator") public class ConsumedCapacity extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description 

ConsumedCapacity() 
Modifier and Type  Method and Description 

ConsumedCapacity 
addGlobalSecondaryIndexesEntry(String key,
Capacity value) 
ConsumedCapacity 
addLocalSecondaryIndexesEntry(String key,
Capacity value) 
ConsumedCapacity 
clearGlobalSecondaryIndexesEntries()
Removes all the entries added into GlobalSecondaryIndexes.

ConsumedCapacity 
clearLocalSecondaryIndexesEntries()
Removes all the entries added into LocalSecondaryIndexes.

ConsumedCapacity 
clone() 
boolean 
equals(Object obj) 
Double 
getCapacityUnits()
The total number of capacity units consumed by the operation.

Map<String,Capacity> 
getGlobalSecondaryIndexes()
The amount of throughput consumed on each global index affected by the operation.

Map<String,Capacity> 
getLocalSecondaryIndexes()
The amount of throughput consumed on each local index affected by the operation.

Double 
getReadCapacityUnits()
The total number of read capacity units consumed by the operation.

Capacity 
getTable()
The amount of throughput consumed on the table affected by the operation.

String 
getTableName()
The name of the table that was affected by the operation.

Double 
getWriteCapacityUnits()
The total number of write capacity units consumed by the operation.

int 
hashCode() 
void 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . 
void 
setCapacityUnits(Double capacityUnits)
The total number of capacity units consumed by the operation.

void 
setGlobalSecondaryIndexes(Map<String,Capacity> globalSecondaryIndexes)
The amount of throughput consumed on each global index affected by the operation.

void 
setLocalSecondaryIndexes(Map<String,Capacity> localSecondaryIndexes)
The amount of throughput consumed on each local index affected by the operation.

void 
setReadCapacityUnits(Double readCapacityUnits)
The total number of read capacity units consumed by the operation.

void 
setTable(Capacity table)
The amount of throughput consumed on the table affected by the operation.

void 
setTableName(String tableName)
The name of the table that was affected by the operation.

void 
setWriteCapacityUnits(Double writeCapacityUnits)
The total number of write capacity units consumed by the operation.

String 
toString()
Returns a string representation of this object.

ConsumedCapacity 
withCapacityUnits(Double capacityUnits)
The total number of capacity units consumed by the operation.

ConsumedCapacity 
withGlobalSecondaryIndexes(Map<String,Capacity> globalSecondaryIndexes)
The amount of throughput consumed on each global index affected by the operation.

ConsumedCapacity 
withLocalSecondaryIndexes(Map<String,Capacity> localSecondaryIndexes)
The amount of throughput consumed on each local index affected by the operation.

ConsumedCapacity 
withReadCapacityUnits(Double readCapacityUnits)
The total number of read capacity units consumed by the operation.

ConsumedCapacity 
withTable(Capacity table)
The amount of throughput consumed on the table affected by the operation.

ConsumedCapacity 
withTableName(String tableName)
The name of the table that was affected by the operation.

ConsumedCapacity 
withWriteCapacityUnits(Double writeCapacityUnits)
The total number of write capacity units consumed by the operation.

public void setTableName(String tableName)
The name of the table that was affected by the operation.
tableName
 The name of the table that was affected by the operation.public String getTableName()
The name of the table that was affected by the operation.
public ConsumedCapacity withTableName(String tableName)
The name of the table that was affected by the operation.
tableName
 The name of the table that was affected by the operation.public void setCapacityUnits(Double capacityUnits)
The total number of capacity units consumed by the operation.
capacityUnits
 The total number of capacity units consumed by the operation.public Double getCapacityUnits()
The total number of capacity units consumed by the operation.
public ConsumedCapacity withCapacityUnits(Double capacityUnits)
The total number of capacity units consumed by the operation.
capacityUnits
 The total number of capacity units consumed by the operation.public void setReadCapacityUnits(Double readCapacityUnits)
The total number of read capacity units consumed by the operation.
readCapacityUnits
 The total number of read capacity units consumed by the operation.public Double getReadCapacityUnits()
The total number of read capacity units consumed by the operation.
public ConsumedCapacity withReadCapacityUnits(Double readCapacityUnits)
The total number of read capacity units consumed by the operation.
readCapacityUnits
 The total number of read capacity units consumed by the operation.public void setWriteCapacityUnits(Double writeCapacityUnits)
The total number of write capacity units consumed by the operation.
writeCapacityUnits
 The total number of write capacity units consumed by the operation.public Double getWriteCapacityUnits()
The total number of write capacity units consumed by the operation.
public ConsumedCapacity withWriteCapacityUnits(Double writeCapacityUnits)
The total number of write capacity units consumed by the operation.
writeCapacityUnits
 The total number of write capacity units consumed by the operation.public void setTable(Capacity table)
The amount of throughput consumed on the table affected by the operation.
table
 The amount of throughput consumed on the table affected by the operation.public Capacity getTable()
The amount of throughput consumed on the table affected by the operation.
public ConsumedCapacity withTable(Capacity table)
The amount of throughput consumed on the table affected by the operation.
table
 The amount of throughput consumed on the table affected by the operation.public Map<String,Capacity> getLocalSecondaryIndexes()
The amount of throughput consumed on each local index affected by the operation.
public void setLocalSecondaryIndexes(Map<String,Capacity> localSecondaryIndexes)
The amount of throughput consumed on each local index affected by the operation.
localSecondaryIndexes
 The amount of throughput consumed on each local index affected by the operation.public ConsumedCapacity withLocalSecondaryIndexes(Map<String,Capacity> localSecondaryIndexes)
The amount of throughput consumed on each local index affected by the operation.
localSecondaryIndexes
 The amount of throughput consumed on each local index affected by the operation.public ConsumedCapacity addLocalSecondaryIndexesEntry(String key, Capacity value)
public ConsumedCapacity clearLocalSecondaryIndexesEntries()
public Map<String,Capacity> getGlobalSecondaryIndexes()
The amount of throughput consumed on each global index affected by the operation.
public void setGlobalSecondaryIndexes(Map<String,Capacity> globalSecondaryIndexes)
The amount of throughput consumed on each global index affected by the operation.
globalSecondaryIndexes
 The amount of throughput consumed on each global index affected by the operation.public ConsumedCapacity withGlobalSecondaryIndexes(Map<String,Capacity> globalSecondaryIndexes)
The amount of throughput consumed on each global index affected by the operation.
globalSecondaryIndexes
 The amount of throughput consumed on each global index affected by the operation.public ConsumedCapacity addGlobalSecondaryIndexesEntry(String key, Capacity value)
public ConsumedCapacity clearGlobalSecondaryIndexesEntries()
public String toString()
toString
in class Object
Object.toString()
public ConsumedCapacity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
 Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.