@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.OverrideActionpublic 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.OverrideActionpublic 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.OverrideActionpublic 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.OverrideActionpublic String toString()
toString in class ObjectObject.toString()public StatefulRuleGroupOverride clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.