public static interface RegistryScanningConfiguration.Builder extends SdkPojo, CopyableBuilder<RegistryScanningConfiguration.Builder,RegistryScanningConfiguration>
Modifier and Type | Method and Description |
---|---|
RegistryScanningConfiguration.Builder |
rules(Collection<RegistryScanningRule> rules)
The scanning rules associated with the registry.
|
RegistryScanningConfiguration.Builder |
rules(Consumer<RegistryScanningRule.Builder>... rules)
The scanning rules associated with the registry.
|
RegistryScanningConfiguration.Builder |
rules(RegistryScanningRule... rules)
The scanning rules associated with the registry.
|
RegistryScanningConfiguration.Builder |
scanType(ScanType scanType)
The type of scanning configured for the registry.
|
RegistryScanningConfiguration.Builder |
scanType(String scanType)
The type of scanning configured for the registry.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
RegistryScanningConfiguration.Builder scanType(String scanType)
The type of scanning configured for the registry.
RegistryScanningConfiguration.Builder scanType(ScanType scanType)
The type of scanning configured for the registry.
RegistryScanningConfiguration.Builder rules(Collection<RegistryScanningRule> rules)
The scanning rules associated with the registry.
rules
- The scanning rules associated with the registry.RegistryScanningConfiguration.Builder rules(RegistryScanningRule... rules)
The scanning rules associated with the registry.
rules
- The scanning rules associated with the registry.RegistryScanningConfiguration.Builder rules(Consumer<RegistryScanningRule.Builder>... rules)
The scanning rules associated with the registry.
This is a convenience method that creates an instance of theRegistryScanningRule.Builder
avoiding the need to create
one manually via RegistryScanningRule.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately
and its result is passed to #rules(List
.
rules
- a consumer that will call methods on
RegistryScanningRule.Builder
#rules(java.util.Collection)
Copyright © 2023. All rights reserved.