@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyCapacityReservationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ModifyCapacityReservationResult() |
Modifier and Type | Method and Description |
---|---|
ModifyCapacityReservationResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getReturn()
Returns
true if the request succeeds; otherwise, it returns an error. |
int |
hashCode() |
Boolean |
isReturn()
Returns
true if the request succeeds; otherwise, it returns an error. |
void |
setReturn(Boolean returnValue)
Returns
true if the request succeeds; otherwise, it returns an error. |
String |
toString()
Returns a string representation of this object.
|
ModifyCapacityReservationResult |
withReturn(Boolean returnValue)
Returns
true if the request succeeds; otherwise, it returns an error. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setReturn(Boolean returnValue)
Returns true
if the request succeeds; otherwise, it returns an error.
returnValue
- Returns true
if the request succeeds; otherwise, it returns an error.public Boolean getReturn()
Returns true
if the request succeeds; otherwise, it returns an error.
true
if the request succeeds; otherwise, it returns an error.public ModifyCapacityReservationResult withReturn(Boolean returnValue)
Returns true
if the request succeeds; otherwise, it returns an error.
returnValue
- Returns true
if the request succeeds; otherwise, it returns an error.public Boolean isReturn()
Returns true
if the request succeeds; otherwise, it returns an error.
true
if the request succeeds; otherwise, it returns an error.public String toString()
toString
in class Object
Object.toString()
public ModifyCapacityReservationResult clone()