@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsWafRuleGroupRulesActionDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about what action WAF should take on a web request when it matches the criteria defined in the rule.
| Constructor and Description |
|---|
AwsWafRuleGroupRulesActionDetails() |
| Modifier and Type | Method and Description |
|---|---|
AwsWafRuleGroupRulesActionDetails |
clone() |
boolean |
equals(Object obj) |
String |
getType()
The action that WAF should take on a web request when it matches the rule's statement.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setType(String type)
The action that WAF should take on a web request when it matches the rule's statement.
|
String |
toString()
Returns a string representation of this object.
|
AwsWafRuleGroupRulesActionDetails |
withType(String type)
The action that WAF should take on a web request when it matches the rule's statement.
|
public void setType(String type)
The action that WAF should take on a web request when it matches the rule's statement.
type - The action that WAF should take on a web request when it matches the rule's statement.public String getType()
The action that WAF should take on a web request when it matches the rule's statement.
public AwsWafRuleGroupRulesActionDetails withType(String type)
The action that WAF should take on a web request when it matches the rule's statement.
type - The action that WAF should take on a web request when it matches the rule's statement.public String toString()
toString in class ObjectObject.toString()public AwsWafRuleGroupRulesActionDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.