Interface CaptchaConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CaptchaConfig.Builder,CaptchaConfig>,SdkBuilder<CaptchaConfig.Builder,CaptchaConfig>,SdkPojo
- Enclosing class:
- CaptchaConfig
public static interface CaptchaConfig.Builder extends SdkPojo, CopyableBuilder<CaptchaConfig.Builder,CaptchaConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CaptchaConfig.BuilderimmunityTimeProperty(Consumer<ImmunityTimeProperty.Builder> immunityTimeProperty)Determines how long aCAPTCHAtimestamp in the token remains valid after the client successfully solves aCAPTCHApuzzle.CaptchaConfig.BuilderimmunityTimeProperty(ImmunityTimeProperty immunityTimeProperty)Determines how long aCAPTCHAtimestamp in the token remains valid after the client successfully solves aCAPTCHApuzzle.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
immunityTimeProperty
CaptchaConfig.Builder immunityTimeProperty(ImmunityTimeProperty immunityTimeProperty)
Determines how long a
CAPTCHAtimestamp in the token remains valid after the client successfully solves aCAPTCHApuzzle.- Parameters:
immunityTimeProperty- Determines how long aCAPTCHAtimestamp in the token remains valid after the client successfully solves aCAPTCHApuzzle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
immunityTimeProperty
default CaptchaConfig.Builder immunityTimeProperty(Consumer<ImmunityTimeProperty.Builder> immunityTimeProperty)
Determines how long a
This is a convenience method that creates an instance of theCAPTCHAtimestamp in the token remains valid after the client successfully solves aCAPTCHApuzzle.ImmunityTimeProperty.Builderavoiding the need to create one manually viaImmunityTimeProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimmunityTimeProperty(ImmunityTimeProperty).- Parameters:
immunityTimeProperty- a consumer that will call methods onImmunityTimeProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
immunityTimeProperty(ImmunityTimeProperty)
-
-