public static interface CreateLanguageModelRequest.Builder extends TranscribeRequest.Builder, SdkPojo, CopyableBuilder<CreateLanguageModelRequest.Builder,CreateLanguageModelRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateLanguageModelRequest.Builder |
baseModelName(BaseModelName baseModelName)
The Amazon Transcribe standard language model, or base model used to create your custom language model.
|
CreateLanguageModelRequest.Builder |
baseModelName(String baseModelName)
The Amazon Transcribe standard language model, or base model used to create your custom language model.
|
default CreateLanguageModelRequest.Builder |
inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
Contains the data access role and the Amazon S3 prefixes to read the required input files to create a custom
language model.
|
CreateLanguageModelRequest.Builder |
inputDataConfig(InputDataConfig inputDataConfig)
Contains the data access role and the Amazon S3 prefixes to read the required input files to create a custom
language model.
|
CreateLanguageModelRequest.Builder |
languageCode(CLMLanguageCode languageCode)
The language of the input text you're using to train your custom language model.
|
CreateLanguageModelRequest.Builder |
languageCode(String languageCode)
The language of the input text you're using to train your custom language model.
|
CreateLanguageModelRequest.Builder |
modelName(String modelName)
The name you choose for your custom language model when you create it.
|
CreateLanguageModelRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateLanguageModelRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateLanguageModelRequest.Builder languageCode(String languageCode)
The language of the input text you're using to train your custom language model.
languageCode - The language of the input text you're using to train your custom language model.CLMLanguageCode,
CLMLanguageCodeCreateLanguageModelRequest.Builder languageCode(CLMLanguageCode languageCode)
The language of the input text you're using to train your custom language model.
languageCode - The language of the input text you're using to train your custom language model.CLMLanguageCode,
CLMLanguageCodeCreateLanguageModelRequest.Builder baseModelName(String baseModelName)
The Amazon Transcribe standard language model, or base model used to create your custom language model.
If you want to use your custom language model to transcribe audio with a sample rate of 16 kHz or greater,
choose Wideband.
If you want to use your custom language model to transcribe audio with a sample rate that is less than 16
kHz, choose Narrowband.
baseModelName - The Amazon Transcribe standard language model, or base model used to create your custom language
model.
If you want to use your custom language model to transcribe audio with a sample rate of 16 kHz or
greater, choose Wideband.
If you want to use your custom language model to transcribe audio with a sample rate that is less than
16 kHz, choose Narrowband.
BaseModelName,
BaseModelNameCreateLanguageModelRequest.Builder baseModelName(BaseModelName baseModelName)
The Amazon Transcribe standard language model, or base model used to create your custom language model.
If you want to use your custom language model to transcribe audio with a sample rate of 16 kHz or greater,
choose Wideband.
If you want to use your custom language model to transcribe audio with a sample rate that is less than 16
kHz, choose Narrowband.
baseModelName - The Amazon Transcribe standard language model, or base model used to create your custom language
model.
If you want to use your custom language model to transcribe audio with a sample rate of 16 kHz or
greater, choose Wideband.
If you want to use your custom language model to transcribe audio with a sample rate that is less than
16 kHz, choose Narrowband.
BaseModelName,
BaseModelNameCreateLanguageModelRequest.Builder modelName(String modelName)
The name you choose for your custom language model when you create it.
modelName - The name you choose for your custom language model when you create it.CreateLanguageModelRequest.Builder inputDataConfig(InputDataConfig inputDataConfig)
Contains the data access role and the Amazon S3 prefixes to read the required input files to create a custom language model.
inputDataConfig - Contains the data access role and the Amazon S3 prefixes to read the required input files to create a
custom language model.default CreateLanguageModelRequest.Builder inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
Contains the data access role and the Amazon S3 prefixes to read the required input files to create a custom language model.
This is a convenience that creates an instance of theInputDataConfig.Builder avoiding the need to
create one manually via InputDataConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to inputDataConfig(InputDataConfig).inputDataConfig - a consumer that will call methods on InputDataConfig.BuilderinputDataConfig(InputDataConfig)CreateLanguageModelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateLanguageModelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2020. All rights reserved.