Interface CreateLanguageModelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateLanguageModelResponse.Builder,
,CreateLanguageModelResponse> SdkBuilder<CreateLanguageModelResponse.Builder,
,CreateLanguageModelResponse> SdkPojo
,SdkResponse.Builder
,TranscribeResponse.Builder
- Enclosing class:
CreateLanguageModelResponse
-
Method Summary
Modifier and TypeMethodDescriptionbaseModelName
(String baseModelName) The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model.baseModelName
(BaseModelName baseModelName) The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model.inputDataConfig
(Consumer<InputDataConfig.Builder> 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.inputDataConfig
(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.languageCode
(String languageCode) The language code you selected for your custom language model.languageCode
(CLMLanguageCode languageCode) The language code you selected for your custom language model.The name of your custom language model.modelStatus
(String modelStatus) The status of your custom language model.modelStatus
(ModelStatus modelStatus) The status of your custom language model.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.transcribe.model.TranscribeResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
languageCode
The language code you selected for your custom language model.
- Parameters:
languageCode
- The language code you selected for your custom language model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
languageCode
The language code you selected for your custom language model.
- Parameters:
languageCode
- The language code you selected for your custom language model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
baseModelName
The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model.
- Parameters:
baseModelName
- The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
baseModelName
The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model.
- Parameters:
baseModelName
- The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelName
The name of your custom language model.
- Parameters:
modelName
- The name of your custom language model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
default CreateLanguageModelResponse.Builder inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig) Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 locations you provided for your training (
This is a convenience method that creates an instance of theS3Uri
) and tuning (TuningDataS3Uri
) data.InputDataConfig.Builder
avoiding the need to create one manually viaInputDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputDataConfig(InputDataConfig)
.- Parameters:
inputDataConfig
- a consumer that will call methods onInputDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelStatus
The status of your custom language model. When the status displays as
COMPLETED
, your model is ready to use.- Parameters:
modelStatus
- The status of your custom language model. When the status displays asCOMPLETED
, your model is ready to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelStatus
The status of your custom language model. When the status displays as
COMPLETED
, your model is ready to use.- Parameters:
modelStatus
- The status of your custom language model. When the status displays asCOMPLETED
, your model is ready to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-