Interface ChallengePreference.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ChallengePreference.Builder,
,ChallengePreference> SdkBuilder<ChallengePreference.Builder,
,ChallengePreference> SdkPojo
- Enclosing class:
ChallengePreference
@Mutable
@NotThreadSafe
public static interface ChallengePreference.Builder
extends SdkPojo, CopyableBuilder<ChallengePreference.Builder,ChallengePreference>
-
Method Summary
Modifier and TypeMethodDescriptionThe types of challenges that have been selected for the Face Liveness session.type
(ChallengeType type) The types of challenges that have been selected for the Face Liveness session.default ChallengePreference.Builder
versions
(Consumer<Versions.Builder> versions) The version of the challenges that have been selected for the Face Liveness session.The version of the challenges that have been selected for the Face Liveness session.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, sdkFieldNameToField, sdkFields
-
Method Details
-
type
The types of challenges that have been selected for the Face Liveness session.
- Parameters:
type
- The types of challenges that have been selected for the Face Liveness session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The types of challenges that have been selected for the Face Liveness session.
- Parameters:
type
- The types of challenges that have been selected for the Face Liveness session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
versions
The version of the challenges that have been selected for the Face Liveness session.
- Parameters:
versions
- The version of the challenges that have been selected for the Face Liveness session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
The version of the challenges that have been selected for the Face Liveness session.
This is a convenience method that creates an instance of theVersions.Builder
avoiding the need to create one manually viaVersions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toversions(Versions)
.- Parameters:
versions
- a consumer that will call methods onVersions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-