Interface RuleGroupSourceStatefulRulesDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuleGroupSourceStatefulRulesDetails.Builder,RuleGroupSourceStatefulRulesDetails>,SdkBuilder<RuleGroupSourceStatefulRulesDetails.Builder,RuleGroupSourceStatefulRulesDetails>,SdkPojo
- Enclosing class:
- RuleGroupSourceStatefulRulesDetails
public static interface RuleGroupSourceStatefulRulesDetails.Builder extends SdkPojo, CopyableBuilder<RuleGroupSourceStatefulRulesDetails.Builder,RuleGroupSourceStatefulRulesDetails>
-
-
Method Summary
-
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
-
action
RuleGroupSourceStatefulRulesDetails.Builder action(String action)
Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria.
- Parameters:
action- Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
header
RuleGroupSourceStatefulRulesDetails.Builder header(RuleGroupSourceStatefulRulesHeaderDetails header)
The stateful inspection criteria for the rule.
- Parameters:
header- The stateful inspection criteria for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
header
default RuleGroupSourceStatefulRulesDetails.Builder header(Consumer<RuleGroupSourceStatefulRulesHeaderDetails.Builder> header)
The stateful inspection criteria for the rule.
This is a convenience method that creates an instance of theRuleGroupSourceStatefulRulesHeaderDetails.Builderavoiding the need to create one manually viaRuleGroupSourceStatefulRulesHeaderDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toheader(RuleGroupSourceStatefulRulesHeaderDetails).- Parameters:
header- a consumer that will call methods onRuleGroupSourceStatefulRulesHeaderDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
header(RuleGroupSourceStatefulRulesHeaderDetails)
-
ruleOptions
RuleGroupSourceStatefulRulesDetails.Builder ruleOptions(Collection<RuleGroupSourceStatefulRulesOptionsDetails> ruleOptions)
Additional options for the rule.
- Parameters:
ruleOptions- Additional options for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleOptions
RuleGroupSourceStatefulRulesDetails.Builder ruleOptions(RuleGroupSourceStatefulRulesOptionsDetails... ruleOptions)
Additional options for the rule.
- Parameters:
ruleOptions- Additional options for the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleOptions
RuleGroupSourceStatefulRulesDetails.Builder ruleOptions(Consumer<RuleGroupSourceStatefulRulesOptionsDetails.Builder>... ruleOptions)
Additional options for the rule.
This is a convenience method that creates an instance of theRuleGroupSourceStatefulRulesOptionsDetails.Builderavoiding the need to create one manually viaRuleGroupSourceStatefulRulesOptionsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#ruleOptions(List.) - Parameters:
ruleOptions- a consumer that will call methods onRuleGroupSourceStatefulRulesOptionsDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#ruleOptions(java.util.Collection)
-
-