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