Class 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>
  • Method Details

    • 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, languageCode will return CLMLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from languageCodeAsString().

      Returns:
      The language code you selected for your custom language model.
      See Also:
    • 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, languageCode will return CLMLanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from languageCodeAsString().

      Returns:
      The language code you selected for your custom language model.
      See Also:
    • 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, baseModelName will return BaseModelName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from baseModelNameAsString().

      Returns:
      The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model.
      See Also:
    • 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, baseModelName will return BaseModelName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from baseModelNameAsString().

      Returns:
      The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model.
      See Also:
    • 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, modelStatus will return ModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from modelStatusAsString().

      Returns:
      The status of your custom language model. When the status displays as COMPLETED, your model is ready to use.
      See Also:
    • 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, modelStatus will return ModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from modelStatusAsString().

      Returns:
      The status of your custom language model. When the status displays as COMPLETED, your model is ready to use.
      See Also:
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<CreateLanguageModelResponse.Builder,CreateLanguageModelResponse>
      Specified by:
      toBuilder in class AwsResponse
    • builder

      public static CreateLanguageModelResponse.Builder builder()
    • serializableBuilderClass

      public static Class<? extends CreateLanguageModelResponse.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsResponse
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsResponse
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkResponse
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo