@Generated(value="software.amazon.awssdk:codegen") public final class AuthenticationResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AuthenticationResult.Builder,AuthenticationResult>
The authentication result produced by Voice ID, processed against the current session state and streamed audio of the speaker.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AuthenticationResult.Builder |
| Modifier and Type | Method and Description |
|---|---|
Instant |
audioAggregationEndedAt()
A timestamp of when audio aggregation ended for this authentication result.
|
Instant |
audioAggregationStartedAt()
A timestamp of when audio aggregation started for this authentication result.
|
String |
authenticationResultId()
The unique identifier for this authentication result.
|
static AuthenticationResult.Builder |
builder() |
AuthenticationConfiguration |
configuration()
The
AuthenticationConfiguration used to generate this authentication result. |
String |
customerSpeakerId()
The client-provided identifier for the speaker whose authentication result is produced.
|
AuthenticationDecision |
decision()
The authentication decision produced by Voice ID, processed against the current session state and streamed audio
of the speaker.
|
String |
decisionAsString()
The authentication decision produced by Voice ID, processed against the current session state and streamed audio
of the speaker.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
generatedSpeakerId()
The service-generated identifier for the speaker whose authentication result is produced.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
score()
The authentication score for the speaker whose authentication result is produced.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AuthenticationResult.Builder> |
serializableBuilderClass() |
AuthenticationResult.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant audioAggregationEndedAt()
A timestamp of when audio aggregation ended for this authentication result.
public final Instant audioAggregationStartedAt()
A timestamp of when audio aggregation started for this authentication result.
public final 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.
AcceptanceThreshold
changes, or SpeakerId changes, Voice ID always returns cached Authentication Result for this
API.public final AuthenticationConfiguration configuration()
The AuthenticationConfiguration used to generate this authentication result.
AuthenticationConfiguration used to generate this authentication result.public final String customerSpeakerId()
The client-provided identifier for the speaker whose authentication result is produced. Only present if a
SpeakerId is provided for the session.
SpeakerId is provided for the session.public final AuthenticationDecision decision()
The authentication decision produced by Voice ID, processed against the current session state and streamed audio of the speaker.
If the service returns an enum value that is not available in the current SDK version, decision will
return AuthenticationDecision.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from decisionAsString().
AuthenticationDecisionpublic final String decisionAsString()
The authentication decision produced by Voice ID, processed against the current session state and streamed audio of the speaker.
If the service returns an enum value that is not available in the current SDK version, decision will
return AuthenticationDecision.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from decisionAsString().
AuthenticationDecisionpublic final String generatedSpeakerId()
The service-generated identifier for the speaker whose authentication result is produced.
public final 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.
ACCEPT or REJECT.public AuthenticationResult.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AuthenticationResult.Builder,AuthenticationResult>public static AuthenticationResult.Builder builder()
public static Class<? extends AuthenticationResult.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.