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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PatchRuleGroup.BuilderpatchRules(Collection<PatchRule> patchRules)The rules that make up the rule group.PatchRuleGroup.BuilderpatchRules(Consumer<PatchRule.Builder>... patchRules)The rules that make up the rule group.PatchRuleGroup.BuilderpatchRules(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
patchRules
PatchRuleGroup.Builder patchRules(Collection<PatchRule> 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
PatchRuleGroup.Builder patchRules(PatchRule... 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
PatchRuleGroup.Builder patchRules(Consumer<PatchRule.Builder>... patchRules)
The rules that make up the rule group.
This is a convenience method that creates an instance of thePatchRule.Builderavoiding the need to create one manually viaPatchRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#patchRules(List.) - 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:
#patchRules(java.util.Collection)
-
-