public static interface PutImageScanningConfigurationRequest.Builder extends EcrRequest.Builder, SdkPojo, CopyableBuilder<PutImageScanningConfigurationRequest.Builder,PutImageScanningConfigurationRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
PutImageScanningConfigurationRequest.Builder registryId(String registryId)
The Amazon Web Services account ID associated with the registry that contains the repository in which to update the image scanning configuration setting. If you do not specify a registry, the default registry is assumed.
registryId
- The Amazon Web Services account ID associated with the registry that contains the repository in which
to update the image scanning configuration setting. If you do not specify a registry, the default
registry is assumed.PutImageScanningConfigurationRequest.Builder repositoryName(String repositoryName)
The name of the repository in which to update the image scanning configuration setting.
repositoryName
- The name of the repository in which to update the image scanning configuration setting.PutImageScanningConfigurationRequest.Builder imageScanningConfiguration(ImageScanningConfiguration imageScanningConfiguration)
The image scanning configuration for the repository. This setting determines whether images are scanned for known vulnerabilities after being pushed to the repository.
imageScanningConfiguration
- The image scanning configuration for the repository. This setting determines whether images are
scanned for known vulnerabilities after being pushed to the repository.default PutImageScanningConfigurationRequest.Builder imageScanningConfiguration(Consumer<ImageScanningConfiguration.Builder> imageScanningConfiguration)
The image scanning configuration for the repository. This setting determines whether images are scanned for known vulnerabilities after being pushed to the repository.
This is a convenience method that creates an instance of theImageScanningConfiguration.Builder
avoiding the need to create one manually via ImageScanningConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to imageScanningConfiguration(ImageScanningConfiguration)
.
imageScanningConfiguration
- a consumer that will call methods on ImageScanningConfiguration.Builder
imageScanningConfiguration(ImageScanningConfiguration)
PutImageScanningConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
PutImageScanningConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.