public class CreateLanguageModelResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CreateLanguageModelResult() |
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 you've used
to create a custom language model.
|
InputDataConfig |
getInputDataConfig()
The data access role and Amazon S3 prefixes you've chosen to create your
custom language model.
|
java.lang.String |
getLanguageCode()
The language code of the text you've used to create a custom language
model.
|
java.lang.String |
getModelName()
The name you've chosen for your custom language model.
|
java.lang.String |
getModelStatus()
The status of the custom language model.
|
int |
hashCode() |
void |
setBaseModelName(BaseModelName baseModelName)
The Amazon Transcribe standard language model, or base model you've used
to create a custom language model.
|
void |
setBaseModelName(java.lang.String baseModelName)
The Amazon Transcribe standard language model, or base model you've used
to create a custom language model.
|
void |
setInputDataConfig(InputDataConfig inputDataConfig)
The data access role and Amazon S3 prefixes you've chosen to create your
custom language model.
|
void |
setLanguageCode(CLMLanguageCode languageCode)
The language code of the text you've used to create a custom language
model.
|
void |
setLanguageCode(java.lang.String languageCode)
The language code of the text you've used to create a custom language
model.
|
void |
setModelName(java.lang.String modelName)
The name you've chosen for your custom language model.
|
void |
setModelStatus(ModelStatus modelStatus)
The status of the custom language model.
|
void |
setModelStatus(java.lang.String modelStatus)
The status of the custom language model.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateLanguageModelResult |
withBaseModelName(BaseModelName baseModelName)
The Amazon Transcribe standard language model, or base model you've used
to create a custom language model.
|
CreateLanguageModelResult |
withBaseModelName(java.lang.String baseModelName)
The Amazon Transcribe standard language model, or base model you've used
to create a custom language model.
|
CreateLanguageModelResult |
withInputDataConfig(InputDataConfig inputDataConfig)
The data access role and Amazon S3 prefixes you've chosen to create your
custom language model.
|
CreateLanguageModelResult |
withLanguageCode(CLMLanguageCode languageCode)
The language code of the text you've used to create a custom language
model.
|
CreateLanguageModelResult |
withLanguageCode(java.lang.String languageCode)
The language code of the text you've used to create a custom language
model.
|
CreateLanguageModelResult |
withModelName(java.lang.String modelName)
The name you've chosen for your custom language model.
|
CreateLanguageModelResult |
withModelStatus(ModelStatus modelStatus)
The status of the custom language model.
|
CreateLanguageModelResult |
withModelStatus(java.lang.String modelStatus)
The status of the custom language model.
|
public java.lang.String getLanguageCode()
The language code of the text you've used to create a custom language model.
Constraints:
Allowed Values: en-US
The language code of the text you've used to create a custom language model.
CLMLanguageCode
public void setLanguageCode(java.lang.String languageCode)
The language code of the text you've used to create a custom language model.
Constraints:
Allowed Values: en-US
languageCode
- The language code of the text you've used to create a custom language model.
CLMLanguageCode
public CreateLanguageModelResult withLanguageCode(java.lang.String languageCode)
The language code of the text you've used to create a 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 code of the text you've used to create a custom language model.
CLMLanguageCode
public void setLanguageCode(CLMLanguageCode languageCode)
The language code of the text you've used to create a custom language model.
Constraints:
Allowed Values: en-US
languageCode
- The language code of the text you've used to create a custom language model.
CLMLanguageCode
public CreateLanguageModelResult withLanguageCode(CLMLanguageCode languageCode)
The language code of the text you've used to create a 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 code of the text you've used to create a custom language model.
CLMLanguageCode
public java.lang.String getBaseModelName()
The Amazon Transcribe standard language model, or base model you've used to create a custom language model.
Constraints:
Allowed Values: NarrowBand, WideBand
The Amazon Transcribe standard language model, or base model you've used to create a custom language model.
BaseModelName
public void setBaseModelName(java.lang.String baseModelName)
The Amazon Transcribe standard language model, or base model you've used to create a custom language model.
Constraints:
Allowed Values: NarrowBand, WideBand
baseModelName
- The Amazon Transcribe standard language model, or base model you've used to create a custom language model.
BaseModelName
public CreateLanguageModelResult withBaseModelName(java.lang.String baseModelName)
The Amazon Transcribe standard language model, or base model you've used to create a custom language model.
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 you've used to create a custom language model.
BaseModelName
public void setBaseModelName(BaseModelName baseModelName)
The Amazon Transcribe standard language model, or base model you've used to create a custom language model.
Constraints:
Allowed Values: NarrowBand, WideBand
baseModelName
- The Amazon Transcribe standard language model, or base model you've used to create a custom language model.
BaseModelName
public CreateLanguageModelResult withBaseModelName(BaseModelName baseModelName)
The Amazon Transcribe standard language model, or base model you've used to create a custom language model.
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 you've used to create a custom language model.
BaseModelName
public java.lang.String getModelName()
The name you've chosen for your custom language model.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
The name you've chosen for your custom language model.
public void setModelName(java.lang.String modelName)
The name you've chosen for your custom language model.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
modelName
- The name you've chosen for your custom language model.
public CreateLanguageModelResult withModelName(java.lang.String modelName)
The name you've chosen for your custom language model.
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've chosen for your custom language model.
public InputDataConfig getInputDataConfig()
The data access role and Amazon S3 prefixes you've chosen to create your custom language model.
The data access role and Amazon S3 prefixes you've chosen to create your custom language model.
public void setInputDataConfig(InputDataConfig inputDataConfig)
The data access role and Amazon S3 prefixes you've chosen to create your custom language model.
inputDataConfig
- The data access role and Amazon S3 prefixes you've chosen to create your custom language model.
public CreateLanguageModelResult withInputDataConfig(InputDataConfig inputDataConfig)
The data access role and Amazon S3 prefixes you've chosen to create your custom language model.
Returns a reference to this object so that method calls can be chained together.
inputDataConfig
- The data access role and Amazon S3 prefixes you've chosen to create your custom language model.
public java.lang.String getModelStatus()
The status of the custom language model. When the status is
COMPLETED
the model is ready to use.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
The status of the custom language model. When the status is
COMPLETED
the model is ready to use.
ModelStatus
public void setModelStatus(java.lang.String modelStatus)
The status of the custom language model. When the status is
COMPLETED
the model is ready to use.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
modelStatus
-
The status of the custom language model. When the status is
COMPLETED
the model is ready to use.
ModelStatus
public CreateLanguageModelResult withModelStatus(java.lang.String modelStatus)
The status of the custom language model. When the status is
COMPLETED
the model is ready to use.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
modelStatus
-
The status of the custom language model. When the status is
COMPLETED
the model is ready to use.
ModelStatus
public void setModelStatus(ModelStatus modelStatus)
The status of the custom language model. When the status is
COMPLETED
the model is ready to use.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
modelStatus
-
The status of the custom language model. When the status is
COMPLETED
the model is ready to use.
ModelStatus
public CreateLanguageModelResult withModelStatus(ModelStatus modelStatus)
The status of the custom language model. When the status is
COMPLETED
the model is ready to use.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
modelStatus
-
The status of the custom language model. When the status is
COMPLETED
the model is ready to use.
ModelStatus
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.