@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageState extends Object implements Serializable, Cloneable, StructuredPojo
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 status of the image.
|
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 status of the image.
|
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 status of the image.
|
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 status of the image.
reason - The reason for the status of the image.public String getReason()
The reason for the status of the image.
public ImageState withReason(String reason)
The reason for the status of the image.
reason - The reason for the status of the image.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.