Interface DescribeLanguageModelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeLanguageModelResponse.Builder,
,DescribeLanguageModelResponse> SdkBuilder<DescribeLanguageModelResponse.Builder,
,DescribeLanguageModelResponse> SdkPojo
,SdkResponse.Builder
,TranscribeResponse.Builder
- Enclosing class:
DescribeLanguageModelResponse
-
Method Summary
Modifier and TypeMethodDescriptionlanguageModel
(Consumer<LanguageModel.Builder> languageModel) Provides information about the specified custom language model.languageModel
(LanguageModel languageModel) Provides information about the specified 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
-
languageModel
Provides information about the specified custom language model.
This parameter also shows if the base language model you used to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a new custom language model using the updated base model.
If you tried to create a new custom language model and the request wasn't successful, you can use this
DescribeLanguageModel
to help identify the reason for this failure.- Parameters:
languageModel
- Provides information about the specified custom language model.This parameter also shows if the base language model you used to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a new custom language model using the updated base model.
If you tried to create a new custom language model and the request wasn't successful, you can use this
DescribeLanguageModel
to help identify the reason for this failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
languageModel
default DescribeLanguageModelResponse.Builder languageModel(Consumer<LanguageModel.Builder> languageModel) Provides information about the specified custom language model.
This parameter also shows if the base language model you used to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a new custom language model using the updated base model.
If you tried to create a new custom language model and the request wasn't successful, you can use this
This is a convenience method that creates an instance of theDescribeLanguageModel
to help identify the reason for this failure.LanguageModel.Builder
avoiding the need to create one manually viaLanguageModel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolanguageModel(LanguageModel)
.- Parameters:
languageModel
- a consumer that will call methods onLanguageModel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-