@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.ImageStatus
public String getStatus()
The status of the image.
ImageStatus
public ImageState withStatus(String status)
The status of the image.
status
- The status of the image.ImageStatus
public ImageState withStatus(ImageStatus status)
The status of the image.
status
- The status of the image.ImageStatus
public 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 Object
Object.toString()
public ImageState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.