@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageStateChangeReason extends Object implements Serializable, Cloneable
The reason why the last state change occurred.
| Constructor and Description |
|---|
ImageStateChangeReason() |
| Modifier and Type | Method and Description |
|---|---|
ImageStateChangeReason |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The state change reason code of the image.
|
String |
getMessage()
The state change reason message to the end user.
|
int |
hashCode() |
void |
setCode(ImageStateChangeReasonCode code)
The state change reason code of the image.
|
void |
setCode(String code)
The state change reason code of the image.
|
void |
setMessage(String message)
The state change reason message to the end user.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ImageStateChangeReason |
withCode(ImageStateChangeReasonCode code)
The state change reason code of the image.
|
ImageStateChangeReason |
withCode(String code)
The state change reason code of the image.
|
ImageStateChangeReason |
withMessage(String message)
The state change reason message to the end user.
|
public void setCode(String code)
The state change reason code of the image.
code - The state change reason code of the image.ImageStateChangeReasonCodepublic String getCode()
The state change reason code of the image.
ImageStateChangeReasonCodepublic ImageStateChangeReason withCode(String code)
The state change reason code of the image.
code - The state change reason code of the image.ImageStateChangeReasonCodepublic void setCode(ImageStateChangeReasonCode code)
The state change reason code of the image.
code - The state change reason code of the image.ImageStateChangeReasonCodepublic ImageStateChangeReason withCode(ImageStateChangeReasonCode code)
The state change reason code of the image.
code - The state change reason code of the image.ImageStateChangeReasonCodepublic void setMessage(String message)
The state change reason message to the end user.
message - The state change reason message to the end user.public String getMessage()
The state change reason message to the end user.
public ImageStateChangeReason withMessage(String message)
The state change reason message to the end user.
message - The state change reason message to the end user.public String toString()
toString in class ObjectObject.toString()public ImageStateChangeReason clone()
Copyright © 2017. All rights reserved.