Class SpeakerEnrollmentJob
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<SpeakerEnrollmentJob.Builder,
SpeakerEnrollmentJob>
Contains all the information about a speaker enrollment job.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SpeakerEnrollmentJob.Builder
builder()
final Instant
A timestamp of when the speaker enrollment job was created.final String
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.final String
domainId()
The identifier of the domain that contains the speaker enrollment job.final Instant
endedAt()
A timestamp of when the speaker enrollment job ended.final EnrollmentConfig
The configuration that defines the action to take when the speaker is already enrolled in Voice ID, and theFraudDetectionConfig
to use.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final FailureDetails
Contains details that are populated when an entire batch job fails.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final InputDataConfig
The input data config containing an S3 URI for the input manifest file that contains the list of speaker enrollment job requests.final String
jobId()
The service-generated identifier for the speaker enrollment job.final String
jobName()
The client-provided name for the speaker enrollment job.final JobProgress
Provides details on job progress.The current status of the speaker enrollment job.final String
The current status of the speaker enrollment job.final 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.static Class
<? extends SpeakerEnrollmentJob.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
createdAt
A timestamp of when the speaker enrollment job was created.
- Returns:
- A timestamp of when the speaker enrollment job was created.
-
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
The identifier of the domain that contains the speaker enrollment job.
- Returns:
- The identifier of the domain that contains the speaker enrollment job.
-
endedAt
A timestamp of when the speaker enrollment job ended.
- Returns:
- A timestamp of when the speaker enrollment job ended.
-
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
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.- 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
ofCOMPLETED_WITH_ERRORS
. You can use the job output file to identify the individual registration requests that failed.
-
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
The service-generated identifier for the speaker enrollment job.
- Returns:
- The service-generated identifier for the speaker enrollment job.
-
jobName
The client-provided name for the speaker enrollment job.
- Returns:
- The client-provided name for the speaker enrollment job.
-
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.
-
jobStatus
The current status of the speaker enrollment job.
If the service returns an enum value that is not available in the current SDK version,
jobStatus
will returnSpeakerEnrollmentJobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromjobStatusAsString()
.- Returns:
- The current status of the speaker enrollment job.
- See Also:
-
jobStatusAsString
The current status of the speaker enrollment job.
If the service returns an enum value that is not available in the current SDK version,
jobStatus
will returnSpeakerEnrollmentJobStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromjobStatusAsString()
.- Returns:
- The current status of the speaker enrollment job.
- See Also:
-
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.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<SpeakerEnrollmentJob.Builder,
SpeakerEnrollmentJob> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-