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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
ENHANCEDscan type is specified, the supported scan frequencies areCONTINUOUS_SCANandSCAN_ON_PUSH. When theBASICscan type is specified, theSCAN_ON_PUSHscan frequency is supported. If scan on push is not specified, then theMANUALscan frequency is set by default.- Parameters:
scanFrequency- The frequency that scans are performed at for a private registry. When theENHANCEDscan type is specified, the supported scan frequencies areCONTINUOUS_SCANandSCAN_ON_PUSH. When theBASICscan type is specified, theSCAN_ON_PUSHscan frequency is supported. If scan on push is not specified, then theMANUALscan 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
ENHANCEDscan type is specified, the supported scan frequencies areCONTINUOUS_SCANandSCAN_ON_PUSH. When theBASICscan type is specified, theSCAN_ON_PUSHscan frequency is supported. If scan on push is not specified, then theMANUALscan frequency is set by default.- Parameters:
scanFrequency- The frequency that scans are performed at for a private registry. When theENHANCEDscan type is specified, the supported scan frequencies areCONTINUOUS_SCANandSCAN_ON_PUSH. When theBASICscan type is specified, theSCAN_ON_PUSHscan frequency is supported. If scan on push is not specified, then theMANUALscan 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.Builderavoiding the need to create one manually viaScanningRepositoryFilter.builder().When the
Consumercompletes,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:
-