@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageScanFinding extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an image scan finding.
| Constructor and Description |
|---|
ImageScanFinding() |
| Modifier and Type | Method and Description |
|---|---|
ImageScanFinding |
clone() |
boolean |
equals(Object obj) |
List<Attribute> |
getAttributes()
A collection of attributes of the host from which the finding is generated.
|
String |
getDescription()
The description of the finding.
|
String |
getName()
The name associated with the finding, usually a CVE number.
|
String |
getSeverity()
The finding severity.
|
String |
getUri()
A link containing additional details about the security vulnerability.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAttributes(Collection<Attribute> attributes)
A collection of attributes of the host from which the finding is generated.
|
void |
setDescription(String description)
The description of the finding.
|
void |
setName(String name)
The name associated with the finding, usually a CVE number.
|
void |
setSeverity(String severity)
The finding severity.
|
void |
setUri(String uri)
A link containing additional details about the security vulnerability.
|
String |
toString()
Returns a string representation of this object.
|
ImageScanFinding |
withAttributes(Attribute... attributes)
A collection of attributes of the host from which the finding is generated.
|
ImageScanFinding |
withAttributes(Collection<Attribute> attributes)
A collection of attributes of the host from which the finding is generated.
|
ImageScanFinding |
withDescription(String description)
The description of the finding.
|
ImageScanFinding |
withName(String name)
The name associated with the finding, usually a CVE number.
|
ImageScanFinding |
withSeverity(FindingSeverity severity)
The finding severity.
|
ImageScanFinding |
withSeverity(String severity)
The finding severity.
|
ImageScanFinding |
withUri(String uri)
A link containing additional details about the security vulnerability.
|
public void setName(String name)
The name associated with the finding, usually a CVE number.
name - The name associated with the finding, usually a CVE number.public String getName()
The name associated with the finding, usually a CVE number.
public ImageScanFinding withName(String name)
The name associated with the finding, usually a CVE number.
name - The name associated with the finding, usually a CVE number.public void setDescription(String description)
The description of the finding.
description - The description of the finding.public String getDescription()
The description of the finding.
public ImageScanFinding withDescription(String description)
The description of the finding.
description - The description of the finding.public void setUri(String uri)
A link containing additional details about the security vulnerability.
uri - A link containing additional details about the security vulnerability.public String getUri()
A link containing additional details about the security vulnerability.
public ImageScanFinding withUri(String uri)
A link containing additional details about the security vulnerability.
uri - A link containing additional details about the security vulnerability.public void setSeverity(String severity)
The finding severity.
severity - The finding severity.FindingSeveritypublic String getSeverity()
The finding severity.
FindingSeveritypublic ImageScanFinding withSeverity(String severity)
The finding severity.
severity - The finding severity.FindingSeveritypublic ImageScanFinding withSeverity(FindingSeverity severity)
The finding severity.
severity - The finding severity.FindingSeveritypublic List<Attribute> getAttributes()
A collection of attributes of the host from which the finding is generated.
public void setAttributes(Collection<Attribute> attributes)
A collection of attributes of the host from which the finding is generated.
attributes - A collection of attributes of the host from which the finding is generated.public ImageScanFinding withAttributes(Attribute... attributes)
A collection of attributes of the host from which the finding is generated.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection) or withAttributes(java.util.Collection) if you want to
override the existing values.
attributes - A collection of attributes of the host from which the finding is generated.public ImageScanFinding withAttributes(Collection<Attribute> attributes)
A collection of attributes of the host from which the finding is generated.
attributes - A collection of attributes of the host from which the finding is generated.public String toString()
toString in class ObjectObject.toString()public ImageScanFinding clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.