public static interface ImageScanFinding.Builder extends SdkPojo, CopyableBuilder<ImageScanFinding.Builder,ImageScanFinding>
| Modifier and Type | Method and Description |
|---|---|
ImageScanFinding.Builder |
awsAccountId(String awsAccountId)
The Amazon Web Services account ID that's associated with the finding.
|
ImageScanFinding.Builder |
description(String description)
The description of the finding.
|
ImageScanFinding.Builder |
firstObservedAt(Instant firstObservedAt)
The date and time when the finding was first observed.
|
ImageScanFinding.Builder |
fixAvailable(String fixAvailable)
Details about whether a fix is available for any of the packages that are identified in the finding through a
version update.
|
ImageScanFinding.Builder |
imageBuildVersionArn(String imageBuildVersionArn)
The Amazon Resource Name (ARN) of the image build version that's associated with the finding.
|
ImageScanFinding.Builder |
imagePipelineArn(String imagePipelineArn)
The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.
|
ImageScanFinding.Builder |
inspectorScore(Double inspectorScore)
The score that Amazon Inspector assigned for the finding.
|
default ImageScanFinding.Builder |
inspectorScoreDetails(Consumer<InspectorScoreDetails.Builder> inspectorScoreDetails)
An object that contains details of the Amazon Inspector score.
|
ImageScanFinding.Builder |
inspectorScoreDetails(InspectorScoreDetails inspectorScoreDetails)
An object that contains details of the Amazon Inspector score.
|
default ImageScanFinding.Builder |
packageVulnerabilityDetails(Consumer<PackageVulnerabilityDetails.Builder> packageVulnerabilityDetails)
An object that contains the details of a package vulnerability finding.
|
ImageScanFinding.Builder |
packageVulnerabilityDetails(PackageVulnerabilityDetails packageVulnerabilityDetails)
An object that contains the details of a package vulnerability finding.
|
default ImageScanFinding.Builder |
remediation(Consumer<Remediation.Builder> remediation)
An object that contains the details about how to remediate the finding.
|
ImageScanFinding.Builder |
remediation(Remediation remediation)
An object that contains the details about how to remediate the finding.
|
ImageScanFinding.Builder |
severity(String severity)
The severity of the finding.
|
ImageScanFinding.Builder |
title(String title)
The title of the finding.
|
ImageScanFinding.Builder |
type(String type)
The type of the finding.
|
ImageScanFinding.Builder |
updatedAt(Instant updatedAt)
The timestamp when the finding was last updated.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildImageScanFinding.Builder awsAccountId(String awsAccountId)
The Amazon Web Services account ID that's associated with the finding.
awsAccountId - The Amazon Web Services account ID that's associated with the finding.ImageScanFinding.Builder imageBuildVersionArn(String imageBuildVersionArn)
The Amazon Resource Name (ARN) of the image build version that's associated with the finding.
imageBuildVersionArn - The Amazon Resource Name (ARN) of the image build version that's associated with the finding.ImageScanFinding.Builder imagePipelineArn(String imagePipelineArn)
The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.
imagePipelineArn - The Amazon Resource Name (ARN) of the image pipeline that's associated with the finding.ImageScanFinding.Builder type(String type)
The type of the finding. Image Builder looks for findings of the type PACKAGE_VULNERABILITY that
apply to output images, and excludes other types.
type - The type of the finding. Image Builder looks for findings of the type
PACKAGE_VULNERABILITY that apply to output images, and excludes other types.ImageScanFinding.Builder description(String description)
The description of the finding.
description - The description of the finding.ImageScanFinding.Builder title(String title)
The title of the finding.
title - The title of the finding.ImageScanFinding.Builder remediation(Remediation remediation)
An object that contains the details about how to remediate the finding.
remediation - An object that contains the details about how to remediate the finding.default ImageScanFinding.Builder remediation(Consumer<Remediation.Builder> remediation)
An object that contains the details about how to remediate the finding.
This is a convenience method that creates an instance of theRemediation.Builder avoiding the need to
create one manually via Remediation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to remediation(Remediation).
remediation - a consumer that will call methods on Remediation.Builderremediation(Remediation)ImageScanFinding.Builder severity(String severity)
The severity of the finding.
severity - The severity of the finding.ImageScanFinding.Builder firstObservedAt(Instant firstObservedAt)
The date and time when the finding was first observed.
firstObservedAt - The date and time when the finding was first observed.ImageScanFinding.Builder updatedAt(Instant updatedAt)
The timestamp when the finding was last updated.
updatedAt - The timestamp when the finding was last updated.ImageScanFinding.Builder inspectorScore(Double inspectorScore)
The score that Amazon Inspector assigned for the finding.
inspectorScore - The score that Amazon Inspector assigned for the finding.ImageScanFinding.Builder inspectorScoreDetails(InspectorScoreDetails inspectorScoreDetails)
An object that contains details of the Amazon Inspector score.
inspectorScoreDetails - An object that contains details of the Amazon Inspector score.default ImageScanFinding.Builder inspectorScoreDetails(Consumer<InspectorScoreDetails.Builder> inspectorScoreDetails)
An object that contains details of the Amazon Inspector score.
This is a convenience method that creates an instance of theInspectorScoreDetails.Builder avoiding
the need to create one manually via InspectorScoreDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to inspectorScoreDetails(InspectorScoreDetails).
inspectorScoreDetails - a consumer that will call methods on InspectorScoreDetails.BuilderinspectorScoreDetails(InspectorScoreDetails)ImageScanFinding.Builder packageVulnerabilityDetails(PackageVulnerabilityDetails packageVulnerabilityDetails)
An object that contains the details of a package vulnerability finding.
packageVulnerabilityDetails - An object that contains the details of a package vulnerability finding.default ImageScanFinding.Builder packageVulnerabilityDetails(Consumer<PackageVulnerabilityDetails.Builder> packageVulnerabilityDetails)
An object that contains the details of a package vulnerability finding.
This is a convenience method that creates an instance of thePackageVulnerabilityDetails.Builder
avoiding the need to create one manually via PackageVulnerabilityDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to packageVulnerabilityDetails(PackageVulnerabilityDetails).
packageVulnerabilityDetails - a consumer that will call methods on PackageVulnerabilityDetails.BuilderpackageVulnerabilityDetails(PackageVulnerabilityDetails)ImageScanFinding.Builder fixAvailable(String fixAvailable)
Details about whether a fix is available for any of the packages that are identified in the finding through a version update.
fixAvailable - Details about whether a fix is available for any of the packages that are identified in the finding
through a version update.Copyright © 2023. All rights reserved.