Interface StartSpeakerEnrollmentJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartSpeakerEnrollmentJobRequest.Builder,
,StartSpeakerEnrollmentJobRequest> SdkBuilder<StartSpeakerEnrollmentJobRequest.Builder,
,StartSpeakerEnrollmentJobRequest> SdkPojo
,SdkRequest.Builder
,VoiceIdRequest.Builder
- Enclosing class:
StartSpeakerEnrollmentJobRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.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.The identifier of the domain that contains the speaker enrollment job and in which the speakers are enrolled.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.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.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.inputDataConfig
(InputDataConfig inputDataConfig) The input data config containing the S3 location for the input manifest file that contains the list of speaker enrollment requests.A name for your speaker enrollment job.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.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.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.voiceid.model.VoiceIdRequest.Builder
build
-
Method Details
-
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
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
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
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.Builder
avoiding the need to create one manually viaEnrollmentConfig.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaInputDataConfig.builder()
.When the
Consumer
completes,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:
-
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
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.Builder
avoiding the need to create one manually viaOutputDataConfig.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
StartSpeakerEnrollmentJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartSpeakerEnrollmentJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-