Interface StartSpeakerEnrollmentJobRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartSpeakerEnrollmentJobRequest.Builder,StartSpeakerEnrollmentJobRequest>,SdkBuilder<StartSpeakerEnrollmentJobRequest.Builder,StartSpeakerEnrollmentJobRequest>,SdkPojo,SdkRequest.Builder,VoiceIdRequest.Builder
- Enclosing class:
- StartSpeakerEnrollmentJobRequest
public static interface StartSpeakerEnrollmentJobRequest.Builder extends VoiceIdRequest.Builder, SdkPojo, CopyableBuilder<StartSpeakerEnrollmentJobRequest.Builder,StartSpeakerEnrollmentJobRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartSpeakerEnrollmentJobRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.StartSpeakerEnrollmentJobRequest.BuilderdataAccessRoleArn(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.StartSpeakerEnrollmentJobRequest.BuilderdomainId(String domainId)The identifier of the domain that contains the speaker enrollment job and in which the speakers are enrolled.default StartSpeakerEnrollmentJobRequest.BuilderenrollmentConfig(Consumer<EnrollmentConfig.Builder> 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.StartSpeakerEnrollmentJobRequest.BuilderenrollmentConfig(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.default StartSpeakerEnrollmentJobRequest.BuilderinputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)The input data config containing the S3 location for the input manifest file that contains the list of speaker enrollment requests.StartSpeakerEnrollmentJobRequest.BuilderinputDataConfig(InputDataConfig inputDataConfig)The input data config containing the S3 location for the input manifest file that contains the list of speaker enrollment requests.StartSpeakerEnrollmentJobRequest.BuilderjobName(String jobName)A name for your speaker enrollment job.default StartSpeakerEnrollmentJobRequest.BuilderoutputDataConfig(Consumer<OutputDataConfig.Builder> 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.StartSpeakerEnrollmentJobRequest.BuilderoutputDataConfig(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.StartSpeakerEnrollmentJobRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartSpeakerEnrollmentJobRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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
-
Methods inherited from interface software.amazon.awssdk.services.voiceid.model.VoiceIdRequest.Builder
build
-
-
-
-
Method Detail
-
clientToken
StartSpeakerEnrollmentJobRequest.Builder clientToken(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
dataAccessRoleArn
StartSpeakerEnrollmentJobRequest.Builder dataAccessRoleArn(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
StartSpeakerEnrollmentJobRequest.Builder domainId(String domainId)
The identifier of the domain that contains the speaker enrollment job and in which the speakers are enrolled.
- Parameters:
domainId- The identifier of the domain that contains the speaker enrollment job and in which the speakers are enrolled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enrollmentConfig
StartSpeakerEnrollmentJobRequest.Builder enrollmentConfig(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
enrollmentConfig
default StartSpeakerEnrollmentJobRequest.Builder enrollmentConfig(Consumer<EnrollmentConfig.Builder> 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.
This is a convenience method that creates an instance of theEnrollmentConfig.Builderavoiding the need to create one manually viaEnrollmentConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenrollmentConfig(EnrollmentConfig).- Parameters:
enrollmentConfig- a consumer that will call methods onEnrollmentConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
enrollmentConfig(EnrollmentConfig)
-
inputDataConfig
StartSpeakerEnrollmentJobRequest.Builder inputDataConfig(InputDataConfig inputDataConfig)
The input data config containing the S3 location for the input manifest file that contains the list of speaker enrollment requests.
- Parameters:
inputDataConfig- The input data config containing the S3 location for the input manifest file that contains the list of speaker enrollment requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
default StartSpeakerEnrollmentJobRequest.Builder inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
The input data config containing the S3 location for the input manifest file that contains the list of speaker enrollment requests.
This is a convenience method that creates an instance of theInputDataConfig.Builderavoiding the need to create one manually viaInputDataConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputDataConfig(InputDataConfig).- Parameters:
inputDataConfig- a consumer that will call methods onInputDataConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
inputDataConfig(InputDataConfig)
-
jobName
StartSpeakerEnrollmentJobRequest.Builder jobName(String jobName)
A name for your speaker enrollment job.
- Parameters:
jobName- A name for your speaker enrollment job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputDataConfig
StartSpeakerEnrollmentJobRequest.Builder outputDataConfig(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
outputDataConfig
default StartSpeakerEnrollmentJobRequest.Builder outputDataConfig(Consumer<OutputDataConfig.Builder> 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.
This is a convenience method that creates an instance of theOutputDataConfig.Builderavoiding the need to create one manually viaOutputDataConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputDataConfig(OutputDataConfig).- Parameters:
outputDataConfig- a consumer that will call methods onOutputDataConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outputDataConfig(OutputDataConfig)
-
overrideConfiguration
StartSpeakerEnrollmentJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartSpeakerEnrollmentJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-