@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CaptchaConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specifies how WAF should handle CAPTCHA
evaluations. This is available at the web ACL level and in each
rule.
Constructor and Description |
---|
CaptchaConfig() |
Modifier and Type | Method and Description |
---|---|
CaptchaConfig |
clone() |
boolean |
equals(Object obj) |
ImmunityTimeProperty |
getImmunityTimeProperty()
Determines how long a
CAPTCHA timestamp in the token remains valid after the client successfully
solves a CAPTCHA puzzle. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setImmunityTimeProperty(ImmunityTimeProperty immunityTimeProperty)
Determines how long a
CAPTCHA timestamp in the token remains valid after the client successfully
solves a CAPTCHA puzzle. |
String |
toString()
Returns a string representation of this object.
|
CaptchaConfig |
withImmunityTimeProperty(ImmunityTimeProperty immunityTimeProperty)
Determines how long a
CAPTCHA timestamp in the token remains valid after the client successfully
solves a CAPTCHA puzzle. |
public void setImmunityTimeProperty(ImmunityTimeProperty immunityTimeProperty)
Determines how long a CAPTCHA
timestamp in the token remains valid after the client successfully
solves a CAPTCHA
puzzle.
immunityTimeProperty
- Determines how long a CAPTCHA
timestamp in the token remains valid after the client
successfully solves a CAPTCHA
puzzle.public ImmunityTimeProperty getImmunityTimeProperty()
Determines how long a CAPTCHA
timestamp in the token remains valid after the client successfully
solves a CAPTCHA
puzzle.
CAPTCHA
timestamp in the token remains valid after the client
successfully solves a CAPTCHA
puzzle.public CaptchaConfig withImmunityTimeProperty(ImmunityTimeProperty immunityTimeProperty)
Determines how long a CAPTCHA
timestamp in the token remains valid after the client successfully
solves a CAPTCHA
puzzle.
immunityTimeProperty
- Determines how long a CAPTCHA
timestamp in the token remains valid after the client
successfully solves a CAPTCHA
puzzle.public String toString()
toString
in class Object
Object.toString()
public CaptchaConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.