@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.
|
List<Tag> |
getTags()
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.
|
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.
|
void |
setTags(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.
|
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.
|
CreateLanguageModelRequest |
withTags(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 |
withTags(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.
|
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,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
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,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
.
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
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,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
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,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
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 List<Tag> getTags()
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.
public void setTags(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.public CreateLanguageModelRequest withTags(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.
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
- 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.public CreateLanguageModelRequest withTags(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.public String toString()
toString
in class Object
Object.toString()
public CreateLanguageModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()