@Generated(value="software.amazon.awssdk:codegen") public final class LanguageModel extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LanguageModel.Builder,LanguageModel>
The structure used to describe a custom language model.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LanguageModel.Builder |
| Modifier and Type | Method and Description |
|---|---|
BaseModelName |
baseModelName()
The Amazon Transcribe standard language model, or base model used to create the custom language model.
|
String |
baseModelNameAsString()
The Amazon Transcribe standard language model, or base model used to create the custom language model.
|
static LanguageModel.Builder |
builder() |
Instant |
createTime()
The time the custom language model was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureReason()
The reason why the custom language model couldn't be created.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
InputDataConfig |
inputDataConfig()
The data access role and Amazon S3 prefixes for the input files used to train the custom language model.
|
CLMLanguageCode |
languageCode()
The language code you used to create your custom language model.
|
String |
languageCodeAsString()
The language code you used to create your custom language model.
|
Instant |
lastModifiedTime()
The most recent time the custom language model was modified.
|
String |
modelName()
The name of the custom language model.
|
ModelStatus |
modelStatus()
The creation status of a custom language model.
|
String |
modelStatusAsString()
The creation status of a custom language model.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LanguageModel.Builder> |
serializableBuilderClass() |
LanguageModel.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Boolean |
upgradeAvailability()
Whether the base model used for the custom language model is up to date.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String modelName()
The name of the custom language model.
public final Instant createTime()
The time the custom language model was created.
public final Instant lastModifiedTime()
The most recent time the custom language model was modified.
public final CLMLanguageCode languageCode()
The language code you used to create your custom language model.
If the service returns an enum value that is not available in the current SDK version, languageCode will
return CLMLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
languageCodeAsString().
CLMLanguageCodepublic final String languageCodeAsString()
The language code you used to create your custom language model.
If the service returns an enum value that is not available in the current SDK version, languageCode will
return CLMLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
languageCodeAsString().
CLMLanguageCodepublic final BaseModelName baseModelName()
The Amazon Transcribe standard language model, or base model used to create the custom language model.
If the service returns an enum value that is not available in the current SDK version, baseModelName
will return BaseModelName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
baseModelNameAsString().
BaseModelNamepublic final String baseModelNameAsString()
The Amazon Transcribe standard language model, or base model used to create the custom language model.
If the service returns an enum value that is not available in the current SDK version, baseModelName
will return BaseModelName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
baseModelNameAsString().
BaseModelNamepublic final ModelStatus modelStatus()
The creation status of a custom language model. When the status is COMPLETED the model is ready for
use.
If the service returns an enum value that is not available in the current SDK version, modelStatus will
return ModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modelStatusAsString().
COMPLETED the model is
ready for use.ModelStatuspublic final String modelStatusAsString()
The creation status of a custom language model. When the status is COMPLETED the model is ready for
use.
If the service returns an enum value that is not available in the current SDK version, modelStatus will
return ModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
modelStatusAsString().
COMPLETED the model is
ready for use.ModelStatuspublic final 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.
true then you are running the most up-to-date version of the base model in your custom
language model.public final String failureReason()
The reason why the custom language model couldn't be created.
public final InputDataConfig inputDataConfig()
The data access role and Amazon S3 prefixes for the input files used to train the custom language model.
public LanguageModel.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LanguageModel.Builder,LanguageModel>public static LanguageModel.Builder builder()
public static Class<? extends LanguageModel.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.