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 your data access role ARN (Amazon Resource Name) and the Amazon S3 locations of your training (
S3Uri) and tuning (TuningDataS3Uri) data. |
CreateLanguageModelRequest.Builder |
inputDataConfig(InputDataConfig inputDataConfig)
Contains your data access role ARN (Amazon Resource Name) and the Amazon S3 locations of your training (
S3Uri) and tuning (TuningDataS3Uri) data. |
CreateLanguageModelRequest.Builder |
languageCode(CLMLanguageCode languageCode)
The language of your custom language model; note that the language code you select must match the language of
your training and tuning data.
|
CreateLanguageModelRequest.Builder |
languageCode(String languageCode)
The language of your custom language model; note that the language code you select must match the language of
your training and tuning data.
|
CreateLanguageModelRequest.Builder |
modelName(String modelName)
The name of your new custom language model.
|
CreateLanguageModelRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateLanguageModelRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateLanguageModelRequest.Builder |
tags(Collection<Tag> tags)
Optionally add tags, each in the form of a key:value pair, to your new language model.
|
CreateLanguageModelRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Optionally add tags, each in the form of a key:value pair, to your new language model.
|
CreateLanguageModelRequest.Builder |
tags(Tag... tags)
Optionally add tags, each in the form of a key:value pair, to your new language model.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateLanguageModelRequest.Builder languageCode(String languageCode)
The language of your custom language model; note that the language code you select must match the language of your training and tuning data.
languageCode - The language of your custom language model; note that the language code you select must match the
language of your training and tuning data.CLMLanguageCode,
CLMLanguageCodeCreateLanguageModelRequest.Builder languageCode(CLMLanguageCode languageCode)
The language of your custom language model; note that the language code you select must match the language of your training and tuning data.
languageCode - The language of your custom language model; note that the language code you select must match the
language of your training and tuning data.CLMLanguageCode,
CLMLanguageCodeCreateLanguageModelRequest.Builder baseModelName(String baseModelName)
The Amazon Transcribe standard language model, or base model, used to create your custom language model. Amazon Transcribe offers two options for base models: Wideband and Narrowband.
If the audio you want to transcribe has a sample rate of 16,000 Hz or greater, choose WideBand.
To transcribe audio with a sample rate less than 16,000 Hz, choose NarrowBand.
baseModelName - The Amazon Transcribe standard language model, or base model, used to create your custom language
model. Amazon Transcribe offers two options for base models: Wideband and Narrowband.
If the audio you want to transcribe has a sample rate of 16,000 Hz or greater, choose
WideBand. To transcribe audio with a sample rate 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. Amazon Transcribe offers two options for base models: Wideband and Narrowband.
If the audio you want to transcribe has a sample rate of 16,000 Hz or greater, choose WideBand.
To transcribe audio with a sample rate less than 16,000 Hz, choose NarrowBand.
baseModelName - The Amazon Transcribe standard language model, or base model, used to create your custom language
model. Amazon Transcribe offers two options for base models: Wideband and Narrowband.
If the audio you want to transcribe has a sample rate of 16,000 Hz or greater, choose
WideBand. To transcribe audio with a sample rate less than 16,000 Hz, choose
NarrowBand.
BaseModelName,
BaseModelNameCreateLanguageModelRequest.Builder modelName(String modelName)
The name of your new custom language model.
This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account.
If you try to create a language model with the same name as a previous language model, you get a
ConflictException error.
modelName - The name of your new custom language model.
This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services
account. If you try to create a language model with the same name as a previous language model, you
get a ConflictException error.
CreateLanguageModelRequest.Builder inputDataConfig(InputDataConfig inputDataConfig)
Contains your data access role ARN (Amazon Resource Name) and the Amazon S3 locations of your training (
S3Uri) and tuning (TuningDataS3Uri) data.
inputDataConfig - Contains your data access role ARN (Amazon Resource Name) and the Amazon S3 locations of your training
(S3Uri) and tuning (TuningDataS3Uri) data.default CreateLanguageModelRequest.Builder inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
Contains your data access role ARN (Amazon Resource Name) and the Amazon S3 locations of your training (
S3Uri) and tuning (TuningDataS3Uri) data.
InputDataConfig.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)
Optionally add tags, each in the form of a key:value pair, to your new language model. See also: .
tags - Optionally add tags, each in the form of a key:value pair, to your new language model. See also: .CreateLanguageModelRequest.Builder tags(Tag... tags)
Optionally add tags, each in the form of a key:value pair, to your new language model. See also: .
tags - Optionally add tags, each in the form of a key:value pair, to your new language model. See also: .CreateLanguageModelRequest.Builder tags(Consumer<Tag.Builder>... tags)
Optionally add tags, each in the form of a key:value pair, to your new language model. See also: .
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 © 2022. All rights reserved.