@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkFirewallPolicyDescription extends Object implements Serializable, Cloneable, StructuredPojo
The definition of the Network Firewall firewall policy.
Constructor and Description |
---|
NetworkFirewallPolicyDescription() |
Modifier and Type | Method and Description |
---|---|
NetworkFirewallPolicyDescription |
clone() |
boolean |
equals(Object obj) |
List<String> |
getStatefulDefaultActions()
The default actions to take on a packet that doesn't match any stateful rules.
|
StatefulEngineOptions |
getStatefulEngineOptions()
Additional options governing how Network Firewall handles stateful rules.
|
List<StatefulRuleGroup> |
getStatefulRuleGroups()
The stateful rule groups that are used in the Network Firewall firewall policy.
|
List<String> |
getStatelessCustomActions()
Names of custom actions that are available for use in the stateless default actions settings.
|
List<String> |
getStatelessDefaultActions()
The actions to take on packets that don't match any of the stateless rule groups.
|
List<String> |
getStatelessFragmentDefaultActions()
The actions to take on packet fragments that don't match any of the stateless rule groups.
|
List<StatelessRuleGroup> |
getStatelessRuleGroups()
The stateless rule groups that are used in the Network Firewall firewall policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatefulDefaultActions(Collection<String> statefulDefaultActions)
The default actions to take on a packet that doesn't match any stateful rules.
|
void |
setStatefulEngineOptions(StatefulEngineOptions statefulEngineOptions)
Additional options governing how Network Firewall handles stateful rules.
|
void |
setStatefulRuleGroups(Collection<StatefulRuleGroup> statefulRuleGroups)
The stateful rule groups that are used in the Network Firewall firewall policy.
|
void |
setStatelessCustomActions(Collection<String> statelessCustomActions)
Names of custom actions that are available for use in the stateless default actions settings.
|
void |
setStatelessDefaultActions(Collection<String> statelessDefaultActions)
The actions to take on packets that don't match any of the stateless rule groups.
|
void |
setStatelessFragmentDefaultActions(Collection<String> statelessFragmentDefaultActions)
The actions to take on packet fragments that don't match any of the stateless rule groups.
|
void |
setStatelessRuleGroups(Collection<StatelessRuleGroup> statelessRuleGroups)
The stateless rule groups that are used in the Network Firewall firewall policy.
|
String |
toString()
Returns a string representation of this object.
|
NetworkFirewallPolicyDescription |
withStatefulDefaultActions(Collection<String> statefulDefaultActions)
The default actions to take on a packet that doesn't match any stateful rules.
|
NetworkFirewallPolicyDescription |
withStatefulDefaultActions(String... statefulDefaultActions)
The default actions to take on a packet that doesn't match any stateful rules.
|
NetworkFirewallPolicyDescription |
withStatefulEngineOptions(StatefulEngineOptions statefulEngineOptions)
Additional options governing how Network Firewall handles stateful rules.
|
NetworkFirewallPolicyDescription |
withStatefulRuleGroups(Collection<StatefulRuleGroup> statefulRuleGroups)
The stateful rule groups that are used in the Network Firewall firewall policy.
|
NetworkFirewallPolicyDescription |
withStatefulRuleGroups(StatefulRuleGroup... statefulRuleGroups)
The stateful rule groups that are used in the Network Firewall firewall policy.
|
NetworkFirewallPolicyDescription |
withStatelessCustomActions(Collection<String> statelessCustomActions)
Names of custom actions that are available for use in the stateless default actions settings.
|
NetworkFirewallPolicyDescription |
withStatelessCustomActions(String... statelessCustomActions)
Names of custom actions that are available for use in the stateless default actions settings.
|
NetworkFirewallPolicyDescription |
withStatelessDefaultActions(Collection<String> statelessDefaultActions)
The actions to take on packets that don't match any of the stateless rule groups.
|
NetworkFirewallPolicyDescription |
withStatelessDefaultActions(String... statelessDefaultActions)
The actions to take on packets that don't match any of the stateless rule groups.
|
NetworkFirewallPolicyDescription |
withStatelessFragmentDefaultActions(Collection<String> statelessFragmentDefaultActions)
The actions to take on packet fragments that don't match any of the stateless rule groups.
|
NetworkFirewallPolicyDescription |
withStatelessFragmentDefaultActions(String... statelessFragmentDefaultActions)
The actions to take on packet fragments that don't match any of the stateless rule groups.
|
NetworkFirewallPolicyDescription |
withStatelessRuleGroups(Collection<StatelessRuleGroup> statelessRuleGroups)
The stateless rule groups that are used in the Network Firewall firewall policy.
|
NetworkFirewallPolicyDescription |
withStatelessRuleGroups(StatelessRuleGroup... statelessRuleGroups)
The stateless rule groups that are used in the Network Firewall firewall policy.
|
public List<StatelessRuleGroup> getStatelessRuleGroups()
The stateless rule groups that are used in the Network Firewall firewall policy.
public void setStatelessRuleGroups(Collection<StatelessRuleGroup> statelessRuleGroups)
The stateless rule groups that are used in the Network Firewall firewall policy.
statelessRuleGroups
- The stateless rule groups that are used in the Network Firewall firewall policy.public NetworkFirewallPolicyDescription withStatelessRuleGroups(StatelessRuleGroup... statelessRuleGroups)
The stateless rule groups that are used in the Network Firewall firewall policy.
NOTE: This method appends the values to the existing list (if any). Use
setStatelessRuleGroups(java.util.Collection)
or withStatelessRuleGroups(java.util.Collection)
if you want to override the existing values.
statelessRuleGroups
- The stateless rule groups that are used in the Network Firewall firewall policy.public NetworkFirewallPolicyDescription withStatelessRuleGroups(Collection<StatelessRuleGroup> statelessRuleGroups)
The stateless rule groups that are used in the Network Firewall firewall policy.
statelessRuleGroups
- The stateless rule groups that are used in the Network Firewall firewall policy.public List<String> getStatelessDefaultActions()
The actions to take on packets that don't match any of the stateless rule groups.
public void setStatelessDefaultActions(Collection<String> statelessDefaultActions)
The actions to take on packets that don't match any of the stateless rule groups.
statelessDefaultActions
- The actions to take on packets that don't match any of the stateless rule groups.public NetworkFirewallPolicyDescription withStatelessDefaultActions(String... statelessDefaultActions)
The actions to take on packets that don't match any of the stateless rule groups.
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 packets that don't match any of the stateless rule groups.public NetworkFirewallPolicyDescription withStatelessDefaultActions(Collection<String> statelessDefaultActions)
The actions to take on packets that don't match any of the stateless rule groups.
statelessDefaultActions
- The actions to take on packets that don't match any of the stateless rule groups.public List<String> getStatelessFragmentDefaultActions()
The actions to take on packet fragments that don't match any of the stateless rule groups.
public void setStatelessFragmentDefaultActions(Collection<String> statelessFragmentDefaultActions)
The actions to take on packet fragments that don't match any of the stateless rule groups.
statelessFragmentDefaultActions
- The actions to take on packet fragments that don't match any of the stateless rule groups.public NetworkFirewallPolicyDescription withStatelessFragmentDefaultActions(String... statelessFragmentDefaultActions)
The actions to take on packet fragments that don't match any of the stateless rule groups.
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 packet fragments that don't match any of the stateless rule groups.public NetworkFirewallPolicyDescription withStatelessFragmentDefaultActions(Collection<String> statelessFragmentDefaultActions)
The actions to take on packet fragments that don't match any of the stateless rule groups.
statelessFragmentDefaultActions
- The actions to take on packet fragments that don't match any of the stateless rule groups.public List<String> getStatelessCustomActions()
Names of custom actions that are available for use in the stateless default actions settings.
public void setStatelessCustomActions(Collection<String> statelessCustomActions)
Names of custom actions that are available for use in the stateless default actions settings.
statelessCustomActions
- Names of custom actions that are available for use in the stateless default actions settings.public NetworkFirewallPolicyDescription withStatelessCustomActions(String... statelessCustomActions)
Names of custom actions that are available for use in the stateless default actions settings.
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
- Names of custom actions that are available for use in the stateless default actions settings.public NetworkFirewallPolicyDescription withStatelessCustomActions(Collection<String> statelessCustomActions)
Names of custom actions that are available for use in the stateless default actions settings.
statelessCustomActions
- Names of custom actions that are available for use in the stateless default actions settings.public List<StatefulRuleGroup> getStatefulRuleGroups()
The stateful rule groups that are used in the Network Firewall firewall policy.
public void setStatefulRuleGroups(Collection<StatefulRuleGroup> statefulRuleGroups)
The stateful rule groups that are used in the Network Firewall firewall policy.
statefulRuleGroups
- The stateful rule groups that are used in the Network Firewall firewall policy.public NetworkFirewallPolicyDescription withStatefulRuleGroups(StatefulRuleGroup... statefulRuleGroups)
The stateful rule groups that are used in the Network Firewall firewall policy.
NOTE: This method appends the values to the existing list (if any). Use
setStatefulRuleGroups(java.util.Collection)
or withStatefulRuleGroups(java.util.Collection)
if
you want to override the existing values.
statefulRuleGroups
- The stateful rule groups that are used in the Network Firewall firewall policy.public NetworkFirewallPolicyDescription withStatefulRuleGroups(Collection<StatefulRuleGroup> statefulRuleGroups)
The stateful rule groups that are used in the Network Firewall firewall policy.
statefulRuleGroups
- The stateful rule groups that are used in the Network Firewall firewall policy.public List<String> getStatefulDefaultActions()
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
Valid values of the stateful default action:
aws:drop_strict
aws:drop_established
aws:alert_strict
aws:alert_established
public void setStatefulDefaultActions(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
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
public NetworkFirewallPolicyDescription withStatefulDefaultActions(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
NOTE: This method appends the values to the existing list (if any). Use
setStatefulDefaultActions(java.util.Collection)
or
withStatefulDefaultActions(java.util.Collection)
if you want to override the existing values.
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
public NetworkFirewallPolicyDescription withStatefulDefaultActions(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
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
public void setStatefulEngineOptions(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.
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.public StatefulEngineOptions getStatefulEngineOptions()
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.
public NetworkFirewallPolicyDescription withStatefulEngineOptions(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.
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.public String toString()
toString
in class Object
Object.toString()
public NetworkFirewallPolicyDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.