Class AuthenticationResult
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ToCopyableBuilder<AuthenticationResult.Builder,- AuthenticationResult> 
The authentication result produced by Voice ID, processed against the current session state and streamed audio of the speaker.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionfinal InstantA timestamp of when audio aggregation ended for this authentication result.final InstantA timestamp of when audio aggregation started for this authentication result.final StringThe unique identifier for this authentication result.static AuthenticationResult.Builderbuilder()TheAuthenticationConfigurationused to generate this authentication result.final StringThe client-provided identifier for the speaker whose authentication result is produced.final AuthenticationDecisiondecision()The authentication decision produced by Voice ID, processed against the current session state and streamed audio of the speaker.final StringThe authentication decision produced by Voice ID, processed against the current session state and streamed audio of the speaker.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe service-generated identifier for the speaker whose authentication result is produced.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Integerscore()The authentication score for the speaker whose authentication result is produced.static Class<? extends AuthenticationResult.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
audioAggregationEndedAtA timestamp of when audio aggregation ended for this authentication result. - Returns:
- A timestamp of when audio aggregation ended for this authentication result.
 
- 
audioAggregationStartedAtA timestamp of when audio aggregation started for this authentication result. - Returns:
- A timestamp of when audio aggregation started for this authentication result.
 
- 
authenticationResultIdThe 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, AcceptanceThresholdchanges, orSpeakerIdchanges, Voice ID always returns cached Authentication Result for this API.- Returns:
- 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, AcceptanceThresholdchanges, orSpeakerIdchanges, Voice ID always returns cached Authentication Result for this API.
 
- 
configurationThe AuthenticationConfigurationused to generate this authentication result.- Returns:
- The AuthenticationConfigurationused to generate this authentication result.
 
- 
customerSpeakerIdThe client-provided identifier for the speaker whose authentication result is produced. Only present if a SpeakerIdis provided for the session.- Returns:
- The client-provided identifier for the speaker whose authentication result is produced. Only present if a
         SpeakerIdis provided for the session.
 
- 
decisionThe 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, decisionwill returnAuthenticationDecision.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdecisionAsString().- Returns:
- The authentication decision produced by Voice ID, processed against the current session state and streamed audio of the speaker.
- See Also:
 
- 
decisionAsStringThe 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, decisionwill returnAuthenticationDecision.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdecisionAsString().- Returns:
- The authentication decision produced by Voice ID, processed against the current session state and streamed audio of the speaker.
- See Also:
 
- 
generatedSpeakerIdThe service-generated identifier for the speaker whose authentication result is produced. - Returns:
- The service-generated identifier for the speaker whose authentication result is produced.
 
- 
scoreThe authentication score for the speaker whose authentication result is produced. This value is only present if the authentication decision is either ACCEPTorREJECT.- Returns:
- The authentication score for the speaker whose authentication result is produced. This value is only
         present if the authentication decision is either ACCEPTorREJECT.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<AuthenticationResult.Builder,- AuthenticationResult> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
- equalsBySdkFieldsin interface- SdkPojo
- Parameters:
- obj- the object to be compared with
- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
 
- 
toString
- 
getValueForField
- 
sdkFields
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-