com.amazonaws.services.dynamodbv2.model
Class Capacity

java.lang.Object
  extended by com.amazonaws.services.dynamodbv2.model.Capacity
All Implemented Interfaces:
java.io.Serializable

public class Capacity
extends java.lang.Object
implements java.io.Serializable

Represents the amount of provisioned throughput capacity consumed on a table or an index.

See Also:
Serialized Form

Constructor Summary
Capacity()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Double getCapacityUnits()
          The total number of capacity units consumed on a table or an index.
 int hashCode()
           
 void setCapacityUnits(java.lang.Double capacityUnits)
          The total number of capacity units consumed on a table or an index.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Capacity withCapacityUnits(java.lang.Double capacityUnits)
          The total number of capacity units consumed on a table or an index.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Capacity

public Capacity()
Method Detail

getCapacityUnits

public java.lang.Double getCapacityUnits()
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.

setCapacityUnits

public void setCapacityUnits(java.lang.Double capacityUnits)
The total number of capacity units consumed on a table or an index.

Parameters:
capacityUnits - The total number of capacity units consumed on a table or an index.

withCapacityUnits

public Capacity withCapacityUnits(java.lang.Double capacityUnits)
The total number of capacity units consumed on a table or an index.

Returns a reference to this object so that method calls can be chained together.

Parameters:
capacityUnits - The total number of capacity units consumed on a table or an index.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.