@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.NetworkFirewallOverrideAction
public 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.NetworkFirewallOverrideAction
public 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.NetworkFirewallOverrideAction
public 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.NetworkFirewallOverrideAction
public String toString()
toString
in class Object
Object.toString()
public NetworkFirewallStatefulRuleGroupOverride clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.