@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LanguageModel extends Object implements Serializable, Cloneable, StructuredPojo
The structure used to describe a custom language model.
Constructor and Description |
---|
LanguageModel() |
Modifier and Type | Method and Description |
---|---|
LanguageModel |
clone() |
boolean |
equals(Object obj) |
String |
getBaseModelName()
The Amazon Transcribe standard language model, or base model used to create the custom language model.
|
Date |
getCreateTime()
The time the custom language model was created.
|
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.
|
String |
getLanguageCode()
The language code you used to create your custom language model.
|
Date |
getLastModifiedTime()
The most recent time the custom language model was modified.
|
String |
getModelName()
The name of the custom language model.
|
String |
getModelStatus()
The creation status of a custom language model.
|
Boolean |
getUpgradeAvailability()
Whether the base model used for the custom language model is up to date.
|
int |
hashCode() |
Boolean |
isUpgradeAvailability()
Whether the base model used for the custom language model is up to date.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBaseModelName(String baseModelName)
The Amazon Transcribe standard language model, or base model used to create the custom language model.
|
void |
setCreateTime(Date createTime)
The time the custom language model was created.
|
void |
setFailureReason(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(String languageCode)
The language code you used to create your custom language model.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The most recent time the custom language model was modified.
|
void |
setModelName(String modelName)
The name of the custom language model.
|
void |
setModelStatus(String modelStatus)
The creation status of a custom language model.
|
void |
setUpgradeAvailability(Boolean upgradeAvailability)
Whether the base model used for the custom language model is up to date.
|
String |
toString()
Returns a string representation of this object.
|
LanguageModel |
withBaseModelName(BaseModelName baseModelName)
The Amazon Transcribe standard language model, or base model used to create the custom language model.
|
LanguageModel |
withBaseModelName(String baseModelName)
The Amazon Transcribe standard language model, or base model used to create the custom language model.
|
LanguageModel |
withCreateTime(Date createTime)
The time the custom language model was created.
|
LanguageModel |
withFailureReason(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(String languageCode)
The language code you used to create your custom language model.
|
LanguageModel |
withLastModifiedTime(Date lastModifiedTime)
The most recent time the custom language model was modified.
|
LanguageModel |
withModelName(String modelName)
The name of the custom language model.
|
LanguageModel |
withModelStatus(ModelStatus modelStatus)
The creation status of a custom language model.
|
LanguageModel |
withModelStatus(String modelStatus)
The creation status of a custom language model.
|
LanguageModel |
withUpgradeAvailability(Boolean upgradeAvailability)
Whether the base model used for the custom language model is up to date.
|
public void setModelName(String modelName)
The name of the custom language model.
modelName
- The name of the custom language model.public String getModelName()
The name of the custom language model.
public LanguageModel withModelName(String modelName)
The name of the custom language model.
modelName
- The name of the custom language model.public void setCreateTime(Date createTime)
The time the custom language model was created.
createTime
- The time the custom language model was created.public Date getCreateTime()
The time the custom language model was created.
public LanguageModel withCreateTime(Date createTime)
The time the custom language model was created.
createTime
- The time the custom language model was created.public void setLastModifiedTime(Date lastModifiedTime)
The most recent time the custom language model was modified.
lastModifiedTime
- The most recent time the custom language model was modified.public Date getLastModifiedTime()
The most recent time the custom language model was modified.
public LanguageModel withLastModifiedTime(Date lastModifiedTime)
The most recent time the custom language model was modified.
lastModifiedTime
- The most recent time the custom language model was modified.public void setLanguageCode(String languageCode)
The language code you used to create your custom language model.
languageCode
- The language code you used to create your custom language model.CLMLanguageCode
public String getLanguageCode()
The language code you used to create your custom language model.
CLMLanguageCode
public LanguageModel withLanguageCode(String languageCode)
The language code you used to create your custom language model.
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.
languageCode
- The language code you used to create your custom language model.CLMLanguageCode
public void setBaseModelName(String baseModelName)
The Amazon Transcribe standard language model, or base model used to create the custom language model.
baseModelName
- The Amazon Transcribe standard language model, or base model used to create the custom language model.BaseModelName
public String getBaseModelName()
The Amazon Transcribe standard language model, or base model used to create the custom language model.
BaseModelName
public LanguageModel withBaseModelName(String baseModelName)
The Amazon Transcribe standard language model, or base model used to create the custom language model.
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.
baseModelName
- The Amazon Transcribe standard language model, or base model used to create the custom language model.BaseModelName
public void setModelStatus(String modelStatus)
The creation status of a custom language model. When the status is COMPLETED
the model is ready for
use.
modelStatus
- The creation status of a custom language model. When the status is COMPLETED
the model is
ready for use.ModelStatus
public String getModelStatus()
The creation status of a custom language model. When the status is COMPLETED
the model is ready for
use.
COMPLETED
the model is
ready for use.ModelStatus
public LanguageModel withModelStatus(String modelStatus)
The creation status of a custom language model. When the status is COMPLETED
the model is ready for
use.
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.
modelStatus
- The creation status of a custom language model. When the status is COMPLETED
the model is
ready for use.ModelStatus
public void setUpgradeAvailability(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 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.
true
then you are running the most up-to-date version of the base model in your custom
language model.public LanguageModel withUpgradeAvailability(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 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.
true
then you are running the most up-to-date version of the base model in your custom
language model.public void setFailureReason(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 String getFailureReason()
The reason why the custom language model couldn't be created.
public LanguageModel withFailureReason(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 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 InputDataConfig getInputDataConfig()
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.
inputDataConfig
- The data access role and Amazon S3 prefixes for the input files used to train the custom language model.public String toString()
toString
in class Object
Object.toString()
public LanguageModel clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.