Interface RegistryScanningConfiguration.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<RegistryScanningConfiguration.Builder,RegistryScanningConfiguration>
,SdkBuilder<RegistryScanningConfiguration.Builder,RegistryScanningConfiguration>
,SdkPojo
- Enclosing class:
- RegistryScanningConfiguration
public static interface RegistryScanningConfiguration.Builder extends SdkPojo, CopyableBuilder<RegistryScanningConfiguration.Builder,RegistryScanningConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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(String scanType)
The type of scanning configured for the registry.RegistryScanningConfiguration.Builder
scanType(ScanType scanType)
The type of scanning configured for the 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, sdkFields
-
-
-
-
Method Detail
-
scanType
RegistryScanningConfiguration.Builder scanType(String scanType)
The type of scanning configured for the registry.
-
scanType
RegistryScanningConfiguration.Builder scanType(ScanType scanType)
The type of scanning configured for the registry.
-
rules
RegistryScanningConfiguration.Builder rules(Collection<RegistryScanningRule> rules)
The scanning rules associated with the registry.
- Parameters:
rules
- The scanning rules associated with the registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
RegistryScanningConfiguration.Builder rules(RegistryScanningRule... rules)
The scanning rules associated with the registry.
- Parameters:
rules
- The scanning rules associated with the registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
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 viaRegistryScanningRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#rules(List
.) - Parameters:
rules
- a consumer that will call methods onRegistryScanningRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rules(java.util.Collection
)
-
-