@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageState extends Object implements Serializable, Cloneable, StructuredPojo
Image state shows the images 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.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 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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.