Interface RuleGroupSourceStatelessRuleDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleGroupSourceStatelessRuleDefinition.Builder,
,RuleGroupSourceStatelessRuleDefinition> SdkBuilder<RuleGroupSourceStatelessRuleDefinition.Builder,
,RuleGroupSourceStatelessRuleDefinition> SdkPojo
- Enclosing class:
RuleGroupSourceStatelessRuleDefinition
-
Method Summary
Modifier and TypeMethodDescriptionThe actions to take on a packet that matches one of the stateless rule definition's match attributes.actions
(Collection<String> actions) The actions to take on a packet that matches one of the stateless rule definition's match attributes.matchAttributes
(Consumer<RuleGroupSourceStatelessRuleMatchAttributes.Builder> matchAttributes) The criteria for Network Firewall to use to inspect an individual packet in a stateless rule inspection.matchAttributes
(RuleGroupSourceStatelessRuleMatchAttributes matchAttributes) The criteria for Network Firewall to use to inspect an individual packet in a stateless rule inspection.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
-
actions
The actions to take on a packet that matches one of the stateless rule definition's match attributes. You must specify a standard action (
aws:pass
,aws:drop
, oraws:forward_to_sfe
). You can then add custom actions.- Parameters:
actions
- The actions to take on a packet that matches one of the stateless rule definition's match attributes. You must specify a standard action (aws:pass
,aws:drop
, oraws:forward_to_sfe
). You can then add custom actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The actions to take on a packet that matches one of the stateless rule definition's match attributes. You must specify a standard action (
aws:pass
,aws:drop
, oraws:forward_to_sfe
). You can then add custom actions.- Parameters:
actions
- The actions to take on a packet that matches one of the stateless rule definition's match attributes. You must specify a standard action (aws:pass
,aws:drop
, oraws:forward_to_sfe
). You can then add custom actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchAttributes
RuleGroupSourceStatelessRuleDefinition.Builder matchAttributes(RuleGroupSourceStatelessRuleMatchAttributes matchAttributes) The criteria for Network Firewall to use to inspect an individual packet in a stateless rule inspection.
- Parameters:
matchAttributes
- The criteria for Network Firewall to use to inspect an individual packet in a stateless rule inspection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchAttributes
default RuleGroupSourceStatelessRuleDefinition.Builder matchAttributes(Consumer<RuleGroupSourceStatelessRuleMatchAttributes.Builder> matchAttributes) The criteria for Network Firewall to use to inspect an individual packet in a stateless rule inspection.
This is a convenience method that creates an instance of theRuleGroupSourceStatelessRuleMatchAttributes.Builder
avoiding the need to create one manually viaRuleGroupSourceStatelessRuleMatchAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatchAttributes(RuleGroupSourceStatelessRuleMatchAttributes)
.- Parameters:
matchAttributes
- a consumer that will call methods onRuleGroupSourceStatelessRuleMatchAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-