@Generated(value="software.amazon.awssdk:codegen") public final class EnhancedImageScanFinding extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EnhancedImageScanFinding.Builder,EnhancedImageScanFinding>
The details of an enhanced image scan. This is returned when enhanced scanning is enabled for your private registry.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EnhancedImageScanFinding.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
awsAccountId()
The Amazon Web Services account ID associated with the image.
|
static EnhancedImageScanFinding.Builder |
builder() |
String |
description()
The description of the finding.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
findingArn()
The Amazon Resource Number (ARN) of the finding.
|
Instant |
firstObservedAt()
The date and time that the finding was first observed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasResources()
For responses, this returns true if the service returned a value for the Resources property.
|
Instant |
lastObservedAt()
The date and time that the finding was last observed.
|
PackageVulnerabilityDetails |
packageVulnerabilityDetails()
An object that contains the details of a package vulnerability finding.
|
Remediation |
remediation()
An object that contains the details about how to remediate a finding.
|
List<Resource> |
resources()
Contains information on the resources involved in a finding.
|
Double |
score()
The Amazon Inspector score given to the finding.
|
ScoreDetails |
scoreDetails()
An object that contains details of the Amazon Inspector score.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EnhancedImageScanFinding.Builder> |
serializableBuilderClass() |
String |
severity()
The severity of the finding.
|
String |
status()
The status of the finding.
|
String |
title()
The title of the finding.
|
EnhancedImageScanFinding.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The type of the finding.
|
Instant |
updatedAt()
The date and time the finding was last updated at.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String awsAccountId()
The Amazon Web Services account ID associated with the image.
public final String description()
The description of the finding.
public final String findingArn()
The Amazon Resource Number (ARN) of the finding.
public final Instant firstObservedAt()
The date and time that the finding was first observed.
public final Instant lastObservedAt()
The date and time that the finding was last observed.
public final PackageVulnerabilityDetails packageVulnerabilityDetails()
An object that contains the details of a package vulnerability finding.
public final Remediation remediation()
An object that contains the details about how to remediate a finding.
public final boolean hasResources()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<Resource> resources()
Contains information on the resources involved in a finding.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasResources() method.
public final Double score()
The Amazon Inspector score given to the finding.
public final ScoreDetails scoreDetails()
An object that contains details of the Amazon Inspector score.
public final String severity()
The severity of the finding.
public final String status()
The status of the finding.
public final String title()
The title of the finding.
public final String type()
The type of the finding.
public final Instant updatedAt()
The date and time the finding was last updated at.
public EnhancedImageScanFinding.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EnhancedImageScanFinding.Builder,EnhancedImageScanFinding>public static EnhancedImageScanFinding.Builder builder()
public static Class<? extends EnhancedImageScanFinding.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.