@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageStateChangeReason extends Object implements Serializable, Cloneable, StructuredPojo
Describes the reason why the last image 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.
|
String |
getMessage()
The state change reason message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(ImageStateChangeReasonCode code)
The state change reason code.
|
void |
setCode(String code)
The state change reason code.
|
void |
setMessage(String message)
The state change reason message.
|
String |
toString()
Returns a string representation of this object.
|
ImageStateChangeReason |
withCode(ImageStateChangeReasonCode code)
The state change reason code.
|
ImageStateChangeReason |
withCode(String code)
The state change reason code.
|
ImageStateChangeReason |
withMessage(String message)
The state change reason message.
|
public void setCode(String code)
The state change reason code.
code - The state change reason code.ImageStateChangeReasonCodepublic String getCode()
The state change reason code.
ImageStateChangeReasonCodepublic ImageStateChangeReason withCode(String code)
The state change reason code.
code - The state change reason code.ImageStateChangeReasonCodepublic void setCode(ImageStateChangeReasonCode code)
The state change reason code.
code - The state change reason code.ImageStateChangeReasonCodepublic ImageStateChangeReason withCode(ImageStateChangeReasonCode code)
The state change reason code.
code - The state change reason code.ImageStateChangeReasonCodepublic void setMessage(String message)
The state change reason message.
message - The state change reason message.public String getMessage()
The state change reason message.
public ImageStateChangeReason withMessage(String message)
The state change reason message.
message - The state change reason message.public String toString()
toString in class ObjectObject.toString()public ImageStateChangeReason clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.