Interface SpeakerEnrollmentJobSummary.Builder

    • Method Detail

      • createdAt

        SpeakerEnrollmentJobSummary.Builder createdAt​(Instant createdAt)

        A timestamp of when of the speaker enrollment job was created.

        Parameters:
        createdAt - A timestamp of when of the speaker enrollment job was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domainId

        SpeakerEnrollmentJobSummary.Builder domainId​(String domainId)

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

        Parameters:
        domainId - The identifier of the domain that contains the speaker enrollment job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endedAt

        SpeakerEnrollmentJobSummary.Builder endedAt​(Instant endedAt)

        A timestamp of when the speaker enrollment job ended.

        Parameters:
        endedAt - A timestamp of when the speaker enrollment job ended.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureDetails

        SpeakerEnrollmentJobSummary.Builder failureDetails​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • jobId

        SpeakerEnrollmentJobSummary.Builder jobId​(String jobId)

        The service-generated identifier for the speaker enrollment job.

        Parameters:
        jobId - The service-generated identifier for the speaker enrollment job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobName

        SpeakerEnrollmentJobSummary.Builder jobName​(String jobName)

        The client-provided name for the speaker enrollment job.

        Parameters:
        jobName - The client-provided name for the speaker enrollment job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobProgress

        SpeakerEnrollmentJobSummary.Builder jobProgress​(JobProgress jobProgress)

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

        Parameters:
        jobProgress - Provides details regarding job progress. This field shows the completed percentage of enrollment requests listed in the input file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.