Class AuthenticationRetrieveResponse.ChallengeMetadata.Builder
-
- All Implemented Interfaces:
public final class AuthenticationRetrieveResponse.ChallengeMetadata.BuilderA builder for ChallengeMetadata.
-
-
Method Summary
-
-
Method Detail
-
methodType
final AuthenticationRetrieveResponse.ChallengeMetadata.Builder methodType(AuthenticationRetrieveResponse.ChallengeMetadata.MethodType methodType)
The type of challenge method used for authentication.
-
methodType
final AuthenticationRetrieveResponse.ChallengeMetadata.Builder methodType(JsonField<AuthenticationRetrieveResponse.ChallengeMetadata.MethodType> methodType)
Sets Builder.methodType to an arbitrary JSON value.
You should usually call Builder.methodType with a well-typed MethodType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
phoneNumber
final AuthenticationRetrieveResponse.ChallengeMetadata.Builder phoneNumber(String phoneNumber)
The phone number used for delivering the OTP. Relevant only for SMS_OTP method.
-
phoneNumber
final AuthenticationRetrieveResponse.ChallengeMetadata.Builder phoneNumber(Optional<String> phoneNumber)
Alias for calling Builder.phoneNumber with
phoneNumber.orElse(null).
-
phoneNumber
final AuthenticationRetrieveResponse.ChallengeMetadata.Builder phoneNumber(JsonField<String> phoneNumber)
Sets Builder.phoneNumber to an arbitrary JSON value.
You should usually call Builder.phoneNumber with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final AuthenticationRetrieveResponse.ChallengeMetadata.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AuthenticationRetrieveResponse.ChallengeMetadata.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AuthenticationRetrieveResponse.ChallengeMetadata.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AuthenticationRetrieveResponse.ChallengeMetadata.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AuthenticationRetrieveResponse.ChallengeMetadata.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AuthenticationRetrieveResponse.ChallengeMetadata build()
Returns an immutable instance of ChallengeMetadata.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.methodType()
-
-
-
-