Interface RepositoryScanningConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RepositoryScanningConfiguration.Builder,
,RepositoryScanningConfiguration> SdkBuilder<RepositoryScanningConfiguration.Builder,
,RepositoryScanningConfiguration> SdkPojo
- Enclosing class:
RepositoryScanningConfiguration
public static interface RepositoryScanningConfiguration.Builder
extends SdkPojo, CopyableBuilder<RepositoryScanningConfiguration.Builder,RepositoryScanningConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionappliedScanFilters
(Collection<ScanningRepositoryFilter> appliedScanFilters) The scan filters applied to the repository.appliedScanFilters
(Consumer<ScanningRepositoryFilter.Builder>... appliedScanFilters) The scan filters applied to the repository.appliedScanFilters
(ScanningRepositoryFilter... appliedScanFilters) The scan filters applied to the repository.repositoryArn
(String repositoryArn) The ARN of the repository.repositoryName
(String repositoryName) The name of the repository.scanFrequency
(String scanFrequency) The scan frequency for the repository.scanFrequency
(ScanFrequency scanFrequency) The scan frequency for the repository.scanOnPush
(Boolean scanOnPush) Whether or not scan on push is configured for the repository.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
-
repositoryArn
The ARN of the repository.
- Parameters:
repositoryArn
- The ARN of the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryName
The name of the repository.
- Parameters:
repositoryName
- The name of the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanOnPush
Whether or not scan on push is configured for the repository.
- Parameters:
scanOnPush
- Whether or not scan on push is configured for the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scanFrequency
The scan frequency for the repository.
- Parameters:
scanFrequency
- The scan frequency for the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanFrequency
The scan frequency for the repository.
- Parameters:
scanFrequency
- The scan frequency for the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
appliedScanFilters
RepositoryScanningConfiguration.Builder appliedScanFilters(Collection<ScanningRepositoryFilter> appliedScanFilters) The scan filters applied to the repository.
- Parameters:
appliedScanFilters
- The scan filters applied to the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appliedScanFilters
RepositoryScanningConfiguration.Builder appliedScanFilters(ScanningRepositoryFilter... appliedScanFilters) The scan filters applied to the repository.
- Parameters:
appliedScanFilters
- The scan filters applied to the repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appliedScanFilters
RepositoryScanningConfiguration.Builder appliedScanFilters(Consumer<ScanningRepositoryFilter.Builder>... appliedScanFilters) The scan filters applied to the repository.
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 toappliedScanFilters(List<ScanningRepositoryFilter>)
.- Parameters:
appliedScanFilters
- 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:
-