@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails extends Object implements Serializable, Cloneable, StructuredPojo
Used for CAPTCHA and challenge token settings. Determines how long a CAPTCHA or challenge timestamp remains valid after WAF updates it for a successful CAPTCHA or challenge response.
| Constructor and Description |
|---|
AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails() |
| Modifier and Type | Method and Description |
|---|---|
AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails |
clone() |
boolean |
equals(Object obj) |
Long |
getImmunityTime()
The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by WAF.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setImmunityTime(Long immunityTime)
The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by WAF.
|
String |
toString()
Returns a string representation of this object.
|
AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails |
withImmunityTime(Long immunityTime)
The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by WAF.
|
public AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails()
public void setImmunityTime(Long immunityTime)
The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by WAF.
immunityTime - The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by WAF.public Long getImmunityTime()
The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by WAF.
public AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails withImmunityTime(Long immunityTime)
The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by WAF.
immunityTime - The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by WAF.public String toString()
toString in class ObjectObject.toString()public AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.