@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SpeakerEnrollmentJob extends Object implements Serializable, Cloneable, StructuredPojo
Contains all the information about a speaker enrollment job.
Constructor and Description |
---|
SpeakerEnrollmentJob() |
Modifier and Type | Method and Description |
---|---|
SpeakerEnrollmentJob |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
A timestamp of when the speaker enrollment job was created.
|
String |
getDataAccessRoleArn()
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.
|
String |
getDomainId()
The identifier of the domain that contains the speaker enrollment job.
|
Date |
getEndedAt()
A timestamp of when the speaker enrollment job ended.
|
EnrollmentConfig |
getEnrollmentConfig()
The configuration that defines the action to take when the speaker is already enrolled in Voice ID, and the
FraudDetectionConfig to use. |
FailureDetails |
getFailureDetails()
Contains details that are populated when an entire batch job fails.
|
InputDataConfig |
getInputDataConfig()
The input data config containing an S3 URI for the input manifest file that contains the list of speaker
enrollment job requests.
|
String |
getJobId()
The service-generated identifier for the speaker enrollment job.
|
String |
getJobName()
The client-provided name for the speaker enrollment job.
|
JobProgress |
getJobProgress()
Provides details on job progress.
|
String |
getJobStatus()
The current status of the speaker enrollment job.
|
OutputDataConfig |
getOutputDataConfig()
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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
A timestamp of when the speaker enrollment job was created.
|
void |
setDataAccessRoleArn(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.
|
void |
setDomainId(String domainId)
The identifier of the domain that contains the speaker enrollment job.
|
void |
setEndedAt(Date endedAt)
A timestamp of when the speaker enrollment job ended.
|
void |
setEnrollmentConfig(EnrollmentConfig enrollmentConfig)
The configuration that defines the action to take when the speaker is already enrolled in Voice ID, and the
FraudDetectionConfig to use. |
void |
setFailureDetails(FailureDetails failureDetails)
Contains details that are populated when an entire batch job fails.
|
void |
setInputDataConfig(InputDataConfig inputDataConfig)
The input data config containing an S3 URI for the input manifest file that contains the list of speaker
enrollment job requests.
|
void |
setJobId(String jobId)
The service-generated identifier for the speaker enrollment job.
|
void |
setJobName(String jobName)
The client-provided name for the speaker enrollment job.
|
void |
setJobProgress(JobProgress jobProgress)
Provides details on job progress.
|
void |
setJobStatus(String jobStatus)
The current status of the speaker enrollment job.
|
void |
setOutputDataConfig(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.
|
String |
toString()
Returns a string representation of this object.
|
SpeakerEnrollmentJob |
withCreatedAt(Date createdAt)
A timestamp of when the speaker enrollment job was created.
|
SpeakerEnrollmentJob |
withDataAccessRoleArn(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.
|
SpeakerEnrollmentJob |
withDomainId(String domainId)
The identifier of the domain that contains the speaker enrollment job.
|
SpeakerEnrollmentJob |
withEndedAt(Date endedAt)
A timestamp of when the speaker enrollment job ended.
|
SpeakerEnrollmentJob |
withEnrollmentConfig(EnrollmentConfig enrollmentConfig)
The configuration that defines the action to take when the speaker is already enrolled in Voice ID, and the
FraudDetectionConfig to use. |
SpeakerEnrollmentJob |
withFailureDetails(FailureDetails failureDetails)
Contains details that are populated when an entire batch job fails.
|
SpeakerEnrollmentJob |
withInputDataConfig(InputDataConfig inputDataConfig)
The input data config containing an S3 URI for the input manifest file that contains the list of speaker
enrollment job requests.
|
SpeakerEnrollmentJob |
withJobId(String jobId)
The service-generated identifier for the speaker enrollment job.
|
SpeakerEnrollmentJob |
withJobName(String jobName)
The client-provided name for the speaker enrollment job.
|
SpeakerEnrollmentJob |
withJobProgress(JobProgress jobProgress)
Provides details on job progress.
|
SpeakerEnrollmentJob |
withJobStatus(SpeakerEnrollmentJobStatus jobStatus)
The current status of the speaker enrollment job.
|
SpeakerEnrollmentJob |
withJobStatus(String jobStatus)
The current status of the speaker enrollment job.
|
SpeakerEnrollmentJob |
withOutputDataConfig(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.
|
public void setCreatedAt(Date createdAt)
A timestamp of when the speaker enrollment job was created.
createdAt
- A timestamp of when the speaker enrollment job was created.public Date getCreatedAt()
A timestamp of when the speaker enrollment job was created.
public SpeakerEnrollmentJob withCreatedAt(Date createdAt)
A timestamp of when the speaker enrollment job was created.
createdAt
- A timestamp of when the speaker enrollment job was created.public void setDataAccessRoleArn(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.
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.public String getDataAccessRoleArn()
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.
public SpeakerEnrollmentJob withDataAccessRoleArn(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.
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.public void setDomainId(String domainId)
The identifier of the domain that contains the speaker enrollment job.
domainId
- The identifier of the domain that contains the speaker enrollment job.public String getDomainId()
The identifier of the domain that contains the speaker enrollment job.
public SpeakerEnrollmentJob withDomainId(String domainId)
The identifier of the domain that contains the speaker enrollment job.
domainId
- The identifier of the domain that contains the speaker enrollment job.public void setEndedAt(Date endedAt)
A timestamp of when the speaker enrollment job ended.
endedAt
- A timestamp of when the speaker enrollment job ended.public Date getEndedAt()
A timestamp of when the speaker enrollment job ended.
public SpeakerEnrollmentJob withEndedAt(Date endedAt)
A timestamp of when the speaker enrollment job ended.
endedAt
- A timestamp of when the speaker enrollment job ended.public void setEnrollmentConfig(EnrollmentConfig enrollmentConfig)
The configuration that defines the action to take when the speaker is already enrolled in Voice ID, and the
FraudDetectionConfig
to use.
enrollmentConfig
- The configuration that defines the action to take when the speaker is already enrolled in Voice ID, and
the FraudDetectionConfig
to use.public EnrollmentConfig getEnrollmentConfig()
The configuration that defines the action to take when the speaker is already enrolled in Voice ID, and the
FraudDetectionConfig
to use.
FraudDetectionConfig
to use.public SpeakerEnrollmentJob withEnrollmentConfig(EnrollmentConfig enrollmentConfig)
The configuration that defines the action to take when the speaker is already enrolled in Voice ID, and the
FraudDetectionConfig
to use.
enrollmentConfig
- The configuration that defines the action to take when the speaker is already enrolled in Voice ID, and
the FraudDetectionConfig
to use.public void setFailureDetails(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.
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.public FailureDetails getFailureDetails()
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.
JobStatus
of
COMPLETED_WITH_ERRORS
. You can use the job output file to identify the individual
registration requests that failed.public SpeakerEnrollmentJob withFailureDetails(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.
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.public void setInputDataConfig(InputDataConfig inputDataConfig)
The input data config containing an S3 URI for the input manifest file that contains the list of speaker enrollment job requests.
inputDataConfig
- The input data config containing an S3 URI for the input manifest file that contains the list of speaker
enrollment job requests.public InputDataConfig getInputDataConfig()
The input data config containing an S3 URI for the input manifest file that contains the list of speaker enrollment job requests.
public SpeakerEnrollmentJob withInputDataConfig(InputDataConfig inputDataConfig)
The input data config containing an S3 URI for the input manifest file that contains the list of speaker enrollment job requests.
inputDataConfig
- The input data config containing an S3 URI for the input manifest file that contains the list of speaker
enrollment job requests.public void setJobId(String jobId)
The service-generated identifier for the speaker enrollment job.
jobId
- The service-generated identifier for the speaker enrollment job.public String getJobId()
The service-generated identifier for the speaker enrollment job.
public SpeakerEnrollmentJob withJobId(String jobId)
The service-generated identifier for the speaker enrollment job.
jobId
- The service-generated identifier for the speaker enrollment job.public void setJobName(String jobName)
The client-provided name for the speaker enrollment job.
jobName
- The client-provided name for the speaker enrollment job.public String getJobName()
The client-provided name for the speaker enrollment job.
public SpeakerEnrollmentJob withJobName(String jobName)
The client-provided name for the speaker enrollment job.
jobName
- The client-provided name for the speaker enrollment job.public void setJobProgress(JobProgress jobProgress)
Provides details on job progress. This field shows the completed percentage of registration requests listed in the input file.
jobProgress
- Provides details on job progress. This field shows the completed percentage of registration requests
listed in the input file.public JobProgress getJobProgress()
Provides details on job progress. This field shows the completed percentage of registration requests listed in the input file.
public SpeakerEnrollmentJob withJobProgress(JobProgress jobProgress)
Provides details on job progress. This field shows the completed percentage of registration requests listed in the input file.
jobProgress
- Provides details on job progress. This field shows the completed percentage of registration requests
listed in the input file.public void setJobStatus(String jobStatus)
The current status of the speaker enrollment job.
jobStatus
- The current status of the speaker enrollment job.SpeakerEnrollmentJobStatus
public String getJobStatus()
The current status of the speaker enrollment job.
SpeakerEnrollmentJobStatus
public SpeakerEnrollmentJob withJobStatus(String jobStatus)
The current status of the speaker enrollment job.
jobStatus
- The current status of the speaker enrollment job.SpeakerEnrollmentJobStatus
public SpeakerEnrollmentJob withJobStatus(SpeakerEnrollmentJobStatus jobStatus)
The current status of the speaker enrollment job.
jobStatus
- The current status of the speaker enrollment job.SpeakerEnrollmentJobStatus
public void setOutputDataConfig(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.
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.public OutputDataConfig getOutputDataConfig()
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.
public SpeakerEnrollmentJob withOutputDataConfig(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.
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.public String toString()
toString
in class Object
Object.toString()
public SpeakerEnrollmentJob clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.