public class CreateLanguageModelRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a new custom language model. Use Amazon S3 prefixes to provide the location of your input files. The time it takes to create your model depends on the size of your training data.
| Constructor and Description | 
|---|
| CreateLanguageModelRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.lang.String | getBaseModelName()
 The Amazon Transcribe standard language model, or base model used to
 create your custom language model. | 
| InputDataConfig | getInputDataConfig()
 Contains the data access role and the Amazon S3 prefixes to read the
 required input files to create a custom language model. | 
| java.lang.String | getLanguageCode()
 The language of the input text you're using to train your custom language
 model. | 
| java.lang.String | getModelName()
 The name you choose for your custom language model when you create it. | 
| int | hashCode() | 
| void | setBaseModelName(BaseModelName baseModelName)
 The Amazon Transcribe standard language model, or base model used to
 create your custom language model. | 
| void | setBaseModelName(java.lang.String baseModelName)
 The Amazon Transcribe standard language model, or base model used to
 create your custom language model. | 
| void | setInputDataConfig(InputDataConfig inputDataConfig)
 Contains the data access role and the Amazon S3 prefixes to read the
 required input files to create a custom language model. | 
| void | setLanguageCode(CLMLanguageCode languageCode)
 The language of the input text you're using to train your custom language
 model. | 
| void | setLanguageCode(java.lang.String languageCode)
 The language of the input text you're using to train your custom language
 model. | 
| void | setModelName(java.lang.String modelName)
 The name you choose for your custom language model when you create it. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| CreateLanguageModelRequest | withBaseModelName(BaseModelName baseModelName)
 The Amazon Transcribe standard language model, or base model used to
 create your custom language model. | 
| CreateLanguageModelRequest | withBaseModelName(java.lang.String baseModelName)
 The Amazon Transcribe standard language model, or base model used to
 create your custom language model. | 
| CreateLanguageModelRequest | withInputDataConfig(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 | withLanguageCode(CLMLanguageCode languageCode)
 The language of the input text you're using to train your custom language
 model. | 
| CreateLanguageModelRequest | withLanguageCode(java.lang.String languageCode)
 The language of the input text you're using to train your custom language
 model. | 
| CreateLanguageModelRequest | withModelName(java.lang.String modelName)
 The name you choose for your custom language model when you create it. | 
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getLanguageCode()
The language of the input text you're using to train your custom language model.
 Constraints:
 Allowed Values: en-US
The language of the input text you're using to train your custom language model.
CLMLanguageCodepublic void setLanguageCode(java.lang.String languageCode)
The language of the input text you're using to train your custom language model.
 Constraints:
 Allowed Values: en-US
languageCode - The language of the input text you're using to train your custom language model.
CLMLanguageCodepublic CreateLanguageModelRequest withLanguageCode(java.lang.String languageCode)
The language of the input text you're using to train your custom language model.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: en-US
languageCode - The language of the input text you're using to train your custom language model.
CLMLanguageCodepublic void setLanguageCode(CLMLanguageCode languageCode)
The language of the input text you're using to train your custom language model.
 Constraints:
 Allowed Values: en-US
languageCode - The language of the input text you're using to train your custom language model.
CLMLanguageCodepublic CreateLanguageModelRequest withLanguageCode(CLMLanguageCode languageCode)
The language of the input text you're using to train your custom language model.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: en-US
languageCode - The language of the input text you're using to train your custom language model.
CLMLanguageCodepublic java.lang.String getBaseModelName()
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.
 
 Constraints:
 Allowed Values: NarrowBand, WideBand
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.
         
BaseModelNamepublic void setBaseModelName(java.lang.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.
 
 Constraints:
 Allowed Values: NarrowBand, WideBand
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.
            
BaseModelNamepublic CreateLanguageModelRequest withBaseModelName(java.lang.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.
 
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: NarrowBand, WideBand
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.
            
BaseModelNamepublic void setBaseModelName(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.
 
 Constraints:
 Allowed Values: NarrowBand, WideBand
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.
            
BaseModelNamepublic CreateLanguageModelRequest withBaseModelName(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.
 
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: NarrowBand, WideBand
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.
            
BaseModelNamepublic java.lang.String getModelName()
The name you choose for your custom language model when you create it.
 Constraints:
 Length: 1 - 200
 Pattern: ^[0-9a-zA-Z._-]+
The name you choose for your custom language model when you create it.
public void setModelName(java.lang.String modelName)
The name you choose for your custom language model when you create it.
 Constraints:
 Length: 1 - 200
 Pattern: ^[0-9a-zA-Z._-]+
modelName - The name you choose for your custom language model when you create it.
public CreateLanguageModelRequest withModelName(java.lang.String modelName)
The name you choose for your custom language model when you create it.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 200
 Pattern: ^[0-9a-zA-Z._-]+
modelName - The name you choose for your custom language model when you create it.
public InputDataConfig getInputDataConfig()
Contains the data access role and the Amazon S3 prefixes to read the required input files to create a custom language model.
Contains the data access role and the Amazon S3 prefixes to read the required input files to create a custom language model.
public void setInputDataConfig(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.
public CreateLanguageModelRequest withInputDataConfig(InputDataConfig inputDataConfig)
Contains the data access role and the Amazon S3 prefixes to read the required input files to create a custom language model.
Returns a reference to this object so that method calls can be chained together.
inputDataConfig - Contains the data access role and the Amazon S3 prefixes to read the required input files to create a custom language model.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.