public static interface PatchRuleGroup.Builder extends CopyableBuilder<PatchRuleGroup.Builder,PatchRuleGroup>
Modifier and Type | Method and Description |
---|---|
PatchRuleGroup.Builder |
patchRules(Collection<PatchRule> patchRules)
The rules that make up the rule group.
|
PatchRuleGroup.Builder |
patchRules(Consumer<PatchRule.Builder>... patchRules)
The rules that make up the rule group.
|
PatchRuleGroup.Builder |
patchRules(PatchRule... patchRules)
The rules that make up the rule group.
|
copy
applyMutation, build
PatchRuleGroup.Builder patchRules(Collection<PatchRule> patchRules)
The rules that make up the rule group.
patchRules
- The rules that make up the rule group.PatchRuleGroup.Builder patchRules(PatchRule... patchRules)
The rules that make up the rule group.
patchRules
- The rules that make up the rule group.PatchRuleGroup.Builder patchRules(Consumer<PatchRule.Builder>... patchRules)
The rules that make up the rule group.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #patchRules(List)
.patchRules
- a consumer that will call methods on List.Builder
#patchRules(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.