Interface PatchRuleGroup.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PatchRuleGroup.Builder,,PatchRuleGroup> SdkBuilder<PatchRuleGroup.Builder,,PatchRuleGroup> SdkPojo
- Enclosing class:
PatchRuleGroup
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaPatchRule.builder().When the
Consumercompletes,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:
-