Interface ChallengeConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChallengeConfig.Builder,,ChallengeConfig> SdkBuilder<ChallengeConfig.Builder,,ChallengeConfig> SdkPojo
- Enclosing class:
ChallengeConfig
@Mutable
@NotThreadSafe
public static interface ChallengeConfig.Builder
extends SdkPojo, CopyableBuilder<ChallengeConfig.Builder,ChallengeConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ChallengeConfig.BuilderimmunityTimeProperty(Consumer<ImmunityTimeProperty.Builder> immunityTimeProperty) Determines how long a challenge timestamp in the token remains valid after the client successfully responds to a challenge.immunityTimeProperty(ImmunityTimeProperty immunityTimeProperty) Determines how long a challenge timestamp in the token remains valid after the client successfully responds to a challenge.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
immunityTimeProperty
Determines how long a challenge timestamp in the token remains valid after the client successfully responds to a challenge.
- Parameters:
immunityTimeProperty- Determines how long a challenge timestamp in the token remains valid after the client successfully responds to a challenge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
immunityTimeProperty
default ChallengeConfig.Builder immunityTimeProperty(Consumer<ImmunityTimeProperty.Builder> immunityTimeProperty) Determines how long a challenge timestamp in the token remains valid after the client successfully responds to a challenge.
This is a convenience method that creates an instance of theImmunityTimeProperty.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:
-