@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CheckCapacityResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CheckCapacityResult() |
| Modifier and Type | Method and Description |
|---|---|
CheckCapacityResult |
clone() |
boolean |
equals(Object obj) |
Long |
getCapacity()
The capacity required by the rules and scope.
|
int |
hashCode() |
void |
setCapacity(Long capacity)
The capacity required by the rules and scope.
|
String |
toString()
Returns a string representation of this object.
|
CheckCapacityResult |
withCapacity(Long capacity)
The capacity required by the rules and scope.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setCapacity(Long capacity)
The capacity required by the rules and scope.
capacity - The capacity required by the rules and scope.public Long getCapacity()
The capacity required by the rules and scope.
public CheckCapacityResult withCapacity(Long capacity)
The capacity required by the rules and scope.
capacity - The capacity required by the rules and scope.public String toString()
toString in class ObjectObject.toString()public CheckCapacityResult clone()