Class Speaker
- java.lang.Object
-
- software.amazon.awssdk.services.voiceid.model.Speaker
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Speaker.Builder,Speaker>
@Generated("software.amazon.awssdk:codegen") public final class Speaker extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Speaker.Builder,Speaker>
Contains all the information about a speaker.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSpeaker.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Speaker.Builderbuilder()InstantcreatedAt()A timestamp of when the speaker was created.StringcustomerSpeakerId()The client-provided identifier for the speaker.StringdomainId()The identifier of the domain that contains the speaker.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringgeneratedSpeakerId()The service-generated identifier for the speaker.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastAccessedAt()The timestamp of when the speaker was last accessed for enrollment, re-enrollment or a successful authentication.List<SdkField<?>>sdkFields()static Class<? extends Speaker.Builder>serializableBuilderClass()SpeakerStatusstatus()The current status of the speaker.StringstatusAsString()The current status of the speaker.Speaker.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()A timestamp of the speaker's last update.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
createdAt
public final Instant createdAt()
A timestamp of when the speaker was created.
- Returns:
- A timestamp of when the speaker was created.
-
customerSpeakerId
public final String customerSpeakerId()
The client-provided identifier for the speaker.
- Returns:
- The client-provided identifier for the speaker.
-
domainId
public final String domainId()
The identifier of the domain that contains the speaker.
- Returns:
- The identifier of the domain that contains the speaker.
-
generatedSpeakerId
public final String generatedSpeakerId()
The service-generated identifier for the speaker.
- Returns:
- The service-generated identifier for the speaker.
-
lastAccessedAt
public final Instant lastAccessedAt()
The timestamp of when the speaker was last accessed for enrollment, re-enrollment or a successful authentication. This timestamp is accurate to one hour.
- Returns:
- The timestamp of when the speaker was last accessed for enrollment, re-enrollment or a successful authentication. This timestamp is accurate to one hour.
-
status
public final SpeakerStatus status()
The current status of the speaker.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSpeakerStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the speaker.
- See Also:
SpeakerStatus
-
statusAsString
public final String statusAsString()
The current status of the speaker.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSpeakerStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the speaker.
- See Also:
SpeakerStatus
-
updatedAt
public final Instant updatedAt()
A timestamp of the speaker's last update.
- Returns:
- A timestamp of the speaker's last update.
-
toBuilder
public Speaker.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Speaker.Builder,Speaker>
-
builder
public static Speaker.Builder builder()
-
serializableBuilderClass
public static Class<? extends Speaker.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-