Class Speaker

    • 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.
      • 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, status will return SpeakerStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        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.
      • serializableBuilderClass

        public static Class<? extends Speaker.Builder> serializableBuilderClass()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)