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
Modifier and TypeMethodDescriptionDefines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria.The stateful inspection criteria for the rule.The stateful inspection criteria for the rule.ruleOptions(Collection<RuleGroupSourceStatefulRulesOptionsDetails> ruleOptions) Additional options for the rule.ruleOptions(Consumer<RuleGroupSourceStatefulRulesOptionsDetails.Builder>... ruleOptions) Additional options for the rule.ruleOptions(RuleGroupSourceStatefulRulesOptionsDetails... ruleOptions) Additional options for the rule.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, sdkFields
-
Method Details
-
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:
-
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 toruleOptions(List<RuleGroupSourceStatefulRulesOptionsDetails>).- 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:
-