public static interface RegistryScanningRule.Builder extends SdkPojo, CopyableBuilder<RegistryScanningRule.Builder,RegistryScanningRule>
| Modifier and Type | Method and Description |
|---|---|
RegistryScanningRule.Builder |
repositoryFilters(Collection<ScanningRepositoryFilter> repositoryFilters)
The repository filters associated with the scanning configuration for a private registry.
|
RegistryScanningRule.Builder |
repositoryFilters(Consumer<ScanningRepositoryFilter.Builder>... repositoryFilters)
The repository filters associated with the scanning configuration for a private registry.
|
RegistryScanningRule.Builder |
repositoryFilters(ScanningRepositoryFilter... repositoryFilters)
The repository filters associated with the scanning configuration for a private registry.
|
RegistryScanningRule.Builder |
scanFrequency(ScanFrequency scanFrequency)
The frequency that scans are performed at for a private registry.
|
RegistryScanningRule.Builder |
scanFrequency(String scanFrequency)
The frequency that scans are performed at for a private registry.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRegistryScanningRule.Builder scanFrequency(String scanFrequency)
The frequency that scans are performed at for a private registry. When the ENHANCED scan type is
specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH.
When the BASIC scan type is specified, the SCAN_ON_PUSH and MANUAL
scan frequencies are supported.
scanFrequency - The frequency that scans are performed at for a private registry. When the ENHANCED scan
type is specified, the supported scan frequencies are CONTINUOUS_SCAN and
SCAN_ON_PUSH. When the BASIC scan type is specified, the
SCAN_ON_PUSH and MANUAL scan frequencies are supported.ScanFrequency,
ScanFrequencyRegistryScanningRule.Builder scanFrequency(ScanFrequency scanFrequency)
The frequency that scans are performed at for a private registry. When the ENHANCED scan type is
specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH.
When the BASIC scan type is specified, the SCAN_ON_PUSH and MANUAL
scan frequencies are supported.
scanFrequency - The frequency that scans are performed at for a private registry. When the ENHANCED scan
type is specified, the supported scan frequencies are CONTINUOUS_SCAN and
SCAN_ON_PUSH. When the BASIC scan type is specified, the
SCAN_ON_PUSH and MANUAL scan frequencies are supported.ScanFrequency,
ScanFrequencyRegistryScanningRule.Builder repositoryFilters(Collection<ScanningRepositoryFilter> repositoryFilters)
The repository filters associated with the scanning configuration for a private registry.
repositoryFilters - The repository filters associated with the scanning configuration for a private registry.RegistryScanningRule.Builder repositoryFilters(ScanningRepositoryFilter... repositoryFilters)
The repository filters associated with the scanning configuration for a private registry.
repositoryFilters - The repository filters associated with the scanning configuration for a private registry.RegistryScanningRule.Builder repositoryFilters(Consumer<ScanningRepositoryFilter.Builder>... repositoryFilters)
The repository filters associated with the scanning configuration for a private registry.
This is a convenience method that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #repositoryFilters(List) .repositoryFilters - a consumer that will call methods on List.Builder #repositoryFilters(List) Copyright © 2022. All rights reserved.