Interface RuleGroupRuleOptionsPair.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleGroupRuleOptionsPair.Builder,
,RuleGroupRuleOptionsPair> SdkBuilder<RuleGroupRuleOptionsPair.Builder,
,RuleGroupRuleOptionsPair> SdkPojo
- Enclosing class:
RuleGroupRuleOptionsPair
public static interface RuleGroupRuleOptionsPair.Builder
extends SdkPojo, CopyableBuilder<RuleGroupRuleOptionsPair.Builder,RuleGroupRuleOptionsPair>
-
Method Summary
Modifier and TypeMethodDescriptionruleGroupArn
(String ruleGroupArn) The ARN of the rule group.ruleOptions
(Collection<RuleOption> ruleOptions) The rule options.ruleOptions
(Consumer<RuleOption.Builder>... ruleOptions) The rule options.ruleOptions
(RuleOption... ruleOptions) The rule options.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
-
ruleGroupArn
The ARN of the rule group.
- Parameters:
ruleGroupArn
- The ARN of the rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleOptions
The rule options.
- Parameters:
ruleOptions
- The rule options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleOptions
The rule options.
- Parameters:
ruleOptions
- The rule options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleOptions
The rule options.
This is a convenience method that creates an instance of theRuleOption.Builder
avoiding the need to create one manually viaRuleOption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toruleOptions(List<RuleOption>)
.- Parameters:
ruleOptions
- a consumer that will call methods onRuleOption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-