Interface RuleGroupSourceStatelessRuleDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuleGroupSourceStatelessRuleDefinition.Builder,RuleGroupSourceStatelessRuleDefinition>,SdkBuilder<RuleGroupSourceStatelessRuleDefinition.Builder,RuleGroupSourceStatelessRuleDefinition>,SdkPojo
- Enclosing class:
- RuleGroupSourceStatelessRuleDefinition
public static interface RuleGroupSourceStatelessRuleDefinition.Builder extends SdkPojo, CopyableBuilder<RuleGroupSourceStatelessRuleDefinition.Builder,RuleGroupSourceStatelessRuleDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RuleGroupSourceStatelessRuleDefinition.Builderactions(String... actions)The actions to take on a packet that matches one of the stateless rule definition's match attributes.RuleGroupSourceStatelessRuleDefinition.Builderactions(Collection<String> actions)The actions to take on a packet that matches one of the stateless rule definition's match attributes.default RuleGroupSourceStatelessRuleDefinition.BuildermatchAttributes(Consumer<RuleGroupSourceStatelessRuleMatchAttributes.Builder> matchAttributes)The criteria for Network Firewall to use to inspect an individual packet in a stateless rule inspection.RuleGroupSourceStatelessRuleDefinition.BuildermatchAttributes(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 Detail
-
actions
RuleGroupSourceStatelessRuleDefinition.Builder actions(Collection<String> 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
RuleGroupSourceStatelessRuleDefinition.Builder actions(String... 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.Builderavoiding the need to create one manually viaRuleGroupSourceStatelessRuleMatchAttributes.builder().When the
Consumercompletes,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:
matchAttributes(RuleGroupSourceStatelessRuleMatchAttributes)
-
-