Interface NetworkFirewallPolicyDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkFirewallPolicyDescription.Builder,
,NetworkFirewallPolicyDescription> SdkBuilder<NetworkFirewallPolicyDescription.Builder,
,NetworkFirewallPolicyDescription> SdkPojo
- Enclosing class:
NetworkFirewallPolicyDescription
-
Method Summary
Modifier and TypeMethodDescriptionstatefulDefaultActions
(String... statefulDefaultActions) The default actions to take on a packet that doesn't match any stateful rules.statefulDefaultActions
(Collection<String> statefulDefaultActions) The default actions to take on a packet that doesn't match any stateful rules.statefulEngineOptions
(Consumer<StatefulEngineOptions.Builder> statefulEngineOptions) Additional options governing how Network Firewall handles stateful rules.statefulEngineOptions
(StatefulEngineOptions statefulEngineOptions) Additional options governing how Network Firewall handles stateful rules.statefulRuleGroups
(Collection<StatefulRuleGroup> statefulRuleGroups) The stateful rule groups that are used in the Network Firewall firewall policy.statefulRuleGroups
(Consumer<StatefulRuleGroup.Builder>... statefulRuleGroups) The stateful rule groups that are used in the Network Firewall firewall policy.statefulRuleGroups
(StatefulRuleGroup... statefulRuleGroups) The stateful rule groups that are used in the Network Firewall firewall policy.statelessCustomActions
(String... statelessCustomActions) Names of custom actions that are available for use in the stateless default actions settings.statelessCustomActions
(Collection<String> statelessCustomActions) Names of custom actions that are available for use in the stateless default actions settings.statelessDefaultActions
(String... statelessDefaultActions) The actions to take on packets that don't match any of the stateless rule groups.statelessDefaultActions
(Collection<String> statelessDefaultActions) The actions to take on packets that don't match any of the stateless rule groups.statelessFragmentDefaultActions
(String... statelessFragmentDefaultActions) The actions to take on packet fragments that don't match any of the stateless rule groups.statelessFragmentDefaultActions
(Collection<String> statelessFragmentDefaultActions) The actions to take on packet fragments that don't match any of the stateless rule groups.statelessRuleGroups
(Collection<StatelessRuleGroup> statelessRuleGroups) The stateless rule groups that are used in the Network Firewall firewall policy.statelessRuleGroups
(Consumer<StatelessRuleGroup.Builder>... statelessRuleGroups) The stateless rule groups that are used in the Network Firewall firewall policy.statelessRuleGroups
(StatelessRuleGroup... statelessRuleGroups) The stateless rule groups that are used in the Network Firewall firewall policy.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 Details
-
statelessRuleGroups
NetworkFirewallPolicyDescription.Builder statelessRuleGroups(Collection<StatelessRuleGroup> statelessRuleGroups) The stateless rule groups that are used in the Network Firewall firewall policy.
- Parameters:
statelessRuleGroups
- The stateless rule groups that are used in the Network Firewall firewall policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessRuleGroups
NetworkFirewallPolicyDescription.Builder statelessRuleGroups(StatelessRuleGroup... statelessRuleGroups) The stateless rule groups that are used in the Network Firewall firewall policy.
- Parameters:
statelessRuleGroups
- The stateless rule groups that are used in the Network Firewall firewall policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessRuleGroups
NetworkFirewallPolicyDescription.Builder statelessRuleGroups(Consumer<StatelessRuleGroup.Builder>... statelessRuleGroups) The stateless rule groups that are used in the Network Firewall firewall policy.
This is a convenience method that creates an instance of theStatelessRuleGroup.Builder
avoiding the need to create one manually viaStatelessRuleGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatelessRuleGroups(List<StatelessRuleGroup>)
.- Parameters:
statelessRuleGroups
- a consumer that will call methods onStatelessRuleGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statelessDefaultActions
NetworkFirewallPolicyDescription.Builder statelessDefaultActions(Collection<String> statelessDefaultActions) The actions to take on packets that don't match any of the stateless rule groups.
- Parameters:
statelessDefaultActions
- The actions to take on packets that don't match any of the stateless rule groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessDefaultActions
The actions to take on packets that don't match any of the stateless rule groups.
- Parameters:
statelessDefaultActions
- The actions to take on packets that don't match any of the stateless rule groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessFragmentDefaultActions
NetworkFirewallPolicyDescription.Builder statelessFragmentDefaultActions(Collection<String> statelessFragmentDefaultActions) The actions to take on packet fragments that don't match any of the stateless rule groups.
- Parameters:
statelessFragmentDefaultActions
- The actions to take on packet fragments that don't match any of the stateless rule groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessFragmentDefaultActions
NetworkFirewallPolicyDescription.Builder statelessFragmentDefaultActions(String... statelessFragmentDefaultActions) The actions to take on packet fragments that don't match any of the stateless rule groups.
- Parameters:
statelessFragmentDefaultActions
- The actions to take on packet fragments that don't match any of the stateless rule groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessCustomActions
NetworkFirewallPolicyDescription.Builder statelessCustomActions(Collection<String> statelessCustomActions) Names of custom actions that are available for use in the stateless default actions settings.
- Parameters:
statelessCustomActions
- Names of custom actions that are available for use in the stateless default actions settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessCustomActions
Names of custom actions that are available for use in the stateless default actions settings.
- Parameters:
statelessCustomActions
- Names of custom actions that are available for use in the stateless default actions settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statefulRuleGroups
NetworkFirewallPolicyDescription.Builder statefulRuleGroups(Collection<StatefulRuleGroup> statefulRuleGroups) The stateful rule groups that are used in the Network Firewall firewall policy.
- Parameters:
statefulRuleGroups
- The stateful rule groups that are used in the Network Firewall firewall policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statefulRuleGroups
NetworkFirewallPolicyDescription.Builder statefulRuleGroups(StatefulRuleGroup... statefulRuleGroups) The stateful rule groups that are used in the Network Firewall firewall policy.
- Parameters:
statefulRuleGroups
- The stateful rule groups that are used in the Network Firewall firewall policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statefulRuleGroups
NetworkFirewallPolicyDescription.Builder statefulRuleGroups(Consumer<StatefulRuleGroup.Builder>... statefulRuleGroups) The stateful rule groups that are used in the Network Firewall firewall policy.
This is a convenience method that creates an instance of theStatefulRuleGroup.Builder
avoiding the need to create one manually viaStatefulRuleGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatefulRuleGroups(List<StatefulRuleGroup>)
.- Parameters:
statefulRuleGroups
- a consumer that will call methods onStatefulRuleGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statefulDefaultActions
NetworkFirewallPolicyDescription.Builder statefulDefaultActions(Collection<String> statefulDefaultActions) The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order.
Valid values of the stateful default action:
-
aws:drop_strict
-
aws:drop_established
-
aws:alert_strict
-
aws:alert_established
- Parameters:
statefulDefaultActions
- The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order.Valid values of the stateful default action:
-
aws:drop_strict
-
aws:drop_established
-
aws:alert_strict
-
aws:alert_established
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
statefulDefaultActions
The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order.
Valid values of the stateful default action:
-
aws:drop_strict
-
aws:drop_established
-
aws:alert_strict
-
aws:alert_established
- Parameters:
statefulDefaultActions
- The default actions to take on a packet that doesn't match any stateful rules. The stateful default action is optional, and is only valid when using the strict rule order.Valid values of the stateful default action:
-
aws:drop_strict
-
aws:drop_established
-
aws:alert_strict
-
aws:alert_established
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
statefulEngineOptions
NetworkFirewallPolicyDescription.Builder statefulEngineOptions(StatefulEngineOptions statefulEngineOptions) Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.
- Parameters:
statefulEngineOptions
- Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statefulEngineOptions
default NetworkFirewallPolicyDescription.Builder statefulEngineOptions(Consumer<StatefulEngineOptions.Builder> statefulEngineOptions) Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.
This is a convenience method that creates an instance of theStatefulEngineOptions.Builder
avoiding the need to create one manually viaStatefulEngineOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatefulEngineOptions(StatefulEngineOptions)
.- Parameters:
statefulEngineOptions
- a consumer that will call methods onStatefulEngineOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-