@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkFirewallStatefulRuleGroupOverride extends Object implements Serializable, Cloneable, StructuredPojo
The setting that allows the policy owner to change the behavior of the rule group within a policy.
| Constructor and Description |
|---|
NetworkFirewallStatefulRuleGroupOverride() |
| Modifier and Type | Method and Description |
|---|---|
NetworkFirewallStatefulRuleGroupOverride |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action that changes the rule group from
DROP to ALERT. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAction(String action)
The action that changes the rule group from
DROP to ALERT. |
String |
toString()
Returns a string representation of this object.
|
NetworkFirewallStatefulRuleGroupOverride |
withAction(NetworkFirewallOverrideAction action)
The action that changes the rule group from
DROP to ALERT. |
NetworkFirewallStatefulRuleGroupOverride |
withAction(String action)
The action that changes the rule group from
DROP to ALERT. |
public NetworkFirewallStatefulRuleGroupOverride()
public void setAction(String action)
The action that changes the rule group from DROP to ALERT. This only applies to managed
rule groups.
action - The action that changes the rule group from DROP to ALERT. This only applies to
managed rule groups.NetworkFirewallOverrideActionpublic String getAction()
The action that changes the rule group from DROP to ALERT. This only applies to managed
rule groups.
DROP to ALERT. This only applies to
managed rule groups.NetworkFirewallOverrideActionpublic NetworkFirewallStatefulRuleGroupOverride withAction(String action)
The action that changes the rule group from DROP to ALERT. This only applies to managed
rule groups.
action - The action that changes the rule group from DROP to ALERT. This only applies to
managed rule groups.NetworkFirewallOverrideActionpublic NetworkFirewallStatefulRuleGroupOverride withAction(NetworkFirewallOverrideAction action)
The action that changes the rule group from DROP to ALERT. This only applies to managed
rule groups.
action - The action that changes the rule group from DROP to ALERT. This only applies to
managed rule groups.NetworkFirewallOverrideActionpublic String toString()
toString in class ObjectObject.toString()public NetworkFirewallStatefulRuleGroupOverride clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.