public static interface AuthenticationResult.Builder extends SdkPojo, CopyableBuilder<AuthenticationResult.Builder,AuthenticationResult>
| Modifier and Type | Method and Description |
|---|---|
AuthenticationResult.Builder |
audioAggregationEndedAt(Instant audioAggregationEndedAt)
A timestamp indicating when audio aggregation ended for this authentication result.
|
AuthenticationResult.Builder |
audioAggregationStartedAt(Instant audioAggregationStartedAt)
A timestamp indicating when audio aggregation started for this authentication result.
|
AuthenticationResult.Builder |
authenticationResultId(String authenticationResultId)
The unique identifier for this authentication result.
|
AuthenticationResult.Builder |
configuration(AuthenticationConfiguration configuration)
The
AuthenticationConfiguration used to generate this authentication result. |
default AuthenticationResult.Builder |
configuration(Consumer<AuthenticationConfiguration.Builder> configuration)
The
AuthenticationConfiguration used to generate this authentication result. |
AuthenticationResult.Builder |
customerSpeakerId(String customerSpeakerId)
The client-provided identifier for the speaker whose authentication result is produced.
|
AuthenticationResult.Builder |
decision(AuthenticationDecision decision)
The authentication decision produced by Voice ID, processed against the current session state and streamed
audio of the speaker.
|
AuthenticationResult.Builder |
decision(String decision)
The authentication decision produced by Voice ID, processed against the current session state and streamed
audio of the speaker.
|
AuthenticationResult.Builder |
generatedSpeakerId(String generatedSpeakerId)
The service-generated identifier for the speaker whose authentication result is produced.
|
AuthenticationResult.Builder |
score(Integer score)
The authentication score for the speaker whose authentication result is produced.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAuthenticationResult.Builder audioAggregationEndedAt(Instant audioAggregationEndedAt)
A timestamp indicating when audio aggregation ended for this authentication result.
audioAggregationEndedAt - A timestamp indicating when audio aggregation ended for this authentication result.AuthenticationResult.Builder audioAggregationStartedAt(Instant audioAggregationStartedAt)
A timestamp indicating when audio aggregation started for this authentication result.
audioAggregationStartedAt - A timestamp indicating when audio aggregation started for this authentication result.AuthenticationResult.Builder authenticationResultId(String authenticationResultId)
The unique identifier for this authentication result. Because there can be multiple authentications for a
given session, this field helps to identify if the returned result is from a previous streaming activity or a
new result. Note that in absence of any new streaming activity, AcceptanceThreshold changes, or
SpeakerId changes, Voice ID always returns cached Authentication Result for this API.
authenticationResultId - The unique identifier for this authentication result. Because there can be multiple authentications
for a given session, this field helps to identify if the returned result is from a previous streaming
activity or a new result. Note that in absence of any new streaming activity,
AcceptanceThreshold changes, or SpeakerId changes, Voice ID always returns
cached Authentication Result for this API.AuthenticationResult.Builder configuration(AuthenticationConfiguration configuration)
The AuthenticationConfiguration used to generate this authentication result.
configuration - The AuthenticationConfiguration used to generate this authentication result.default AuthenticationResult.Builder configuration(Consumer<AuthenticationConfiguration.Builder> configuration)
The AuthenticationConfiguration used to generate this authentication result.
AuthenticationConfiguration.Builder
avoiding the need to create one manually via AuthenticationConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to configuration(AuthenticationConfiguration).
configuration - a consumer that will call methods on AuthenticationConfiguration.Builderconfiguration(AuthenticationConfiguration)AuthenticationResult.Builder customerSpeakerId(String customerSpeakerId)
The client-provided identifier for the speaker whose authentication result is produced. Only present if a
SpeakerId is provided for the session.
customerSpeakerId - The client-provided identifier for the speaker whose authentication result is produced. Only present
if a SpeakerId is provided for the session.AuthenticationResult.Builder decision(String decision)
The authentication decision produced by Voice ID, processed against the current session state and streamed audio of the speaker.
decision - The authentication decision produced by Voice ID, processed against the current session state and
streamed audio of the speaker.AuthenticationDecision,
AuthenticationDecisionAuthenticationResult.Builder decision(AuthenticationDecision decision)
The authentication decision produced by Voice ID, processed against the current session state and streamed audio of the speaker.
decision - The authentication decision produced by Voice ID, processed against the current session state and
streamed audio of the speaker.AuthenticationDecision,
AuthenticationDecisionAuthenticationResult.Builder generatedSpeakerId(String generatedSpeakerId)
The service-generated identifier for the speaker whose authentication result is produced.
generatedSpeakerId - The service-generated identifier for the speaker whose authentication result is produced.AuthenticationResult.Builder score(Integer score)
The authentication score for the speaker whose authentication result is produced. This value is only present
if the authentication decision is either ACCEPT or REJECT.
score - The authentication score for the speaker whose authentication result is produced. This value is only
present if the authentication decision is either ACCEPT or REJECT.Copyright © 2022. All rights reserved.