public static interface ImageScanningConfiguration.Builder extends SdkPojo, CopyableBuilder<ImageScanningConfiguration.Builder,ImageScanningConfiguration>
| Modifier and Type | Method and Description |
|---|---|
default ImageScanningConfiguration.Builder |
ecrConfiguration(Consumer<EcrConfiguration.Builder> ecrConfiguration)
Contains Amazon ECR settings for vulnerability scans.
|
ImageScanningConfiguration.Builder |
ecrConfiguration(EcrConfiguration ecrConfiguration)
Contains Amazon ECR settings for vulnerability scans.
|
ImageScanningConfiguration.Builder |
imageScanningEnabled(Boolean imageScanningEnabled)
A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon
Inspector runs against the build instance when you create a new image.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildImageScanningConfiguration.Builder imageScanningEnabled(Boolean imageScanningEnabled)
A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.
imageScanningEnabled - A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon
Inspector runs against the build instance when you create a new image.ImageScanningConfiguration.Builder ecrConfiguration(EcrConfiguration ecrConfiguration)
Contains Amazon ECR settings for vulnerability scans.
ecrConfiguration - Contains Amazon ECR settings for vulnerability scans.default ImageScanningConfiguration.Builder ecrConfiguration(Consumer<EcrConfiguration.Builder> ecrConfiguration)
Contains Amazon ECR settings for vulnerability scans.
This is a convenience method that creates an instance of theEcrConfiguration.Builder avoiding the
need to create one manually via EcrConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to ecrConfiguration(EcrConfiguration).
ecrConfiguration - a consumer that will call methods on EcrConfiguration.BuilderecrConfiguration(EcrConfiguration)Copyright © 2023. All rights reserved.