@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImmunityTimeProperty extends Object implements Serializable, Cloneable, StructuredPojo
Determines how long a CAPTCHA token remains valid after the client successfully solves a
CAPTCHA puzzle.
| Constructor and Description |
|---|
ImmunityTimeProperty() |
| Modifier and Type | Method and Description |
|---|---|
ImmunityTimeProperty |
clone() |
boolean |
equals(Object obj) |
Long |
getImmunityTime()
The amount of time, in seconds, that a
CAPTCHA token is valid. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setImmunityTime(Long immunityTime)
The amount of time, in seconds, that a
CAPTCHA token is valid. |
String |
toString()
Returns a string representation of this object.
|
ImmunityTimeProperty |
withImmunityTime(Long immunityTime)
The amount of time, in seconds, that a
CAPTCHA token is valid. |
public void setImmunityTime(Long immunityTime)
The amount of time, in seconds, that a CAPTCHA token is valid. The default setting is 300.
immunityTime - The amount of time, in seconds, that a CAPTCHA token is valid. The default setting is 300.public Long getImmunityTime()
The amount of time, in seconds, that a CAPTCHA token is valid. The default setting is 300.
CAPTCHA token is valid. The default setting is 300.public ImmunityTimeProperty withImmunityTime(Long immunityTime)
The amount of time, in seconds, that a CAPTCHA token is valid. The default setting is 300.
immunityTime - The amount of time, in seconds, that a CAPTCHA token is valid. The default setting is 300.public String toString()
toString in class ObjectObject.toString()public ImmunityTimeProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.