@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FirewallPolicyDetails extends Object implements Serializable, Cloneable, StructuredPojo
Defines the behavior of the firewall.
| Constructor and Description |
|---|
FirewallPolicyDetails() |
| Modifier and Type | Method and Description |
|---|---|
FirewallPolicyDetails |
clone() |
boolean |
equals(Object obj) |
List<FirewallPolicyStatefulRuleGroupReferencesDetails> |
getStatefulRuleGroupReferences()
The stateful rule groups that are used in the firewall policy.
|
List<FirewallPolicyStatelessCustomActionsDetails> |
getStatelessCustomActions()
The custom action definitions that are available to use in the firewall policy's
StatelessDefaultActions setting. |
List<String> |
getStatelessDefaultActions()
The actions to take on a packet if it doesn't match any of the stateless rules in the policy.
|
List<String> |
getStatelessFragmentDefaultActions()
The actions to take on a fragmented UDP packet if it doesn't match any of the stateless rules in the policy.
|
List<FirewallPolicyStatelessRuleGroupReferencesDetails> |
getStatelessRuleGroupReferences()
The stateless rule groups that are used in the firewall policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setStatefulRuleGroupReferences(Collection<FirewallPolicyStatefulRuleGroupReferencesDetails> statefulRuleGroupReferences)
The stateful rule groups that are used in the firewall policy.
|
void |
setStatelessCustomActions(Collection<FirewallPolicyStatelessCustomActionsDetails> statelessCustomActions)
The custom action definitions that are available to use in the firewall policy's
StatelessDefaultActions setting. |
void |
setStatelessDefaultActions(Collection<String> statelessDefaultActions)
The actions to take on a packet if it doesn't match any of the stateless rules in the policy.
|
void |
setStatelessFragmentDefaultActions(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.
|
void |
setStatelessRuleGroupReferences(Collection<FirewallPolicyStatelessRuleGroupReferencesDetails> statelessRuleGroupReferences)
The stateless rule groups that are used in the firewall policy.
|
String |
toString()
Returns a string representation of this object.
|
FirewallPolicyDetails |
withStatefulRuleGroupReferences(Collection<FirewallPolicyStatefulRuleGroupReferencesDetails> statefulRuleGroupReferences)
The stateful rule groups that are used in the firewall policy.
|
FirewallPolicyDetails |
withStatefulRuleGroupReferences(FirewallPolicyStatefulRuleGroupReferencesDetails... statefulRuleGroupReferences)
The stateful rule groups that are used in the firewall policy.
|
FirewallPolicyDetails |
withStatelessCustomActions(Collection<FirewallPolicyStatelessCustomActionsDetails> statelessCustomActions)
The custom action definitions that are available to use in the firewall policy's
StatelessDefaultActions setting. |
FirewallPolicyDetails |
withStatelessCustomActions(FirewallPolicyStatelessCustomActionsDetails... statelessCustomActions)
The custom action definitions that are available to use in the firewall policy's
StatelessDefaultActions setting. |
FirewallPolicyDetails |
withStatelessDefaultActions(Collection<String> statelessDefaultActions)
The actions to take on a packet if it doesn't match any of the stateless rules in the policy.
|
FirewallPolicyDetails |
withStatelessDefaultActions(String... statelessDefaultActions)
The actions to take on a packet if it doesn't match any of the stateless rules in the policy.
|
FirewallPolicyDetails |
withStatelessFragmentDefaultActions(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 |
withStatelessFragmentDefaultActions(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 |
withStatelessRuleGroupReferences(Collection<FirewallPolicyStatelessRuleGroupReferencesDetails> statelessRuleGroupReferences)
The stateless rule groups that are used in the firewall policy.
|
FirewallPolicyDetails |
withStatelessRuleGroupReferences(FirewallPolicyStatelessRuleGroupReferencesDetails... statelessRuleGroupReferences)
The stateless rule groups that are used in the firewall policy.
|
public List<FirewallPolicyStatefulRuleGroupReferencesDetails> getStatefulRuleGroupReferences()
The stateful rule groups that are used in the firewall policy.
public void setStatefulRuleGroupReferences(Collection<FirewallPolicyStatefulRuleGroupReferencesDetails> statefulRuleGroupReferences)
The stateful rule groups that are used in the firewall policy.
statefulRuleGroupReferences - The stateful rule groups that are used in the firewall policy.public FirewallPolicyDetails withStatefulRuleGroupReferences(FirewallPolicyStatefulRuleGroupReferencesDetails... statefulRuleGroupReferences)
The stateful rule groups that are used in the firewall policy.
NOTE: This method appends the values to the existing list (if any). Use
setStatefulRuleGroupReferences(java.util.Collection) or
withStatefulRuleGroupReferences(java.util.Collection) if you want to override the existing values.
statefulRuleGroupReferences - The stateful rule groups that are used in the firewall policy.public FirewallPolicyDetails withStatefulRuleGroupReferences(Collection<FirewallPolicyStatefulRuleGroupReferencesDetails> statefulRuleGroupReferences)
The stateful rule groups that are used in the firewall policy.
statefulRuleGroupReferences - The stateful rule groups that are used in the firewall policy.public List<FirewallPolicyStatelessCustomActionsDetails> getStatelessCustomActions()
The custom action definitions that are available to use in the firewall policy's
StatelessDefaultActions setting.
StatelessDefaultActions setting.public void setStatelessCustomActions(Collection<FirewallPolicyStatelessCustomActionsDetails> statelessCustomActions)
The custom action definitions that are available to use in the firewall policy's
StatelessDefaultActions setting.
statelessCustomActions - The custom action definitions that are available to use in the firewall policy's
StatelessDefaultActions setting.public FirewallPolicyDetails withStatelessCustomActions(FirewallPolicyStatelessCustomActionsDetails... statelessCustomActions)
The custom action definitions that are available to use in the firewall policy's
StatelessDefaultActions setting.
NOTE: This method appends the values to the existing list (if any). Use
setStatelessCustomActions(java.util.Collection) or
withStatelessCustomActions(java.util.Collection) if you want to override the existing values.
statelessCustomActions - The custom action definitions that are available to use in the firewall policy's
StatelessDefaultActions setting.public FirewallPolicyDetails withStatelessCustomActions(Collection<FirewallPolicyStatelessCustomActionsDetails> statelessCustomActions)
The custom action definitions that are available to use in the firewall policy's
StatelessDefaultActions setting.
statelessCustomActions - The custom action definitions that are available to use in the firewall policy's
StatelessDefaultActions setting.public List<String> getStatelessDefaultActions()
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 from StatelessCustomActions.
You must specify a standard action (aws:pass, aws:drop,
aws:forward_to_sfe), and can optionally include a custom action from
StatelessCustomActions.
public void setStatelessDefaultActions(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 from StatelessCustomActions.
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 from
StatelessCustomActions.
public FirewallPolicyDetails withStatelessDefaultActions(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 from StatelessCustomActions.
NOTE: This method appends the values to the existing list (if any). Use
setStatelessDefaultActions(java.util.Collection) or
withStatelessDefaultActions(java.util.Collection) if you want to override the existing values.
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 from
StatelessCustomActions.
public FirewallPolicyDetails withStatelessDefaultActions(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 from StatelessCustomActions.
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 from
StatelessCustomActions.
public List<String> getStatelessFragmentDefaultActions()
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 from StatelessCustomActions.
You must specify a standard action (aws:pass, aws:drop,
aws:forward_to_sfe), and can optionally include a custom action from
StatelessCustomActions.
public void setStatelessFragmentDefaultActions(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 from StatelessCustomActions.
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 from
StatelessCustomActions.
public FirewallPolicyDetails withStatelessFragmentDefaultActions(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 from StatelessCustomActions.
NOTE: This method appends the values to the existing list (if any). Use
setStatelessFragmentDefaultActions(java.util.Collection) or
withStatelessFragmentDefaultActions(java.util.Collection) if you want to override the existing values.
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 from
StatelessCustomActions.
public FirewallPolicyDetails withStatelessFragmentDefaultActions(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 from StatelessCustomActions.
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 from
StatelessCustomActions.
public List<FirewallPolicyStatelessRuleGroupReferencesDetails> getStatelessRuleGroupReferences()
The stateless rule groups that are used in the firewall policy.
public void setStatelessRuleGroupReferences(Collection<FirewallPolicyStatelessRuleGroupReferencesDetails> statelessRuleGroupReferences)
The stateless rule groups that are used in the firewall policy.
statelessRuleGroupReferences - The stateless rule groups that are used in the firewall policy.public FirewallPolicyDetails withStatelessRuleGroupReferences(FirewallPolicyStatelessRuleGroupReferencesDetails... statelessRuleGroupReferences)
The stateless rule groups that are used in the firewall policy.
NOTE: This method appends the values to the existing list (if any). Use
setStatelessRuleGroupReferences(java.util.Collection) or
withStatelessRuleGroupReferences(java.util.Collection) if you want to override the existing values.
statelessRuleGroupReferences - The stateless rule groups that are used in the firewall policy.public FirewallPolicyDetails withStatelessRuleGroupReferences(Collection<FirewallPolicyStatelessRuleGroupReferencesDetails> statelessRuleGroupReferences)
The stateless rule groups that are used in the firewall policy.
statelessRuleGroupReferences - The stateless rule groups that are used in the firewall policy.public String toString()
toString in class ObjectObject.toString()public FirewallPolicyDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.