Class ImmunityTimeProperty
- java.lang.Object
-
- software.amazon.awssdk.services.wafv2.model.ImmunityTimeProperty
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImmunityTimeProperty.Builder,ImmunityTimeProperty>
@Generated("software.amazon.awssdk:codegen") public final class ImmunityTimeProperty extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImmunityTimeProperty.Builder,ImmunityTimeProperty>
Used for CAPTCHA and challenge token settings. Determines how long a
CAPTCHAor challenge timestamp remains valid after WAF updates it for a successfulCAPTCHAor challenge response.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImmunityTimeProperty.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmunityTimeProperty.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongimmunityTime()The amount of time, in seconds, that aCAPTCHAor challenge timestamp is considered valid by WAF.List<SdkField<?>>sdkFields()static Class<? extends ImmunityTimeProperty.Builder>serializableBuilderClass()ImmunityTimeProperty.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
immunityTime
public final Long immunityTime()
The amount of time, in seconds, that a
CAPTCHAor challenge timestamp is considered valid by WAF. The default setting is 300.For the Challenge action, the minimum setting is 300.
- Returns:
- The amount of time, in seconds, that a
CAPTCHAor challenge timestamp is considered valid by WAF. The default setting is 300.For the Challenge action, the minimum setting is 300.
-
toBuilder
public ImmunityTimeProperty.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImmunityTimeProperty.Builder,ImmunityTimeProperty>
-
builder
public static ImmunityTimeProperty.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImmunityTimeProperty.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-