@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)
Marshalls this structured data using the given
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 Object
Object.toString()
public ImmunityTimeProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.