@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 the data access role and the Amazon S3 prefixes to read the required input files to create a custom
language model.
|
String |
getLanguageCode()
The language of the input text you're using to train your custom language model.
|
String |
getModelName()
The name you choose for your custom language model when you create it.
|
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 the data access role and the Amazon S3 prefixes to read the required input files to create a custom
language model.
|
void |
setLanguageCode(String languageCode)
The language of the input text you're using to train your custom language model.
|
void |
setModelName(String modelName)
The name you choose for your custom language model when you create it.
|
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 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(String languageCode)
The language of the input text you're using to train your custom language model.
|
CreateLanguageModelRequest |
withModelName(String modelName)
The name you choose for your custom language model when you create it.
|
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, withSdkRequestTimeout
public void setLanguageCode(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
public String getLanguageCode()
The language of the input text you're using to train your custom language model.
CLMLanguageCode
public CreateLanguageModelRequest withLanguageCode(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
public CreateLanguageModelRequest withLanguageCode(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
public void setBaseModelName(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
public 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
.
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
public CreateLanguageModelRequest withBaseModelName(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
public 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
.
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
public void setModelName(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.public String getModelName()
The name you choose for your custom language model when you create it.
public CreateLanguageModelRequest withModelName(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.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 InputDataConfig getInputDataConfig()
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.
inputDataConfig
- Contains the data access role and the Amazon S3 prefixes to read the required input files to create a
custom language model.public String toString()
toString
in class Object
Object.toString()
public CreateLanguageModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()