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) |
CreateLanguageModelRequest.Builder |
tags(Collection<Tag> tags)
Adds one or more tags, each in the form of a key:value pair, to a new language model at the time you create
this new model.
|
CreateLanguageModelRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Adds one or more tags, each in the form of a key:value pair, to a new language model at the time you create
this new model.
|
CreateLanguageModelRequest.Builder |
tags(Tag... tags)
Adds one or more tags, each in the form of a key:value pair, to a new language model at the time you create
this new model.
|
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,000 Hz 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,000
Hz, 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,000 Hz 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,000 Hz, 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,000 Hz 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,000
Hz, 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,000 Hz 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,000 Hz, 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 tags(Collection<Tag> tags)
Adds one or more tags, each in the form of a key:value pair, to a new language model at the time you create this new model.
tags - Adds one or more tags, each in the form of a key:value pair, to a new language model at the time you
create this new model.CreateLanguageModelRequest.Builder tags(Tag... tags)
Adds one or more tags, each in the form of a key:value pair, to a new language model at the time you create this new model.
tags - Adds one or more tags, each in the form of a key:value pair, to a new language model at the time you
create this new model.CreateLanguageModelRequest.Builder tags(Consumer<Tag.Builder>... tags)
Adds one or more tags, each in the form of a key:value pair, to a new language model at the time you create this new model.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateLanguageModelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateLanguageModelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.