public static interface EvaluateSessionResponse.Builder extends VoiceIdResponse.Builder, SdkPojo, CopyableBuilder<EvaluateSessionResponse.Builder,EvaluateSessionResponse>
| Modifier and Type | Method and Description |
|---|---|
EvaluateSessionResponse.Builder |
authenticationResult(AuthenticationResult authenticationResult)
Details resulting from the authentication process, such as authentication decision and authentication score.
|
default EvaluateSessionResponse.Builder |
authenticationResult(Consumer<AuthenticationResult.Builder> authenticationResult)
Details resulting from the authentication process, such as authentication decision and authentication score.
|
EvaluateSessionResponse.Builder |
domainId(String domainId)
The identifier of the domain containing the session.
|
default EvaluateSessionResponse.Builder |
fraudDetectionResult(Consumer<FraudDetectionResult.Builder> fraudDetectionResult)
Details resulting from the fraud detection process, such as fraud detection decision and risk score.
|
EvaluateSessionResponse.Builder |
fraudDetectionResult(FraudDetectionResult fraudDetectionResult)
Details resulting from the fraud detection process, such as fraud detection decision and risk score.
|
EvaluateSessionResponse.Builder |
sessionId(String sessionId)
The service-generated identifier of the session.
|
EvaluateSessionResponse.Builder |
sessionName(String sessionName)
The client-provided name of the session.
|
EvaluateSessionResponse.Builder |
streamingStatus(StreamingStatus streamingStatus)
The current status of audio streaming for this session.
|
EvaluateSessionResponse.Builder |
streamingStatus(String streamingStatus)
The current status of audio streaming for this session.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildEvaluateSessionResponse.Builder authenticationResult(AuthenticationResult authenticationResult)
Details resulting from the authentication process, such as authentication decision and authentication score.
authenticationResult - Details resulting from the authentication process, such as authentication decision and authentication
score.default EvaluateSessionResponse.Builder authenticationResult(Consumer<AuthenticationResult.Builder> authenticationResult)
Details resulting from the authentication process, such as authentication decision and authentication score.
This is a convenience method that creates an instance of theAuthenticationResult.Builder avoiding
the need to create one manually via AuthenticationResult.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to authenticationResult(AuthenticationResult).
authenticationResult - a consumer that will call methods on AuthenticationResult.BuilderauthenticationResult(AuthenticationResult)EvaluateSessionResponse.Builder domainId(String domainId)
The identifier of the domain containing the session.
domainId - The identifier of the domain containing the session.EvaluateSessionResponse.Builder fraudDetectionResult(FraudDetectionResult fraudDetectionResult)
Details resulting from the fraud detection process, such as fraud detection decision and risk score.
fraudDetectionResult - Details resulting from the fraud detection process, such as fraud detection decision and risk score.default EvaluateSessionResponse.Builder fraudDetectionResult(Consumer<FraudDetectionResult.Builder> fraudDetectionResult)
Details resulting from the fraud detection process, such as fraud detection decision and risk score.
This is a convenience method that creates an instance of theFraudDetectionResult.Builder avoiding
the need to create one manually via FraudDetectionResult.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to fraudDetectionResult(FraudDetectionResult).
fraudDetectionResult - a consumer that will call methods on FraudDetectionResult.BuilderfraudDetectionResult(FraudDetectionResult)EvaluateSessionResponse.Builder sessionId(String sessionId)
The service-generated identifier of the session.
sessionId - The service-generated identifier of the session.EvaluateSessionResponse.Builder sessionName(String sessionName)
The client-provided name of the session.
sessionName - The client-provided name of the session.EvaluateSessionResponse.Builder streamingStatus(String streamingStatus)
The current status of audio streaming for this session. This field is useful to infer next steps when the
Authentication or Fraud Detection results are empty or the decision is NOT_ENOUGH_SPEECH. In
this situation, if the StreamingStatus is ONGOING/PENDING_CONFIGURATION, it can
mean that the client should call the API again later, after Voice ID has enough audio to produce a result. If
the decision remains NOT_ENOUGH_SPEECH even after StreamingStatus is
ENDED, it means that the previously streamed session did not have enough speech to perform
evaluation, and a new streaming session is needed to try again.
streamingStatus - The current status of audio streaming for this session. This field is useful to infer next steps when
the Authentication or Fraud Detection results are empty or the decision is
NOT_ENOUGH_SPEECH. In this situation, if the StreamingStatus is
ONGOING/PENDING_CONFIGURATION, it can mean that the client should call the API again
later, after Voice ID has enough audio to produce a result. If the decision remains
NOT_ENOUGH_SPEECH even after StreamingStatus is ENDED, it means
that the previously streamed session did not have enough speech to perform evaluation, and a new
streaming session is needed to try again.StreamingStatus,
StreamingStatusEvaluateSessionResponse.Builder streamingStatus(StreamingStatus streamingStatus)
The current status of audio streaming for this session. This field is useful to infer next steps when the
Authentication or Fraud Detection results are empty or the decision is NOT_ENOUGH_SPEECH. In
this situation, if the StreamingStatus is ONGOING/PENDING_CONFIGURATION, it can
mean that the client should call the API again later, after Voice ID has enough audio to produce a result. If
the decision remains NOT_ENOUGH_SPEECH even after StreamingStatus is
ENDED, it means that the previously streamed session did not have enough speech to perform
evaluation, and a new streaming session is needed to try again.
streamingStatus - The current status of audio streaming for this session. This field is useful to infer next steps when
the Authentication or Fraud Detection results are empty or the decision is
NOT_ENOUGH_SPEECH. In this situation, if the StreamingStatus is
ONGOING/PENDING_CONFIGURATION, it can mean that the client should call the API again
later, after Voice ID has enough audio to produce a result. If the decision remains
NOT_ENOUGH_SPEECH even after StreamingStatus is ENDED, it means
that the previously streamed session did not have enough speech to perform evaluation, and a new
streaming session is needed to try again.StreamingStatus,
StreamingStatusCopyright © 2022. All rights reserved.