Interface RegistryScanningRule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RegistryScanningRule.Builder,
,RegistryScanningRule> SdkBuilder<RegistryScanningRule.Builder,
,RegistryScanningRule> SdkPojo
- Enclosing class:
RegistryScanningRule
-
Method Summary
Modifier and TypeMethodDescriptionrepositoryFilters
(Collection<ScanningRepositoryFilter> repositoryFilters) The repository filters associated with the scanning configuration for a private registry.repositoryFilters
(Consumer<ScanningRepositoryFilter.Builder>... repositoryFilters) The repository filters associated with the scanning configuration for a private registry.repositoryFilters
(ScanningRepositoryFilter... repositoryFilters) The repository filters associated with the scanning configuration for a private registry.scanFrequency
(String scanFrequency) The frequency that scans are performed at for a private registry.scanFrequency
(ScanFrequency scanFrequency) The frequency that scans are performed at for a private registry.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
scanFrequency
The frequency that scans are performed at for a private registry. When the
ENHANCED
scan type is specified, the supported scan frequencies areCONTINUOUS_SCAN
andSCAN_ON_PUSH
. When theBASIC
scan type is specified, theSCAN_ON_PUSH
scan frequency is supported. If scan on push is not specified, then theMANUAL
scan frequency is set by default.- Parameters:
scanFrequency
- The frequency that scans are performed at for a private registry. When theENHANCED
scan type is specified, the supported scan frequencies areCONTINUOUS_SCAN
andSCAN_ON_PUSH
. When theBASIC
scan type is specified, theSCAN_ON_PUSH
scan frequency is supported. If scan on push is not specified, then theMANUAL
scan frequency is set by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanFrequency
The frequency that scans are performed at for a private registry. When the
ENHANCED
scan type is specified, the supported scan frequencies areCONTINUOUS_SCAN
andSCAN_ON_PUSH
. When theBASIC
scan type is specified, theSCAN_ON_PUSH
scan frequency is supported. If scan on push is not specified, then theMANUAL
scan frequency is set by default.- Parameters:
scanFrequency
- The frequency that scans are performed at for a private registry. When theENHANCED
scan type is specified, the supported scan frequencies areCONTINUOUS_SCAN
andSCAN_ON_PUSH
. When theBASIC
scan type is specified, theSCAN_ON_PUSH
scan frequency is supported. If scan on push is not specified, then theMANUAL
scan frequency is set by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
repositoryFilters
RegistryScanningRule.Builder repositoryFilters(Collection<ScanningRepositoryFilter> repositoryFilters) The repository filters associated with the scanning configuration for a private registry.
- Parameters:
repositoryFilters
- The repository filters associated with the scanning configuration for a private registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryFilters
The repository filters associated with the scanning configuration for a private registry.
- Parameters:
repositoryFilters
- The repository filters associated with the scanning configuration for a private registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryFilters
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 theScanningRepositoryFilter.Builder
avoiding the need to create one manually viaScanningRepositoryFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torepositoryFilters(List<ScanningRepositoryFilter>)
.- Parameters:
repositoryFilters
- a consumer that will call methods onScanningRepositoryFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-