@Generated(value="software.amazon.awssdk:codegen") public final class ImageScanFindings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImageScanFindings.Builder,ImageScanFindings>
The details of an image scan.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImageScanFindings.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImageScanFindings.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<ImageScanFinding> |
findings()
The findings from the image scan.
|
Map<FindingSeverity,Integer> |
findingSeverityCounts()
The image vulnerability counts, sorted by severity.
|
Map<String,Integer> |
findingSeverityCountsAsStrings()
The image vulnerability counts, sorted by severity.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFindings()
Returns true if the Findings property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasFindingSeverityCounts()
Returns true if the FindingSeverityCounts property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
Instant |
imageScanCompletedAt()
The time of the last completed image scan.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ImageScanFindings.Builder> |
serializableBuilderClass() |
ImageScanFindings.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
vulnerabilitySourceUpdatedAt()
The time when the vulnerability data was last scanned.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant imageScanCompletedAt()
The time of the last completed image scan.
public final Instant vulnerabilitySourceUpdatedAt()
The time when the vulnerability data was last scanned.
public final boolean hasFindings()
public final List<ImageScanFinding> findings()
The findings from the image scan.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFindings() to see if a value was sent in this field.
public final Map<FindingSeverity,Integer> findingSeverityCounts()
The image vulnerability counts, sorted by severity.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFindingSeverityCounts() to see if a value was sent in this field.
public final boolean hasFindingSeverityCounts()
public final Map<String,Integer> findingSeverityCountsAsStrings()
The image vulnerability counts, sorted by severity.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFindingSeverityCounts() to see if a value was sent in this field.
public ImageScanFindings.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ImageScanFindings.Builder,ImageScanFindings>public static ImageScanFindings.Builder builder()
public static Class<? extends ImageScanFindings.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.