Class StartSpeakerEnrollmentJobRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.voiceid.model.VoiceIdRequest
-
- software.amazon.awssdk.services.voiceid.model.StartSpeakerEnrollmentJobRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartSpeakerEnrollmentJobRequest.Builder,StartSpeakerEnrollmentJobRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartSpeakerEnrollmentJobRequest extends VoiceIdRequest implements ToCopyableBuilder<StartSpeakerEnrollmentJobRequest.Builder,StartSpeakerEnrollmentJobRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartSpeakerEnrollmentJobRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartSpeakerEnrollmentJobRequest.Builderbuilder()StringclientToken()A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.StringdataAccessRoleArn()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.StringdomainId()The identifier of the domain that contains the speaker enrollment job and in which the speakers are enrolled.EnrollmentConfigenrollmentConfig()The enrollment config that contains details such as the action to take when a speaker is already enrolled in Voice ID or when a speaker is identified as a fraudster.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InputDataConfiginputDataConfig()The input data config containing the S3 location for the input manifest file that contains the list of speaker enrollment requests.StringjobName()A name for your speaker enrollment job.OutputDataConfigoutputDataConfig()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.List<SdkField<?>>sdkFields()static Class<? extends StartSpeakerEnrollmentJobRequest.Builder>serializableBuilderClass()StartSpeakerEnrollmentJobRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
clientToken
public final String clientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Returns:
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
-
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. Refer to Batch enrollment using audio data from prior calls for the permissions needed in this role.
- 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. Refer to Batch enrollment using audio data from prior calls for the permissions needed in this role.
-
domainId
public final String domainId()
The identifier of the domain that contains the speaker enrollment job and in which the speakers are enrolled.
- Returns:
- The identifier of the domain that contains the speaker enrollment job and in which the speakers are enrolled.
-
enrollmentConfig
public final EnrollmentConfig enrollmentConfig()
The enrollment config that contains details such as the action to take when a speaker is already enrolled in Voice ID or when a speaker is identified as a fraudster.
- Returns:
- The enrollment config that contains details such as the action to take when a speaker is already enrolled in Voice ID or when a speaker is identified as a fraudster.
-
inputDataConfig
public final InputDataConfig inputDataConfig()
The input data config containing the S3 location for the input manifest file that contains the list of speaker enrollment requests.
- Returns:
- The input data config containing the S3 location for the input manifest file that contains the list of speaker enrollment requests.
-
jobName
public final String jobName()
A name for your speaker enrollment job.
- Returns:
- A name for your speaker enrollment job.
-
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.
-
toBuilder
public StartSpeakerEnrollmentJobRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartSpeakerEnrollmentJobRequest.Builder,StartSpeakerEnrollmentJobRequest>- Specified by:
toBuilderin classVoiceIdRequest
-
builder
public static StartSpeakerEnrollmentJobRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartSpeakerEnrollmentJobRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-