@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EvaluateSessionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
EvaluateSessionResult() |
Modifier and Type | Method and Description |
---|---|
EvaluateSessionResult |
clone() |
boolean |
equals(Object obj) |
AuthenticationResult |
getAuthenticationResult()
Details resulting from the authentication process, such as authentication decision and authentication score.
|
String |
getDomainId()
The identifier of the domain that contains the session.
|
FraudDetectionResult |
getFraudDetectionResult()
Details resulting from the fraud detection process, such as fraud detection decision and risk score.
|
String |
getSessionId()
The service-generated identifier of the session.
|
String |
getSessionName()
The client-provided name of the session.
|
String |
getStreamingStatus()
The current status of audio streaming for this session.
|
int |
hashCode() |
void |
setAuthenticationResult(AuthenticationResult authenticationResult)
Details resulting from the authentication process, such as authentication decision and authentication score.
|
void |
setDomainId(String domainId)
The identifier of the domain that contains the session.
|
void |
setFraudDetectionResult(FraudDetectionResult fraudDetectionResult)
Details resulting from the fraud detection process, such as fraud detection decision and risk score.
|
void |
setSessionId(String sessionId)
The service-generated identifier of the session.
|
void |
setSessionName(String sessionName)
The client-provided name of the session.
|
void |
setStreamingStatus(String streamingStatus)
The current status of audio streaming for this session.
|
String |
toString()
Returns a string representation of this object.
|
EvaluateSessionResult |
withAuthenticationResult(AuthenticationResult authenticationResult)
Details resulting from the authentication process, such as authentication decision and authentication score.
|
EvaluateSessionResult |
withDomainId(String domainId)
The identifier of the domain that contains the session.
|
EvaluateSessionResult |
withFraudDetectionResult(FraudDetectionResult fraudDetectionResult)
Details resulting from the fraud detection process, such as fraud detection decision and risk score.
|
EvaluateSessionResult |
withSessionId(String sessionId)
The service-generated identifier of the session.
|
EvaluateSessionResult |
withSessionName(String sessionName)
The client-provided name of the session.
|
EvaluateSessionResult |
withStreamingStatus(StreamingStatus streamingStatus)
The current status of audio streaming for this session.
|
EvaluateSessionResult |
withStreamingStatus(String streamingStatus)
The current status of audio streaming for this session.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAuthenticationResult(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.public AuthenticationResult getAuthenticationResult()
Details resulting from the authentication process, such as authentication decision and authentication score.
public EvaluateSessionResult withAuthenticationResult(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.public void setDomainId(String domainId)
The identifier of the domain that contains the session.
domainId
- The identifier of the domain that contains the session.public String getDomainId()
The identifier of the domain that contains the session.
public EvaluateSessionResult withDomainId(String domainId)
The identifier of the domain that contains the session.
domainId
- The identifier of the domain that contains the session.public void setFraudDetectionResult(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.public FraudDetectionResult getFraudDetectionResult()
Details resulting from the fraud detection process, such as fraud detection decision and risk score.
public EvaluateSessionResult withFraudDetectionResult(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.public void setSessionId(String sessionId)
The service-generated identifier of the session.
sessionId
- The service-generated identifier of the session.public String getSessionId()
The service-generated identifier of the session.
public EvaluateSessionResult withSessionId(String sessionId)
The service-generated identifier of the session.
sessionId
- The service-generated identifier of the session.public void setSessionName(String sessionName)
The client-provided name of the session.
sessionName
- The client-provided name of the session.public String getSessionName()
The client-provided name of the session.
public EvaluateSessionResult withSessionName(String sessionName)
The client-provided name of the session.
sessionName
- The client-provided name of the session.public void setStreamingStatus(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
public String getStreamingStatus()
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.
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
public EvaluateSessionResult withStreamingStatus(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
public EvaluateSessionResult withStreamingStatus(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
public String toString()
toString
in class Object
Object.toString()
public EvaluateSessionResult clone()