@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLanguageModelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateLanguageModelRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateLanguageModelRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBaseModelName()
The Amazon Transcribe standard language model, or base model, used to create your custom language model.
|
InputDataConfig |
getInputDataConfig()
Contains your data access role ARN (Amazon Resource Name) and the Amazon S3 locations of your training (
S3Uri) and tuning (TuningDataS3Uri) data. |
String |
getLanguageCode()
The language of your custom language model; note that the language code you select must match the language of
your training and tuning data.
|
String |
getModelName()
The name of your new custom language model.
|
List<Tag> |
getTags()
Optionally add tags, each in the form of a key:value pair, to your new language model.
|
int |
hashCode() |
void |
setBaseModelName(String baseModelName)
The Amazon Transcribe standard language model, or base model, used to create your custom language model.
|
void |
setInputDataConfig(InputDataConfig inputDataConfig)
Contains your data access role ARN (Amazon Resource Name) and the Amazon S3 locations of your training (
S3Uri) and tuning (TuningDataS3Uri) data. |
void |
setLanguageCode(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.
|
void |
setModelName(String modelName)
The name of your new custom language model.
|
void |
setTags(Collection<Tag> tags)
Optionally add tags, each in the form of a key:value pair, to your new language model.
|
String |
toString()
Returns a string representation of this object.
|
CreateLanguageModelRequest |
withBaseModelName(BaseModelName baseModelName)
The Amazon Transcribe standard language model, or base model, used to create your custom language model.
|
CreateLanguageModelRequest |
withBaseModelName(String baseModelName)
The Amazon Transcribe standard language model, or base model, used to create your custom language model.
|
CreateLanguageModelRequest |
withInputDataConfig(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 |
withLanguageCode(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 |
withLanguageCode(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 |
withModelName(String modelName)
The name of your new custom language model.
|
CreateLanguageModelRequest |
withTags(Collection<Tag> tags)
Optionally add tags, each in the form of a key:value pair, to your new language model.
|
CreateLanguageModelRequest |
withTags(Tag... tags)
Optionally add tags, each in the form of a key:value pair, to your new language model.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setLanguageCode(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.CLMLanguageCodepublic String getLanguageCode()
The language of your custom language model; note that the language code you select must match the language of your training and tuning data.
CLMLanguageCodepublic CreateLanguageModelRequest withLanguageCode(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.CLMLanguageCodepublic CreateLanguageModelRequest withLanguageCode(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.CLMLanguageCodepublic void setBaseModelName(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.
BaseModelNamepublic String getBaseModelName()
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.
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.
BaseModelNamepublic CreateLanguageModelRequest withBaseModelName(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.
BaseModelNamepublic CreateLanguageModelRequest withBaseModelName(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.
BaseModelNamepublic void setModelName(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.
public String getModelName()
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.
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.
public CreateLanguageModelRequest withModelName(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.
public void setInputDataConfig(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.public InputDataConfig getInputDataConfig()
Contains your data access role ARN (Amazon Resource Name) and the Amazon S3 locations of your training (
S3Uri) and tuning (TuningDataS3Uri) data.
S3Uri) and tuning (TuningDataS3Uri) data.public CreateLanguageModelRequest withInputDataConfig(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.public List<Tag> getTags()
Optionally add tags, each in the form of a key:value pair, to your new language model. See also: .
public void setTags(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: .public CreateLanguageModelRequest withTags(Tag... tags)
Optionally add tags, each in the form of a key:value pair, to your new language model. See also: .
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - Optionally add tags, each in the form of a key:value pair, to your new language model. See also: .public CreateLanguageModelRequest withTags(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: .public String toString()
toString in class ObjectObject.toString()public CreateLanguageModelRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()