Interface RegistryScanningRule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RegistryScanningRule.Builder,RegistryScanningRule>,SdkBuilder<RegistryScanningRule.Builder,RegistryScanningRule>,SdkPojo
- Enclosing class:
- RegistryScanningRule
public static interface RegistryScanningRule.Builder extends SdkPojo, CopyableBuilder<RegistryScanningRule.Builder,RegistryScanningRule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RegistryScanningRule.BuilderrepositoryFilters(Collection<ScanningRepositoryFilter> repositoryFilters)The repository filters associated with the scanning configuration for a private registry.RegistryScanningRule.BuilderrepositoryFilters(Consumer<ScanningRepositoryFilter.Builder>... repositoryFilters)The repository filters associated with the scanning configuration for a private registry.RegistryScanningRule.BuilderrepositoryFilters(ScanningRepositoryFilter... repositoryFilters)The repository filters associated with the scanning configuration for a private registry.RegistryScanningRule.BuilderscanFrequency(String scanFrequency)The frequency that scans are performed at for a private registry.RegistryScanningRule.BuilderscanFrequency(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
scanFrequency
RegistryScanningRule.Builder scanFrequency(String 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,ScanFrequency
-
scanFrequency
RegistryScanningRule.Builder scanFrequency(ScanFrequency 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,ScanFrequency
-
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
RegistryScanningRule.Builder repositoryFilters(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
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 to#repositoryFilters(List.) - 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:
#repositoryFilters(java.util.Collection)
-
-