@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageScanFindings extends Object implements Serializable, Cloneable, StructuredPojo
The details of an image scan.
Constructor and Description |
---|
ImageScanFindings() |
Modifier and Type | Method and Description |
---|---|
ImageScanFindings |
addFindingSeverityCountsEntry(String key,
Integer value)
Add a single FindingSeverityCounts entry
|
ImageScanFindings |
clearFindingSeverityCountsEntries()
Removes all the entries added into FindingSeverityCounts.
|
ImageScanFindings |
clone() |
boolean |
equals(Object obj) |
List<EnhancedImageScanFinding> |
getEnhancedFindings()
Details about the enhanced scan findings from Amazon Inspector.
|
List<ImageScanFinding> |
getFindings()
The findings from the image scan.
|
Map<String,Integer> |
getFindingSeverityCounts()
The image vulnerability counts, sorted by severity.
|
Date |
getImageScanCompletedAt()
The time of the last completed image scan.
|
Date |
getVulnerabilitySourceUpdatedAt()
The time when the vulnerability data was last scanned.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnhancedFindings(Collection<EnhancedImageScanFinding> enhancedFindings)
Details about the enhanced scan findings from Amazon Inspector.
|
void |
setFindings(Collection<ImageScanFinding> findings)
The findings from the image scan.
|
void |
setFindingSeverityCounts(Map<String,Integer> findingSeverityCounts)
The image vulnerability counts, sorted by severity.
|
void |
setImageScanCompletedAt(Date imageScanCompletedAt)
The time of the last completed image scan.
|
void |
setVulnerabilitySourceUpdatedAt(Date vulnerabilitySourceUpdatedAt)
The time when the vulnerability data was last scanned.
|
String |
toString()
Returns a string representation of this object.
|
ImageScanFindings |
withEnhancedFindings(Collection<EnhancedImageScanFinding> enhancedFindings)
Details about the enhanced scan findings from Amazon Inspector.
|
ImageScanFindings |
withEnhancedFindings(EnhancedImageScanFinding... enhancedFindings)
Details about the enhanced scan findings from Amazon Inspector.
|
ImageScanFindings |
withFindings(Collection<ImageScanFinding> findings)
The findings from the image scan.
|
ImageScanFindings |
withFindings(ImageScanFinding... findings)
The findings from the image scan.
|
ImageScanFindings |
withFindingSeverityCounts(Map<String,Integer> findingSeverityCounts)
The image vulnerability counts, sorted by severity.
|
ImageScanFindings |
withImageScanCompletedAt(Date imageScanCompletedAt)
The time of the last completed image scan.
|
ImageScanFindings |
withVulnerabilitySourceUpdatedAt(Date vulnerabilitySourceUpdatedAt)
The time when the vulnerability data was last scanned.
|
public void setImageScanCompletedAt(Date imageScanCompletedAt)
The time of the last completed image scan.
imageScanCompletedAt
- The time of the last completed image scan.public Date getImageScanCompletedAt()
The time of the last completed image scan.
public ImageScanFindings withImageScanCompletedAt(Date imageScanCompletedAt)
The time of the last completed image scan.
imageScanCompletedAt
- The time of the last completed image scan.public void setVulnerabilitySourceUpdatedAt(Date vulnerabilitySourceUpdatedAt)
The time when the vulnerability data was last scanned.
vulnerabilitySourceUpdatedAt
- The time when the vulnerability data was last scanned.public Date getVulnerabilitySourceUpdatedAt()
The time when the vulnerability data was last scanned.
public ImageScanFindings withVulnerabilitySourceUpdatedAt(Date vulnerabilitySourceUpdatedAt)
The time when the vulnerability data was last scanned.
vulnerabilitySourceUpdatedAt
- The time when the vulnerability data was last scanned.public Map<String,Integer> getFindingSeverityCounts()
The image vulnerability counts, sorted by severity.
public void setFindingSeverityCounts(Map<String,Integer> findingSeverityCounts)
The image vulnerability counts, sorted by severity.
findingSeverityCounts
- The image vulnerability counts, sorted by severity.public ImageScanFindings withFindingSeverityCounts(Map<String,Integer> findingSeverityCounts)
The image vulnerability counts, sorted by severity.
findingSeverityCounts
- The image vulnerability counts, sorted by severity.public ImageScanFindings addFindingSeverityCountsEntry(String key, Integer value)
public ImageScanFindings clearFindingSeverityCountsEntries()
public List<ImageScanFinding> getFindings()
The findings from the image scan.
public void setFindings(Collection<ImageScanFinding> findings)
The findings from the image scan.
findings
- The findings from the image scan.public ImageScanFindings withFindings(ImageScanFinding... findings)
The findings from the image scan.
NOTE: This method appends the values to the existing list (if any). Use
setFindings(java.util.Collection)
or withFindings(java.util.Collection)
if you want to override
the existing values.
findings
- The findings from the image scan.public ImageScanFindings withFindings(Collection<ImageScanFinding> findings)
The findings from the image scan.
findings
- The findings from the image scan.public List<EnhancedImageScanFinding> getEnhancedFindings()
Details about the enhanced scan findings from Amazon Inspector.
public void setEnhancedFindings(Collection<EnhancedImageScanFinding> enhancedFindings)
Details about the enhanced scan findings from Amazon Inspector.
enhancedFindings
- Details about the enhanced scan findings from Amazon Inspector.public ImageScanFindings withEnhancedFindings(EnhancedImageScanFinding... enhancedFindings)
Details about the enhanced scan findings from Amazon Inspector.
NOTE: This method appends the values to the existing list (if any). Use
setEnhancedFindings(java.util.Collection)
or withEnhancedFindings(java.util.Collection)
if you
want to override the existing values.
enhancedFindings
- Details about the enhanced scan findings from Amazon Inspector.public ImageScanFindings withEnhancedFindings(Collection<EnhancedImageScanFinding> enhancedFindings)
Details about the enhanced scan findings from Amazon Inspector.
enhancedFindings
- Details about the enhanced scan findings from Amazon Inspector.public String toString()
toString
in class Object
Object.toString()
public ImageScanFindings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.