@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageState extends Object implements Serializable, Cloneable, StructuredPojo
Image state shows the image status and the reason for that status.
| Constructor and Description |
|---|
ImageState() |
| Modifier and Type | Method and Description |
|---|---|
ImageState |
clone() |
boolean |
equals(Object obj) |
String |
getReason()
The reason for the image's status.
|
String |
getStatus()
The status of the image.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setReason(String reason)
The reason for the image's status.
|
void |
setStatus(String status)
The status of the image.
|
String |
toString()
Returns a string representation of this object.
|
ImageState |
withReason(String reason)
The reason for the image's status.
|
ImageState |
withStatus(ImageStatus status)
The status of the image.
|
ImageState |
withStatus(String status)
The status of the image.
|
public void setStatus(String status)
The status of the image.
status - The status of the image.ImageStatuspublic String getStatus()
The status of the image.
ImageStatuspublic ImageState withStatus(String status)
The status of the image.
status - The status of the image.ImageStatuspublic ImageState withStatus(ImageStatus status)
The status of the image.
status - The status of the image.ImageStatuspublic void setReason(String reason)
The reason for the image's status.
reason - The reason for the image's status.public String getReason()
The reason for the image's status.
public ImageState withReason(String reason)
The reason for the image's status.
reason - The reason for the image's status.public String toString()
toString in class ObjectObject.toString()public ImageState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.