public class ConsumedCapacity extends Object implements Serializable
The table name that consumed provisioned throughput, and the number of capacity units consumed by it. ConsumedCapacity is only returned if it was asked for in the request. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.
Constructor and Description |
---|
ConsumedCapacity() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Double |
getCapacityUnits()
The total number of capacity units consumed.
|
String |
getTableName()
The table that consumed the provisioned throughput.
|
int |
hashCode() |
void |
setCapacityUnits(Double capacityUnits)
The total number of capacity units consumed.
|
void |
setTableName(String tableName)
The table that consumed the provisioned throughput.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConsumedCapacity |
withCapacityUnits(Double capacityUnits)
The total number of capacity units consumed.
|
ConsumedCapacity |
withTableName(String tableName)
The table that consumed the provisioned throughput.
|
public String getTableName()
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
public void setTableName(String tableName)
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
tableName
- The table that consumed the provisioned throughput.public ConsumedCapacity withTableName(String tableName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
tableName
- The table that consumed the provisioned throughput.public Double getCapacityUnits()
public void setCapacityUnits(Double capacityUnits)
capacityUnits
- The total number of capacity units consumed.public ConsumedCapacity withCapacityUnits(Double capacityUnits)
Returns a reference to this object so that method calls can be chained together.
capacityUnits
- The total number of capacity units consumed.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.