Interface ListLanguageModelsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLanguageModelsResponse.Builder,ListLanguageModelsResponse>,SdkBuilder<ListLanguageModelsResponse.Builder,ListLanguageModelsResponse>,SdkPojo,SdkResponse.Builder,TranscribeResponse.Builder
- Enclosing class:
- ListLanguageModelsResponse
public static interface ListLanguageModelsResponse.Builder extends TranscribeResponse.Builder, SdkPojo, CopyableBuilder<ListLanguageModelsResponse.Builder,ListLanguageModelsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLanguageModelsResponse.Buildermodels(Collection<LanguageModel> models)Provides information about the custom language models that match the criteria specified in your request.ListLanguageModelsResponse.Buildermodels(Consumer<LanguageModel.Builder>... models)Provides information about the custom language models that match the criteria specified in your request.ListLanguageModelsResponse.Buildermodels(LanguageModel... models)Provides information about the custom language models that match the criteria specified in your request.ListLanguageModelsResponse.BuildernextToken(String nextToken)IfNextTokenis present in your response, it indicates that not all results are displayed.-
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 Detail
-
nextToken
ListLanguageModelsResponse.Builder nextToken(String 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
ListLanguageModelsResponse.Builder models(Collection<LanguageModel> 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
ListLanguageModelsResponse.Builder models(LanguageModel... 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
ListLanguageModelsResponse.Builder models(Consumer<LanguageModel.Builder>... 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 to#models(List.) - 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:
#models(java.util.Collection)
-
-