@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsWafRegionalWebAclRulesListActionDetails extends Object implements Serializable, Cloneable, StructuredPojo
The action that WAF takes when a web request matches all conditions in the rule, such as allow, block, or count the request.
Constructor and Description |
---|
AwsWafRegionalWebAclRulesListActionDetails() |
Modifier and Type | Method and Description |
---|---|
AwsWafRegionalWebAclRulesListActionDetails |
clone() |
boolean |
equals(Object obj) |
String |
getType()
For actions that are associated with a rule, the action that WAF takes when a web request matches all conditions
in a rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setType(String type)
For actions that are associated with a rule, the action that WAF takes when a web request matches all conditions
in a rule.
|
String |
toString()
Returns a string representation of this object.
|
AwsWafRegionalWebAclRulesListActionDetails |
withType(String type)
For actions that are associated with a rule, the action that WAF takes when a web request matches all conditions
in a rule.
|
public AwsWafRegionalWebAclRulesListActionDetails()
public void setType(String type)
For actions that are associated with a rule, the action that WAF takes when a web request matches all conditions in a rule.
type
- For actions that are associated with a rule, the action that WAF takes when a web request matches all
conditions in a rule.public String getType()
For actions that are associated with a rule, the action that WAF takes when a web request matches all conditions in a rule.
public AwsWafRegionalWebAclRulesListActionDetails withType(String type)
For actions that are associated with a rule, the action that WAF takes when a web request matches all conditions in a rule.
type
- For actions that are associated with a rule, the action that WAF takes when a web request matches all
conditions in a rule.public String toString()
toString
in class Object
Object.toString()
public AwsWafRegionalWebAclRulesListActionDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.