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.
Constructor and Description |
---|
Capacity() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.Double getCapacityUnits()
The total number of capacity units consumed on a table or an index.
The total number of capacity units consumed on a table or an index.
public void setCapacityUnits(java.lang.Double capacityUnits)
The total number of capacity units consumed on a table or an index.
capacityUnits
- The total number of capacity units consumed on a table or an index.
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.
capacityUnits
- The total number of capacity units consumed on a table or an index.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.