Interface FirewallPolicyDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FirewallPolicyDetails.Builder,
,FirewallPolicyDetails> SdkBuilder<FirewallPolicyDetails.Builder,
,FirewallPolicyDetails> SdkPojo
- Enclosing class:
FirewallPolicyDetails
-
Method Summary
Modifier and TypeMethodDescriptionstatefulRuleGroupReferences
(Collection<FirewallPolicyStatefulRuleGroupReferencesDetails> statefulRuleGroupReferences) The stateful rule groups that are used in the firewall policy.statefulRuleGroupReferences
(Consumer<FirewallPolicyStatefulRuleGroupReferencesDetails.Builder>... statefulRuleGroupReferences) The stateful rule groups that are used in the firewall policy.statefulRuleGroupReferences
(FirewallPolicyStatefulRuleGroupReferencesDetails... statefulRuleGroupReferences) The stateful rule groups that are used in the firewall policy.statelessCustomActions
(Collection<FirewallPolicyStatelessCustomActionsDetails> statelessCustomActions) The custom action definitions that are available to use in the firewall policy'sStatelessDefaultActions
setting.statelessCustomActions
(Consumer<FirewallPolicyStatelessCustomActionsDetails.Builder>... statelessCustomActions) The custom action definitions that are available to use in the firewall policy'sStatelessDefaultActions
setting.statelessCustomActions
(FirewallPolicyStatelessCustomActionsDetails... statelessCustomActions) The custom action definitions that are available to use in the firewall policy'sStatelessDefaultActions
setting.statelessDefaultActions
(String... statelessDefaultActions) The actions to take on a packet if it doesn't match any of the stateless rules in the policy.statelessDefaultActions
(Collection<String> statelessDefaultActions) The actions to take on a packet if it doesn't match any of the stateless rules in the policy.statelessFragmentDefaultActions
(String... statelessFragmentDefaultActions) The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy.statelessFragmentDefaultActions
(Collection<String> statelessFragmentDefaultActions) The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy.statelessRuleGroupReferences
(Collection<FirewallPolicyStatelessRuleGroupReferencesDetails> statelessRuleGroupReferences) The stateless rule groups that are used in the firewall policy.statelessRuleGroupReferences
(Consumer<FirewallPolicyStatelessRuleGroupReferencesDetails.Builder>... statelessRuleGroupReferences) The stateless rule groups that are used in the firewall policy.statelessRuleGroupReferences
(FirewallPolicyStatelessRuleGroupReferencesDetails... statelessRuleGroupReferences) The stateless rule groups that are used in the 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, sdkFields
-
Method Details
-
statefulRuleGroupReferences
FirewallPolicyDetails.Builder statefulRuleGroupReferences(Collection<FirewallPolicyStatefulRuleGroupReferencesDetails> statefulRuleGroupReferences) The stateful rule groups that are used in the firewall policy.
- Parameters:
statefulRuleGroupReferences
- The stateful rule groups that are used in the firewall policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statefulRuleGroupReferences
FirewallPolicyDetails.Builder statefulRuleGroupReferences(FirewallPolicyStatefulRuleGroupReferencesDetails... statefulRuleGroupReferences) The stateful rule groups that are used in the firewall policy.
- Parameters:
statefulRuleGroupReferences
- The stateful rule groups that are used in the firewall policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statefulRuleGroupReferences
FirewallPolicyDetails.Builder statefulRuleGroupReferences(Consumer<FirewallPolicyStatefulRuleGroupReferencesDetails.Builder>... statefulRuleGroupReferences) The stateful rule groups that are used in the firewall policy.
This is a convenience method that creates an instance of theFirewallPolicyStatefulRuleGroupReferencesDetails.Builder
avoiding the need to create one manually viaFirewallPolicyStatefulRuleGroupReferencesDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatefulRuleGroupReferences(List<FirewallPolicyStatefulRuleGroupReferencesDetails>)
.- Parameters:
statefulRuleGroupReferences
- a consumer that will call methods onFirewallPolicyStatefulRuleGroupReferencesDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statelessCustomActions
FirewallPolicyDetails.Builder statelessCustomActions(Collection<FirewallPolicyStatelessCustomActionsDetails> statelessCustomActions) The custom action definitions that are available to use in the firewall policy's
StatelessDefaultActions
setting.- Parameters:
statelessCustomActions
- The custom action definitions that are available to use in the firewall policy'sStatelessDefaultActions
setting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessCustomActions
FirewallPolicyDetails.Builder statelessCustomActions(FirewallPolicyStatelessCustomActionsDetails... statelessCustomActions) The custom action definitions that are available to use in the firewall policy's
StatelessDefaultActions
setting.- Parameters:
statelessCustomActions
- The custom action definitions that are available to use in the firewall policy'sStatelessDefaultActions
setting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessCustomActions
FirewallPolicyDetails.Builder statelessCustomActions(Consumer<FirewallPolicyStatelessCustomActionsDetails.Builder>... statelessCustomActions) The custom action definitions that are available to use in the firewall policy's
This is a convenience method that creates an instance of theStatelessDefaultActions
setting.FirewallPolicyStatelessCustomActionsDetails.Builder
avoiding the need to create one manually viaFirewallPolicyStatelessCustomActionsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatelessCustomActions(List<FirewallPolicyStatelessCustomActionsDetails>)
.- Parameters:
statelessCustomActions
- a consumer that will call methods onFirewallPolicyStatelessCustomActionsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statelessDefaultActions
The actions to take on a packet if it doesn't match any of the stateless rules in the policy.
You must specify a standard action (
aws:pass
,aws:drop
,aws:forward_to_sfe
), and can optionally include a custom action fromStatelessCustomActions
.- Parameters:
statelessDefaultActions
- The actions to take on a packet if it doesn't match any of the stateless rules in the policy.You must specify a standard action (
aws:pass
,aws:drop
,aws:forward_to_sfe
), and can optionally include a custom action fromStatelessCustomActions
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessDefaultActions
The actions to take on a packet if it doesn't match any of the stateless rules in the policy.
You must specify a standard action (
aws:pass
,aws:drop
,aws:forward_to_sfe
), and can optionally include a custom action fromStatelessCustomActions
.- Parameters:
statelessDefaultActions
- The actions to take on a packet if it doesn't match any of the stateless rules in the policy.You must specify a standard action (
aws:pass
,aws:drop
,aws:forward_to_sfe
), and can optionally include a custom action fromStatelessCustomActions
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessFragmentDefaultActions
FirewallPolicyDetails.Builder statelessFragmentDefaultActions(Collection<String> statelessFragmentDefaultActions) The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy.
You must specify a standard action (
aws:pass
,aws:drop
,aws:forward_to_sfe
), and can optionally include a custom action fromStatelessCustomActions
.- Parameters:
statelessFragmentDefaultActions
- The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy.You must specify a standard action (
aws:pass
,aws:drop
,aws:forward_to_sfe
), and can optionally include a custom action fromStatelessCustomActions
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessFragmentDefaultActions
FirewallPolicyDetails.Builder statelessFragmentDefaultActions(String... statelessFragmentDefaultActions) The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy.
You must specify a standard action (
aws:pass
,aws:drop
,aws:forward_to_sfe
), and can optionally include a custom action fromStatelessCustomActions
.- Parameters:
statelessFragmentDefaultActions
- The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy.You must specify a standard action (
aws:pass
,aws:drop
,aws:forward_to_sfe
), and can optionally include a custom action fromStatelessCustomActions
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessRuleGroupReferences
FirewallPolicyDetails.Builder statelessRuleGroupReferences(Collection<FirewallPolicyStatelessRuleGroupReferencesDetails> statelessRuleGroupReferences) The stateless rule groups that are used in the firewall policy.
- Parameters:
statelessRuleGroupReferences
- The stateless rule groups that are used in the firewall policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessRuleGroupReferences
FirewallPolicyDetails.Builder statelessRuleGroupReferences(FirewallPolicyStatelessRuleGroupReferencesDetails... statelessRuleGroupReferences) The stateless rule groups that are used in the firewall policy.
- Parameters:
statelessRuleGroupReferences
- The stateless rule groups that are used in the firewall policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statelessRuleGroupReferences
FirewallPolicyDetails.Builder statelessRuleGroupReferences(Consumer<FirewallPolicyStatelessRuleGroupReferencesDetails.Builder>... statelessRuleGroupReferences) The stateless rule groups that are used in the firewall policy.
This is a convenience method that creates an instance of theFirewallPolicyStatelessRuleGroupReferencesDetails.Builder
avoiding the need to create one manually viaFirewallPolicyStatelessRuleGroupReferencesDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatelessRuleGroupReferences(List<FirewallPolicyStatelessRuleGroupReferencesDetails>)
.- Parameters:
statelessRuleGroupReferences
- a consumer that will call methods onFirewallPolicyStatelessRuleGroupReferencesDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-