Class SpeakerEnrollmentJob

    • Method Detail

      • createdAt

        public final Instant createdAt()

        A timestamp of when the speaker enrollment job was created.

        Returns:
        A timestamp of when the speaker enrollment job was created.
      • dataAccessRoleArn

        public final String dataAccessRoleArn()

        The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to access customer's buckets to read the input manifest file and write the job output file.

        Returns:
        The IAM role Amazon Resource Name (ARN) that grants Voice ID permissions to access customer's buckets to read the input manifest file and write the job output file.
      • domainId

        public final String domainId()

        The identifier of the domain that contains the speaker enrollment job.

        Returns:
        The identifier of the domain that contains the speaker enrollment job.
      • endedAt

        public final Instant endedAt()

        A timestamp of when the speaker enrollment job ended.

        Returns:
        A timestamp of when the speaker enrollment job ended.
      • enrollmentConfig

        public final EnrollmentConfig enrollmentConfig()

        The configuration that defines the action to take when the speaker is already enrolled in Voice ID, and the FraudDetectionConfig to use.

        Returns:
        The configuration that defines the action to take when the speaker is already enrolled in Voice ID, and the FraudDetectionConfig to use.
      • failureDetails

        public final FailureDetails failureDetails()

        Contains details that are populated when an entire batch job fails. In cases of individual registration job failures, the batch job as a whole doesn't fail; it is completed with a JobStatus of COMPLETED_WITH_ERRORS. You can use the job output file to identify the individual registration requests that failed.

        Returns:
        Contains details that are populated when an entire batch job fails. In cases of individual registration job failures, the batch job as a whole doesn't fail; it is completed with a JobStatus of COMPLETED_WITH_ERRORS. You can use the job output file to identify the individual registration requests that failed.
      • inputDataConfig

        public final InputDataConfig inputDataConfig()

        The input data config containing an S3 URI for the input manifest file that contains the list of speaker enrollment job requests.

        Returns:
        The input data config containing an S3 URI for the input manifest file that contains the list of speaker enrollment job requests.
      • jobId

        public final String jobId()

        The service-generated identifier for the speaker enrollment job.

        Returns:
        The service-generated identifier for the speaker enrollment job.
      • jobName

        public final String jobName()

        The client-provided name for the speaker enrollment job.

        Returns:
        The client-provided name for the speaker enrollment job.
      • jobProgress

        public final JobProgress jobProgress()

        Provides details on job progress. This field shows the completed percentage of registration requests listed in the input file.

        Returns:
        Provides details on job progress. This field shows the completed percentage of registration requests listed in the input file.
      • outputDataConfig

        public final OutputDataConfig outputDataConfig()

        The output data config containing the S3 location where Voice ID writes the job output file; you must also include a KMS key ID to encrypt the file.

        Returns:
        The output data config containing the S3 location where Voice ID writes the job output file; you must also include a KMS key ID to encrypt the file.
      • 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)