Class CreateLanguageModelResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.transcribe.model.TranscribeResponse
-
- software.amazon.awssdk.services.transcribe.model.CreateLanguageModelResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateLanguageModelResponse.Builder,CreateLanguageModelResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateLanguageModelResponse extends TranscribeResponse implements ToCopyableBuilder<CreateLanguageModelResponse.Builder,CreateLanguageModelResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateLanguageModelResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseModelNamebaseModelName()The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model.StringbaseModelNameAsString()The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model.static CreateLanguageModelResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InputDataConfiginputDataConfig()Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 locations you provided for your training (S3Uri) and tuning (TuningDataS3Uri) data.CLMLanguageCodelanguageCode()The language code you selected for your custom language model.StringlanguageCodeAsString()The language code you selected for your custom language model.StringmodelName()The name of your custom language model.ModelStatusmodelStatus()The status of your custom language model.StringmodelStatusAsString()The status of your custom language model.List<SdkField<?>>sdkFields()static Class<? extends CreateLanguageModelResponse.Builder>serializableBuilderClass()CreateLanguageModelResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.transcribe.model.TranscribeResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
languageCode
public final CLMLanguageCode languageCode()
The language code you selected for your custom language model.
If the service returns an enum value that is not available in the current SDK version,
languageCodewill returnCLMLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlanguageCodeAsString().- Returns:
- The language code you selected for your custom language model.
- See Also:
CLMLanguageCode
-
languageCodeAsString
public final String languageCodeAsString()
The language code you selected for your custom language model.
If the service returns an enum value that is not available in the current SDK version,
languageCodewill returnCLMLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlanguageCodeAsString().- Returns:
- The language code you selected for your custom language model.
- See Also:
CLMLanguageCode
-
baseModelName
public final BaseModelName baseModelName()
The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model.
If the service returns an enum value that is not available in the current SDK version,
baseModelNamewill returnBaseModelName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombaseModelNameAsString().- Returns:
- The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model.
- See Also:
BaseModelName
-
baseModelNameAsString
public final String baseModelNameAsString()
The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model.
If the service returns an enum value that is not available in the current SDK version,
baseModelNamewill returnBaseModelName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombaseModelNameAsString().- Returns:
- The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model.
- See Also:
BaseModelName
-
modelName
public final String modelName()
The name of your custom language model.
- Returns:
- The name of your custom language model.
-
inputDataConfig
public final InputDataConfig inputDataConfig()
Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 locations you provided for your training (
S3Uri) and tuning (TuningDataS3Uri) data.- Returns:
- Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 locations you provided for your
training (
S3Uri) and tuning (TuningDataS3Uri) data.
-
modelStatus
public final ModelStatus modelStatus()
The status of your custom language model. When the status displays as
COMPLETED, your model is ready to use.If the service returns an enum value that is not available in the current SDK version,
modelStatuswill returnModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodelStatusAsString().- Returns:
- The status of your custom language model. When the status displays as
COMPLETED, your model is ready to use. - See Also:
ModelStatus
-
modelStatusAsString
public final String modelStatusAsString()
The status of your custom language model. When the status displays as
COMPLETED, your model is ready to use.If the service returns an enum value that is not available in the current SDK version,
modelStatuswill returnModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodelStatusAsString().- Returns:
- The status of your custom language model. When the status displays as
COMPLETED, your model is ready to use. - See Also:
ModelStatus
-
toBuilder
public CreateLanguageModelResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateLanguageModelResponse.Builder,CreateLanguageModelResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateLanguageModelResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateLanguageModelResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-