@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, setSdkResponseMetadata
public 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 Object
Object.toString()
public CheckCapacityResult clone()