@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthenticationResult extends Object implements Serializable, Cloneable, StructuredPojo
The authentication result produced by Voice ID, processed against the current session state and streamed audio of the speaker.
Constructor and Description |
---|
AuthenticationResult() |
Modifier and Type | Method and Description |
---|---|
AuthenticationResult |
clone() |
boolean |
equals(Object obj) |
Date |
getAudioAggregationEndedAt()
A timestamp of when audio aggregation ended for this authentication result.
|
Date |
getAudioAggregationStartedAt()
A timestamp of when audio aggregation started for this authentication result.
|
String |
getAuthenticationResultId()
The unique identifier for this authentication result.
|
AuthenticationConfiguration |
getConfiguration()
The
AuthenticationConfiguration used to generate this authentication result. |
String |
getCustomerSpeakerId()
The client-provided identifier for the speaker whose authentication result is produced.
|
String |
getDecision()
The authentication decision produced by Voice ID, processed against the current session state and streamed audio
of the speaker.
|
String |
getGeneratedSpeakerId()
The service-generated identifier for the speaker whose authentication result is produced.
|
Integer |
getScore()
The authentication score for the speaker whose authentication result is produced.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAudioAggregationEndedAt(Date audioAggregationEndedAt)
A timestamp of when audio aggregation ended for this authentication result.
|
void |
setAudioAggregationStartedAt(Date audioAggregationStartedAt)
A timestamp of when audio aggregation started for this authentication result.
|
void |
setAuthenticationResultId(String authenticationResultId)
The unique identifier for this authentication result.
|
void |
setConfiguration(AuthenticationConfiguration configuration)
The
AuthenticationConfiguration used to generate this authentication result. |
void |
setCustomerSpeakerId(String customerSpeakerId)
The client-provided identifier for the speaker whose authentication result is produced.
|
void |
setDecision(String decision)
The authentication decision produced by Voice ID, processed against the current session state and streamed audio
of the speaker.
|
void |
setGeneratedSpeakerId(String generatedSpeakerId)
The service-generated identifier for the speaker whose authentication result is produced.
|
void |
setScore(Integer score)
The authentication score for the speaker whose authentication result is produced.
|
String |
toString()
Returns a string representation of this object.
|
AuthenticationResult |
withAudioAggregationEndedAt(Date audioAggregationEndedAt)
A timestamp of when audio aggregation ended for this authentication result.
|
AuthenticationResult |
withAudioAggregationStartedAt(Date audioAggregationStartedAt)
A timestamp of when audio aggregation started for this authentication result.
|
AuthenticationResult |
withAuthenticationResultId(String authenticationResultId)
The unique identifier for this authentication result.
|
AuthenticationResult |
withConfiguration(AuthenticationConfiguration configuration)
The
AuthenticationConfiguration used to generate this authentication result. |
AuthenticationResult |
withCustomerSpeakerId(String customerSpeakerId)
The client-provided identifier for the speaker whose authentication result is produced.
|
AuthenticationResult |
withDecision(AuthenticationDecision decision)
The authentication decision produced by Voice ID, processed against the current session state and streamed audio
of the speaker.
|
AuthenticationResult |
withDecision(String decision)
The authentication decision produced by Voice ID, processed against the current session state and streamed audio
of the speaker.
|
AuthenticationResult |
withGeneratedSpeakerId(String generatedSpeakerId)
The service-generated identifier for the speaker whose authentication result is produced.
|
AuthenticationResult |
withScore(Integer score)
The authentication score for the speaker whose authentication result is produced.
|
public void setAudioAggregationEndedAt(Date audioAggregationEndedAt)
A timestamp of when audio aggregation ended for this authentication result.
audioAggregationEndedAt
- A timestamp of when audio aggregation ended for this authentication result.public Date getAudioAggregationEndedAt()
A timestamp of when audio aggregation ended for this authentication result.
public AuthenticationResult withAudioAggregationEndedAt(Date audioAggregationEndedAt)
A timestamp of when audio aggregation ended for this authentication result.
audioAggregationEndedAt
- A timestamp of when audio aggregation ended for this authentication result.public void setAudioAggregationStartedAt(Date audioAggregationStartedAt)
A timestamp of when audio aggregation started for this authentication result.
audioAggregationStartedAt
- A timestamp of when audio aggregation started for this authentication result.public Date getAudioAggregationStartedAt()
A timestamp of when audio aggregation started for this authentication result.
public AuthenticationResult withAudioAggregationStartedAt(Date audioAggregationStartedAt)
A timestamp of when audio aggregation started for this authentication result.
audioAggregationStartedAt
- A timestamp of when audio aggregation started for this authentication result.public void setAuthenticationResultId(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.public String getAuthenticationResultId()
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 AuthenticationResult withAuthenticationResultId(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.public void setConfiguration(AuthenticationConfiguration configuration)
The AuthenticationConfiguration
used to generate this authentication result.
configuration
- The AuthenticationConfiguration
used to generate this authentication result.public AuthenticationConfiguration getConfiguration()
The AuthenticationConfiguration
used to generate this authentication result.
AuthenticationConfiguration
used to generate this authentication result.public AuthenticationResult withConfiguration(AuthenticationConfiguration configuration)
The AuthenticationConfiguration
used to generate this authentication result.
configuration
- The AuthenticationConfiguration
used to generate this authentication result.public void setCustomerSpeakerId(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.public String getCustomerSpeakerId()
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 AuthenticationResult withCustomerSpeakerId(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.public void setDecision(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
public String getDecision()
The authentication decision produced by Voice ID, processed against the current session state and streamed audio of the speaker.
AuthenticationDecision
public AuthenticationResult withDecision(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
public AuthenticationResult withDecision(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
public void setGeneratedSpeakerId(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.public String getGeneratedSpeakerId()
The service-generated identifier for the speaker whose authentication result is produced.
public AuthenticationResult withGeneratedSpeakerId(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.public void setScore(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
.public Integer getScore()
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 withScore(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
.public String toString()
toString
in class Object
Object.toString()
public AuthenticationResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.