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'sStatelessDefaultActionssetting.statelessCustomActions(Consumer<FirewallPolicyStatelessCustomActionsDetails.Builder>... statelessCustomActions) The custom action definitions that are available to use in the firewall policy'sStatelessDefaultActionssetting.statelessCustomActions(FirewallPolicyStatelessCustomActionsDetails... statelessCustomActions) The custom action definitions that are available to use in the firewall policy'sStatelessDefaultActionssetting.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaFirewallPolicyStatefulRuleGroupReferencesDetails.builder().When the
Consumercompletes,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
StatelessDefaultActionssetting.- Parameters:
statelessCustomActions- The custom action definitions that are available to use in the firewall policy'sStatelessDefaultActionssetting.- 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
StatelessDefaultActionssetting.- Parameters:
statelessCustomActions- The custom action definitions that are available to use in the firewall policy'sStatelessDefaultActionssetting.- 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 theStatelessDefaultActionssetting.FirewallPolicyStatelessCustomActionsDetails.Builderavoiding the need to create one manually viaFirewallPolicyStatelessCustomActionsDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaFirewallPolicyStatelessRuleGroupReferencesDetails.builder().When the
Consumercompletes,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:
-