Interface RegistryScanningConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RegistryScanningConfiguration.Builder,
,RegistryScanningConfiguration> SdkBuilder<RegistryScanningConfiguration.Builder,
,RegistryScanningConfiguration> SdkPojo
- Enclosing class:
RegistryScanningConfiguration
@Mutable
@NotThreadSafe
public static interface RegistryScanningConfiguration.Builder
extends SdkPojo, CopyableBuilder<RegistryScanningConfiguration.Builder,RegistryScanningConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionrules
(Collection<RegistryScanningRule> rules) The scanning rules associated with the registry.rules
(Consumer<RegistryScanningRule.Builder>... rules) The scanning rules associated with the registry.rules
(RegistryScanningRule... rules) The scanning rules associated with the registry.The type of scanning configured for the registry.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, sdkFieldNameToField, sdkFields
-
Method Details
-
scanType
The type of scanning configured for the registry.
- Parameters:
scanType
- The type of scanning configured for the registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanType
The type of scanning configured for the registry.
- Parameters:
scanType
- The type of scanning configured for the registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 torules(List<RegistryScanningRule>)
.- 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:
-