@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<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 |
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 |
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 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.