@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsWafRegionalRuleGroupRulesActionDetails extends Object implements Serializable, Cloneable, StructuredPojo
Describes the action that AWS WAF should take on a web request when it matches the criteria defined in the rule.
Constructor and Description |
---|
AwsWafRegionalRuleGroupRulesActionDetails() |
Modifier and Type | Method and Description |
---|---|
AwsWafRegionalRuleGroupRulesActionDetails |
clone() |
boolean |
equals(Object obj) |
String |
getType()
Specifies the
ByteMatchSet , IPSet , SqlInjectionMatchSet ,
XssMatchSet , RegexMatchSet , GeoMatchSet , and
SizeConstraintSet objects that you want to add to a rule and, for each object, indicates whether you
want to negate the settings. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setType(String type)
Specifies the
ByteMatchSet , IPSet , SqlInjectionMatchSet ,
XssMatchSet , RegexMatchSet , GeoMatchSet , and
SizeConstraintSet objects that you want to add to a rule and, for each object, indicates whether you
want to negate the settings. |
String |
toString()
Returns a string representation of this object.
|
AwsWafRegionalRuleGroupRulesActionDetails |
withType(String type)
Specifies the
ByteMatchSet , IPSet , SqlInjectionMatchSet ,
XssMatchSet , RegexMatchSet , GeoMatchSet , and
SizeConstraintSet objects that you want to add to a rule and, for each object, indicates whether you
want to negate the settings. |
public AwsWafRegionalRuleGroupRulesActionDetails()
public void setType(String type)
Specifies the ByteMatchSet
, IPSet
, SqlInjectionMatchSet
,
XssMatchSet
, RegexMatchSet
, GeoMatchSet
, and
SizeConstraintSet
objects that you want to add to a rule and, for each object, indicates whether you
want to negate the settings.
type
- Specifies the ByteMatchSet
, IPSet
, SqlInjectionMatchSet
,
XssMatchSet
, RegexMatchSet
, GeoMatchSet
, and
SizeConstraintSet
objects that you want to add to a rule and, for each object, indicates
whether you want to negate the settings.public String getType()
Specifies the ByteMatchSet
, IPSet
, SqlInjectionMatchSet
,
XssMatchSet
, RegexMatchSet
, GeoMatchSet
, and
SizeConstraintSet
objects that you want to add to a rule and, for each object, indicates whether you
want to negate the settings.
ByteMatchSet
, IPSet
, SqlInjectionMatchSet
,
XssMatchSet
, RegexMatchSet
, GeoMatchSet
, and
SizeConstraintSet
objects that you want to add to a rule and, for each object, indicates
whether you want to negate the settings.public AwsWafRegionalRuleGroupRulesActionDetails withType(String type)
Specifies the ByteMatchSet
, IPSet
, SqlInjectionMatchSet
,
XssMatchSet
, RegexMatchSet
, GeoMatchSet
, and
SizeConstraintSet
objects that you want to add to a rule and, for each object, indicates whether you
want to negate the settings.
type
- Specifies the ByteMatchSet
, IPSet
, SqlInjectionMatchSet
,
XssMatchSet
, RegexMatchSet
, GeoMatchSet
, and
SizeConstraintSet
objects that you want to add to a rule and, for each object, indicates
whether you want to negate the settings.public String toString()
toString
in class Object
Object.toString()
public AwsWafRegionalRuleGroupRulesActionDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.