Interface ListLanguageModelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLanguageModelsResponse.Builder,,ListLanguageModelsResponse> SdkBuilder<ListLanguageModelsResponse.Builder,,ListLanguageModelsResponse> SdkPojo,SdkResponse.Builder,TranscribeResponse.Builder
- Enclosing class:
ListLanguageModelsResponse
-
Method Summary
Modifier and TypeMethodDescriptionmodels(Collection<LanguageModel> models) Provides information about the custom language models that match the criteria specified in your request.models(Consumer<LanguageModel.Builder>... models) Provides information about the custom language models that match the criteria specified in your request.models(LanguageModel... models) Provides information about the custom language models that match the criteria specified in your request.IfNextTokenis present in your response, it indicates that not all results are displayed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.transcribe.model.TranscribeResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
If
NextTokenis present in your response, it indicates that not all results are displayed. To view the next set of results, copy the string associated with theNextTokenparameter in your results output, then run your request again includingNextTokenwith the value of the copied string. Repeat as needed to view all your results.- Parameters:
nextToken- IfNextTokenis present in your response, it indicates that not all results are displayed. To view the next set of results, copy the string associated with theNextTokenparameter in your results output, then run your request again includingNextTokenwith the value of the copied string. Repeat as needed to view all your results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
Provides information about the custom language models that match the criteria specified in your request.
- Parameters:
models- Provides information about the custom language models that match the criteria specified in your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
Provides information about the custom language models that match the criteria specified in your request.
- Parameters:
models- Provides information about the custom language models that match the criteria specified in your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
Provides information about the custom language models that match the criteria specified in your request.
This is a convenience method that creates an instance of theLanguageModel.Builderavoiding the need to create one manually viaLanguageModel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodels(List<LanguageModel>).- Parameters:
models- 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:
-