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