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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuleGroupRuleOptionsPair.Builder
ruleGroupArn(String ruleGroupArn)
The ARN of the rule group.RuleGroupRuleOptionsPair.Builder
ruleOptions(Collection<RuleOption> ruleOptions)
The rule options.RuleGroupRuleOptionsPair.Builder
ruleOptions(Consumer<RuleOption.Builder>... ruleOptions)
The rule options.RuleGroupRuleOptionsPair.Builder
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 Detail
-
ruleGroupArn
RuleGroupRuleOptionsPair.Builder ruleGroupArn(String 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
RuleGroupRuleOptionsPair.Builder ruleOptions(Collection<RuleOption> 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
RuleGroupRuleOptionsPair.Builder ruleOptions(RuleOption... 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
RuleGroupRuleOptionsPair.Builder ruleOptions(Consumer<RuleOption.Builder>... 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 to#ruleOptions(List
.) - 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:
#ruleOptions(java.util.Collection
)
-
-