public class LanguageModel
extends java.lang.Object
implements java.io.Serializable
The structure used to describe a custom language model.
Constructor and Description |
---|
LanguageModel() |
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 the custom language model.
|
java.util.Date |
getCreateTime()
The time the custom language model was created.
|
java.lang.String |
getFailureReason()
The reason why the custom language model couldn't be created.
|
InputDataConfig |
getInputDataConfig()
The data access role and Amazon S3 prefixes for the input files used to
train the custom language model.
|
java.lang.String |
getLanguageCode()
The language code you used to create your custom language model.
|
java.util.Date |
getLastModifiedTime()
The most recent time the custom language model was modified.
|
java.lang.String |
getModelName()
The name of the custom language model.
|
java.lang.String |
getModelStatus()
The creation status of a custom language model.
|
java.lang.Boolean |
getUpgradeAvailability()
Whether the base model used for the custom language model is up to date.
|
int |
hashCode() |
java.lang.Boolean |
isUpgradeAvailability()
Whether the base model used for the custom language model is up to date.
|
void |
setBaseModelName(BaseModelName baseModelName)
The Amazon Transcribe standard language model, or base model used to
create the custom language model.
|
void |
setBaseModelName(java.lang.String baseModelName)
The Amazon Transcribe standard language model, or base model used to
create the custom language model.
|
void |
setCreateTime(java.util.Date createTime)
The time the custom language model was created.
|
void |
setFailureReason(java.lang.String failureReason)
The reason why the custom language model couldn't be created.
|
void |
setInputDataConfig(InputDataConfig inputDataConfig)
The data access role and Amazon S3 prefixes for the input files used to
train the custom language model.
|
void |
setLanguageCode(CLMLanguageCode languageCode)
The language code you used to create your custom language model.
|
void |
setLanguageCode(java.lang.String languageCode)
The language code you used to create your custom language model.
|
void |
setLastModifiedTime(java.util.Date lastModifiedTime)
The most recent time the custom language model was modified.
|
void |
setModelName(java.lang.String modelName)
The name of the custom language model.
|
void |
setModelStatus(ModelStatus modelStatus)
The creation status of a custom language model.
|
void |
setModelStatus(java.lang.String modelStatus)
The creation status of a custom language model.
|
void |
setUpgradeAvailability(java.lang.Boolean upgradeAvailability)
Whether the base model used for the custom language model is up to date.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LanguageModel |
withBaseModelName(BaseModelName baseModelName)
The Amazon Transcribe standard language model, or base model used to
create the custom language model.
|
LanguageModel |
withBaseModelName(java.lang.String baseModelName)
The Amazon Transcribe standard language model, or base model used to
create the custom language model.
|
LanguageModel |
withCreateTime(java.util.Date createTime)
The time the custom language model was created.
|
LanguageModel |
withFailureReason(java.lang.String failureReason)
The reason why the custom language model couldn't be created.
|
LanguageModel |
withInputDataConfig(InputDataConfig inputDataConfig)
The data access role and Amazon S3 prefixes for the input files used to
train the custom language model.
|
LanguageModel |
withLanguageCode(CLMLanguageCode languageCode)
The language code you used to create your custom language model.
|
LanguageModel |
withLanguageCode(java.lang.String languageCode)
The language code you used to create your custom language model.
|
LanguageModel |
withLastModifiedTime(java.util.Date lastModifiedTime)
The most recent time the custom language model was modified.
|
LanguageModel |
withModelName(java.lang.String modelName)
The name of the custom language model.
|
LanguageModel |
withModelStatus(ModelStatus modelStatus)
The creation status of a custom language model.
|
LanguageModel |
withModelStatus(java.lang.String modelStatus)
The creation status of a custom language model.
|
LanguageModel |
withUpgradeAvailability(java.lang.Boolean upgradeAvailability)
Whether the base model used for the custom language model is up to date.
|
public java.lang.String getModelName()
The name of the custom language model.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
The name of the custom language model.
public void setModelName(java.lang.String modelName)
The name of the custom language model.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
modelName
- The name of the custom language model.
public LanguageModel withModelName(java.lang.String modelName)
The name of the 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 of the custom language model.
public java.util.Date getCreateTime()
The time the custom language model was created.
The time the custom language model was created.
public void setCreateTime(java.util.Date createTime)
The time the custom language model was created.
createTime
- The time the custom language model was created.
public LanguageModel withCreateTime(java.util.Date createTime)
The time the custom language model was created.
Returns a reference to this object so that method calls can be chained together.
createTime
- The time the custom language model was created.
public java.util.Date getLastModifiedTime()
The most recent time the custom language model was modified.
The most recent time the custom language model was modified.
public void setLastModifiedTime(java.util.Date lastModifiedTime)
The most recent time the custom language model was modified.
lastModifiedTime
- The most recent time the custom language model was modified.
public LanguageModel withLastModifiedTime(java.util.Date lastModifiedTime)
The most recent time the custom language model was modified.
Returns a reference to this object so that method calls can be chained together.
lastModifiedTime
- The most recent time the custom language model was modified.
public java.lang.String getLanguageCode()
The language code you used to create your custom language model.
Constraints:
Allowed Values: en-US
The language code you used to create your custom language model.
CLMLanguageCode
public void setLanguageCode(java.lang.String languageCode)
The language code you used to create your custom language model.
Constraints:
Allowed Values: en-US
languageCode
- The language code you used to create your custom language model.
CLMLanguageCode
public LanguageModel withLanguageCode(java.lang.String languageCode)
The language code you used to create 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 code you used to create your custom language model.
CLMLanguageCode
public void setLanguageCode(CLMLanguageCode languageCode)
The language code you used to create your custom language model.
Constraints:
Allowed Values: en-US
languageCode
- The language code you used to create your custom language model.
CLMLanguageCode
public LanguageModel withLanguageCode(CLMLanguageCode languageCode)
The language code you used to create 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 code you used to create your custom language model.
CLMLanguageCode
public java.lang.String getBaseModelName()
The Amazon Transcribe standard language model, or base model used to create the custom language model.
Constraints:
Allowed Values: NarrowBand, WideBand
The Amazon Transcribe standard language model, or base model used to create the custom language model.
BaseModelName
public void setBaseModelName(java.lang.String baseModelName)
The Amazon Transcribe standard language model, or base model used to create the custom language model.
Constraints:
Allowed Values: NarrowBand, WideBand
baseModelName
- The Amazon Transcribe standard language model, or base model used to create the custom language model.
BaseModelName
public LanguageModel withBaseModelName(java.lang.String baseModelName)
The Amazon Transcribe standard language model, or base model used to create the 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 used to create the custom language model.
BaseModelName
public void setBaseModelName(BaseModelName baseModelName)
The Amazon Transcribe standard language model, or base model used to create the custom language model.
Constraints:
Allowed Values: NarrowBand, WideBand
baseModelName
- The Amazon Transcribe standard language model, or base model used to create the custom language model.
BaseModelName
public LanguageModel withBaseModelName(BaseModelName baseModelName)
The Amazon Transcribe standard language model, or base model used to create the 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 used to create the custom language model.
BaseModelName
public java.lang.String getModelStatus()
The creation status of a custom language model. When the status is
COMPLETED
the model is ready for use.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
The creation status of a custom language model. When the status
is COMPLETED
the model is ready for use.
ModelStatus
public void setModelStatus(java.lang.String modelStatus)
The creation status of a custom language model. When the status is
COMPLETED
the model is ready for use.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
modelStatus
-
The creation status of a custom language model. When the
status is COMPLETED
the model is ready for use.
ModelStatus
public LanguageModel withModelStatus(java.lang.String modelStatus)
The creation status of a custom language model. When the status is
COMPLETED
the model is ready for use.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
modelStatus
-
The creation status of a custom language model. When the
status is COMPLETED
the model is ready for use.
ModelStatus
public void setModelStatus(ModelStatus modelStatus)
The creation status of a custom language model. When the status is
COMPLETED
the model is ready for use.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
modelStatus
-
The creation status of a custom language model. When the
status is COMPLETED
the model is ready for use.
ModelStatus
public LanguageModel withModelStatus(ModelStatus modelStatus)
The creation status of a custom language model. When the status is
COMPLETED
the model is ready for use.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
modelStatus
-
The creation status of a custom language model. When the
status is COMPLETED
the model is ready for use.
ModelStatus
public java.lang.Boolean isUpgradeAvailability()
Whether the base model used for the custom language model is up to date.
If this field is true
then you are running the most
up-to-date version of the base model in your custom language model.
Whether the base model used for the custom language model is up
to date. If this field is true
then you are running
the most up-to-date version of the base model in your custom
language model.
public java.lang.Boolean getUpgradeAvailability()
Whether the base model used for the custom language model is up to date.
If this field is true
then you are running the most
up-to-date version of the base model in your custom language model.
Whether the base model used for the custom language model is up
to date. If this field is true
then you are running
the most up-to-date version of the base model in your custom
language model.
public void setUpgradeAvailability(java.lang.Boolean upgradeAvailability)
Whether the base model used for the custom language model is up to date.
If this field is true
then you are running the most
up-to-date version of the base model in your custom language model.
upgradeAvailability
-
Whether the base model used for the custom language model is
up to date. If this field is true
then you are
running the most up-to-date version of the base model in your
custom language model.
public LanguageModel withUpgradeAvailability(java.lang.Boolean upgradeAvailability)
Whether the base model used for the custom language model is up to date.
If this field is true
then you are running the most
up-to-date version of the base model in your custom language model.
Returns a reference to this object so that method calls can be chained together.
upgradeAvailability
-
Whether the base model used for the custom language model is
up to date. If this field is true
then you are
running the most up-to-date version of the base model in your
custom language model.
public java.lang.String getFailureReason()
The reason why the custom language model couldn't be created.
The reason why the custom language model couldn't be created.
public void setFailureReason(java.lang.String failureReason)
The reason why the custom language model couldn't be created.
failureReason
- The reason why the custom language model couldn't be created.
public LanguageModel withFailureReason(java.lang.String failureReason)
The reason why the custom language model couldn't be created.
Returns a reference to this object so that method calls can be chained together.
failureReason
- The reason why the custom language model couldn't be created.
public InputDataConfig getInputDataConfig()
The data access role and Amazon S3 prefixes for the input files used to train the custom language model.
The data access role and Amazon S3 prefixes for the input files used to train the custom language model.
public void setInputDataConfig(InputDataConfig inputDataConfig)
The data access role and Amazon S3 prefixes for the input files used to train the custom language model.
inputDataConfig
- The data access role and Amazon S3 prefixes for the input files used to train the custom language model.
public LanguageModel withInputDataConfig(InputDataConfig inputDataConfig)
The data access role and Amazon S3 prefixes for the input files used to train the 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 for the input files used to train the custom language model.
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.