@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StatefulRuleGroupOverride 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 |
---|
StatefulRuleGroupOverride() |
Modifier and Type | Method and Description |
---|---|
StatefulRuleGroupOverride |
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.
|
StatefulRuleGroupOverride |
withAction(OverrideAction action)
The action that changes the rule group from
DROP to ALERT . |
StatefulRuleGroupOverride |
withAction(String action)
The action that changes the rule group from
DROP to ALERT . |
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.OverrideAction
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.OverrideAction
public StatefulRuleGroupOverride 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.OverrideAction
public StatefulRuleGroupOverride withAction(OverrideAction 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.OverrideAction
public String toString()
toString
in class Object
Object.toString()
public StatefulRuleGroupOverride clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.