Interface PatchRuleGroup.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PatchRuleGroup.Builder,
,PatchRuleGroup> SdkBuilder<PatchRuleGroup.Builder,
,PatchRuleGroup> SdkPojo
- Enclosing class:
PatchRuleGroup
public static interface PatchRuleGroup.Builder
extends SdkPojo, CopyableBuilder<PatchRuleGroup.Builder,PatchRuleGroup>
-
Method Summary
Modifier and TypeMethodDescriptionpatchRules
(Collection<PatchRule> patchRules) The rules that make up the rule group.patchRules
(Consumer<PatchRule.Builder>... patchRules) The rules that make up the rule group.patchRules
(PatchRule... patchRules) The rules that make up the rule group.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
-
patchRules
The rules that make up the rule group.
- Parameters:
patchRules
- The rules that make up the rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchRules
The rules that make up the rule group.
- Parameters:
patchRules
- The rules that make up the rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchRules
The rules that make up the rule group.
This is a convenience method that creates an instance of thePatchRule.Builder
avoiding the need to create one manually viaPatchRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topatchRules(List<PatchRule>)
.- Parameters:
patchRules
- a consumer that will call methods onPatchRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-