@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsWafv2RulesActionCaptchaDetails extends Object implements Serializable, Cloneable, StructuredPojo
Specifies that WAF should run a CAPTCHA check against the request.
Constructor and Description |
---|
AwsWafv2RulesActionCaptchaDetails() |
Modifier and Type | Method and Description |
---|---|
AwsWafv2RulesActionCaptchaDetails |
clone() |
boolean |
equals(Object obj) |
AwsWafv2CustomRequestHandlingDetails |
getCustomRequestHandling()
Defines custom handling for the web request, used when the CAPTCHA inspection determines that the request's token
is valid and unexpired.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomRequestHandling(AwsWafv2CustomRequestHandlingDetails customRequestHandling)
Defines custom handling for the web request, used when the CAPTCHA inspection determines that the request's token
is valid and unexpired.
|
String |
toString()
Returns a string representation of this object.
|
AwsWafv2RulesActionCaptchaDetails |
withCustomRequestHandling(AwsWafv2CustomRequestHandlingDetails customRequestHandling)
Defines custom handling for the web request, used when the CAPTCHA inspection determines that the request's token
is valid and unexpired.
|
public void setCustomRequestHandling(AwsWafv2CustomRequestHandlingDetails customRequestHandling)
Defines custom handling for the web request, used when the CAPTCHA inspection determines that the request's token is valid and unexpired. For more information, see Customizing web requests and responses in WAF in the WAF Developer Guide..
customRequestHandling
- Defines custom handling for the web request, used when the CAPTCHA inspection determines that the
request's token is valid and unexpired. For more information, see Customizing
web requests and responses in WAF in the WAF Developer Guide..public AwsWafv2CustomRequestHandlingDetails getCustomRequestHandling()
Defines custom handling for the web request, used when the CAPTCHA inspection determines that the request's token is valid and unexpired. For more information, see Customizing web requests and responses in WAF in the WAF Developer Guide..
public AwsWafv2RulesActionCaptchaDetails withCustomRequestHandling(AwsWafv2CustomRequestHandlingDetails customRequestHandling)
Defines custom handling for the web request, used when the CAPTCHA inspection determines that the request's token is valid and unexpired. For more information, see Customizing web requests and responses in WAF in the WAF Developer Guide..
customRequestHandling
- Defines custom handling for the web request, used when the CAPTCHA inspection determines that the
request's token is valid and unexpired. For more information, see Customizing
web requests and responses in WAF in the WAF Developer Guide..public String toString()
toString
in class Object
Object.toString()
public AwsWafv2RulesActionCaptchaDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.