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