Interface FirewallPolicyDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FirewallPolicyDetails.Builder,FirewallPolicyDetails>,SdkBuilder<FirewallPolicyDetails.Builder,FirewallPolicyDetails>,SdkPojo
- Enclosing class:
- FirewallPolicyDetails
public static interface FirewallPolicyDetails.Builder extends SdkPojo, CopyableBuilder<FirewallPolicyDetails.Builder,FirewallPolicyDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FirewallPolicyDetails.BuilderstatefulRuleGroupReferences(Collection<FirewallPolicyStatefulRuleGroupReferencesDetails> statefulRuleGroupReferences)The stateful rule groups that are used in the firewall policy.FirewallPolicyDetails.BuilderstatefulRuleGroupReferences(Consumer<FirewallPolicyStatefulRuleGroupReferencesDetails.Builder>... statefulRuleGroupReferences)The stateful rule groups that are used in the firewall policy.FirewallPolicyDetails.BuilderstatefulRuleGroupReferences(FirewallPolicyStatefulRuleGroupReferencesDetails... statefulRuleGroupReferences)The stateful rule groups that are used in the firewall policy.FirewallPolicyDetails.BuilderstatelessCustomActions(Collection<FirewallPolicyStatelessCustomActionsDetails> statelessCustomActions)The custom action definitions that are available to use in the firewall policy'sStatelessDefaultActionssetting.FirewallPolicyDetails.BuilderstatelessCustomActions(Consumer<FirewallPolicyStatelessCustomActionsDetails.Builder>... statelessCustomActions)The custom action definitions that are available to use in the firewall policy'sStatelessDefaultActionssetting.FirewallPolicyDetails.BuilderstatelessCustomActions(FirewallPolicyStatelessCustomActionsDetails... statelessCustomActions)The custom action definitions that are available to use in the firewall policy'sStatelessDefaultActionssetting.FirewallPolicyDetails.BuilderstatelessDefaultActions(String... statelessDefaultActions)The actions to take on a packet if it doesn't match any of the stateless rules in the policy.FirewallPolicyDetails.BuilderstatelessDefaultActions(Collection<String> statelessDefaultActions)The actions to take on a packet if it doesn't match any of the stateless rules in the policy.FirewallPolicyDetails.BuilderstatelessFragmentDefaultActions(String... statelessFragmentDefaultActions)The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy.FirewallPolicyDetails.BuilderstatelessFragmentDefaultActions(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.FirewallPolicyDetails.BuilderstatelessRuleGroupReferences(Collection<FirewallPolicyStatelessRuleGroupReferencesDetails> statelessRuleGroupReferences)The stateless rule groups that are used in the firewall policy.FirewallPolicyDetails.BuilderstatelessRuleGroupReferences(Consumer<FirewallPolicyStatelessRuleGroupReferencesDetails.Builder>... statelessRuleGroupReferences)The stateless rule groups that are used in the firewall policy.FirewallPolicyDetails.BuilderstatelessRuleGroupReferences(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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 to#statefulRuleGroupReferences(List.) - 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:
#statefulRuleGroupReferences(java.util.Collection)
-
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 to#statelessCustomActions(List.) - 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:
#statelessCustomActions(java.util.Collection)
-
statelessDefaultActions
FirewallPolicyDetails.Builder statelessDefaultActions(Collection<String> 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
FirewallPolicyDetails.Builder statelessDefaultActions(String... 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 to#statelessRuleGroupReferences(List.) - 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:
#statelessRuleGroupReferences(java.util.Collection)
-
-