public static interface PutRegistryScanningConfigurationRequest.Builder extends EcrRequest.Builder, SdkPojo, CopyableBuilder<PutRegistryScanningConfigurationRequest.Builder,PutRegistryScanningConfigurationRequest>
| Modifier and Type | Method and Description |
|---|---|
PutRegistryScanningConfigurationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutRegistryScanningConfigurationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutRegistryScanningConfigurationRequest.Builder |
rules(Collection<RegistryScanningRule> rules)
The scanning rules to use for the registry.
|
PutRegistryScanningConfigurationRequest.Builder |
rules(Consumer<RegistryScanningRule.Builder>... rules)
The scanning rules to use for the registry.
|
PutRegistryScanningConfigurationRequest.Builder |
rules(RegistryScanningRule... rules)
The scanning rules to use for the registry.
|
PutRegistryScanningConfigurationRequest.Builder |
scanType(ScanType scanType)
The scanning type to set for the registry.
|
PutRegistryScanningConfigurationRequest.Builder |
scanType(String scanType)
The scanning type to set for the registry.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutRegistryScanningConfigurationRequest.Builder scanType(String scanType)
The scanning type to set for the registry.
When a registry scanning configuration is not defined, by default the BASIC scan type is used.
When basic scanning is used, you may specify filters to determine which individual repositories, or all
repositories, are scanned when new images are pushed to those repositories. Alternatively, you can do manual
scans of images with basic scanning.
When the ENHANCED scan type is set, Amazon Inspector provides automated vulnerability scanning.
You may choose between continuous scanning or scan on push and you may specify filters to determine which
individual repositories, or all repositories, are scanned.
scanType - The scanning type to set for the registry.
When a registry scanning configuration is not defined, by default the BASIC scan type is
used. When basic scanning is used, you may specify filters to determine which individual repositories,
or all repositories, are scanned when new images are pushed to those repositories. Alternatively, you
can do manual scans of images with basic scanning.
When the ENHANCED scan type is set, Amazon Inspector provides automated vulnerability
scanning. You may choose between continuous scanning or scan on push and you may specify filters to
determine which individual repositories, or all repositories, are scanned.
ScanType,
ScanTypePutRegistryScanningConfigurationRequest.Builder scanType(ScanType scanType)
The scanning type to set for the registry.
When a registry scanning configuration is not defined, by default the BASIC scan type is used.
When basic scanning is used, you may specify filters to determine which individual repositories, or all
repositories, are scanned when new images are pushed to those repositories. Alternatively, you can do manual
scans of images with basic scanning.
When the ENHANCED scan type is set, Amazon Inspector provides automated vulnerability scanning.
You may choose between continuous scanning or scan on push and you may specify filters to determine which
individual repositories, or all repositories, are scanned.
scanType - The scanning type to set for the registry.
When a registry scanning configuration is not defined, by default the BASIC scan type is
used. When basic scanning is used, you may specify filters to determine which individual repositories,
or all repositories, are scanned when new images are pushed to those repositories. Alternatively, you
can do manual scans of images with basic scanning.
When the ENHANCED scan type is set, Amazon Inspector provides automated vulnerability
scanning. You may choose between continuous scanning or scan on push and you may specify filters to
determine which individual repositories, or all repositories, are scanned.
ScanType,
ScanTypePutRegistryScanningConfigurationRequest.Builder rules(Collection<RegistryScanningRule> rules)
The scanning rules to use for the registry. A scanning rule is used to determine which repository filters are used and at what frequency scanning will occur.
rules - The scanning rules to use for the registry. A scanning rule is used to determine which repository
filters are used and at what frequency scanning will occur.PutRegistryScanningConfigurationRequest.Builder rules(RegistryScanningRule... rules)
The scanning rules to use for the registry. A scanning rule is used to determine which repository filters are used and at what frequency scanning will occur.
rules - The scanning rules to use for the registry. A scanning rule is used to determine which repository
filters are used and at what frequency scanning will occur.PutRegistryScanningConfigurationRequest.Builder rules(Consumer<RegistryScanningRule.Builder>... rules)
The scanning rules to use for the registry. A scanning rule is used to determine which repository filters are used and at what frequency scanning will occur.
This is a convenience method that creates an instance of theRegistryScanningRule.Builder avoiding the need to create
one manually via RegistryScanningRule.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #rules(List.
rules - a consumer that will call methods on
RegistryScanningRule.Builder#rules(java.util.Collection) PutRegistryScanningConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutRegistryScanningConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.