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 Details

    • scanFrequency

      RegistryScanningRule.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 scan frequency is supported. If scan on push is not specified, then the MANUAL scan frequency is set by default.

      Parameters:
      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 scan frequency is supported. If scan on push is not specified, then the MANUAL scan frequency is set by default.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanFrequency

      RegistryScanningRule.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 scan frequency is supported. If scan on push is not specified, then the MANUAL scan frequency is set by default.

      Parameters:
      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 scan frequency is supported. If scan on push is not specified, then the MANUAL 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

      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

      The repository filters associated with the scanning configuration for a private registry.

      This is a convenience method that creates an instance of the ScanningRepositoryFilter.Builder avoiding the need to create one manually via ScanningRepositoryFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to repositoryFilters(List<ScanningRepositoryFilter>).

      Parameters:
      repositoryFilters - a consumer that will call methods on ScanningRepositoryFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: