Interface SpeakerEnrollmentJobSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SpeakerEnrollmentJobSummary.Builder,
,SpeakerEnrollmentJobSummary> SdkBuilder<SpeakerEnrollmentJobSummary.Builder,
,SpeakerEnrollmentJobSummary> SdkPojo
- Enclosing class:
SpeakerEnrollmentJobSummary
-
Method Summary
Modifier and TypeMethodDescriptionA timestamp of when of the speaker enrollment job was created.The identifier of the domain that contains the speaker enrollment job.A timestamp of when the speaker enrollment job ended.failureDetails
(Consumer<FailureDetails.Builder> failureDetails) Contains details that are populated when an entire batch job fails.failureDetails
(FailureDetails failureDetails) Contains details that are populated when an entire batch job fails.The service-generated identifier for the speaker enrollment job.The client-provided name for the speaker enrollment job.jobProgress
(Consumer<JobProgress.Builder> jobProgress) Provides details regarding job progress.jobProgress
(JobProgress jobProgress) Provides details regarding job progress.The current status of the speaker enrollment job.jobStatus
(SpeakerEnrollmentJobStatus jobStatus) The current status of the speaker enrollment job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
ofCOMPLETED_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 aJobStatus
ofCOMPLETED_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.
-
failureDetails
default SpeakerEnrollmentJobSummary.Builder failureDetails(Consumer<FailureDetails.Builder> 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
This is a convenience method that creates an instance of theJobStatus
ofCOMPLETED_WITH_ERRORS
. You can use the job output file to identify the individual registration requests that failed.FailureDetails.Builder
avoiding the need to create one manually viaFailureDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailureDetails(FailureDetails)
.- Parameters:
failureDetails
- a consumer that will call methods onFailureDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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.
-
jobProgress
Provides details regarding job progress. This field shows the completed percentage of enrollment requests listed in the input file.
This is a convenience method that creates an instance of theJobProgress.Builder
avoiding the need to create one manually viaJobProgress.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tojobProgress(JobProgress)
.- Parameters:
jobProgress
- a consumer that will call methods onJobProgress.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobStatus
The current status of the speaker enrollment job.
- Parameters:
jobStatus
- The current status of the speaker enrollment job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobStatus
The current status of the speaker enrollment job.
- Parameters:
jobStatus
- The current status of the speaker enrollment job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-