Interface ListLanguageModelsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListLanguageModelsRequest.Builder,ListLanguageModelsRequest>,SdkBuilder<ListLanguageModelsRequest.Builder,ListLanguageModelsRequest>,SdkPojo,SdkRequest.Builder,TranscribeRequest.Builder
- Enclosing class:
- ListLanguageModelsRequest
public static interface ListLanguageModelsRequest.Builder extends TranscribeRequest.Builder, SdkPojo, CopyableBuilder<ListLanguageModelsRequest.Builder,ListLanguageModelsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLanguageModelsRequest.BuildermaxResults(Integer maxResults)The maximum number of custom language models to return in each page of results.ListLanguageModelsRequest.BuildernameContains(String nameContains)Returns only the custom language models that contain the specified string.ListLanguageModelsRequest.BuildernextToken(String nextToken)If yourListLanguageModelsrequest returns more results than can be displayed,NextTokenis displayed in the response with an associated string.ListLanguageModelsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListLanguageModelsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListLanguageModelsRequest.BuilderstatusEquals(String statusEquals)Returns only custom language models with the specified status.ListLanguageModelsRequest.BuilderstatusEquals(ModelStatus statusEquals)Returns only custom language models with the specified status.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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.services.transcribe.model.TranscribeRequest.Builder
build
-
-
-
-
Method Detail
-
statusEquals
ListLanguageModelsRequest.Builder statusEquals(String statusEquals)
Returns only custom language models with the specified status. Language models are ordered by creation date, with the newest model first. If you do not include
StatusEquals, all custom language models are returned.- Parameters:
statusEquals- Returns only custom language models with the specified status. Language models are ordered by creation date, with the newest model first. If you do not includeStatusEquals, all custom language models are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ModelStatus,ModelStatus
-
statusEquals
ListLanguageModelsRequest.Builder statusEquals(ModelStatus statusEquals)
Returns only custom language models with the specified status. Language models are ordered by creation date, with the newest model first. If you do not include
StatusEquals, all custom language models are returned.- Parameters:
statusEquals- Returns only custom language models with the specified status. Language models are ordered by creation date, with the newest model first. If you do not includeStatusEquals, all custom language models are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ModelStatus,ModelStatus
-
nameContains
ListLanguageModelsRequest.Builder nameContains(String nameContains)
Returns only the custom language models that contain the specified string. The search is not case sensitive.
- Parameters:
nameContains- Returns only the custom language models that contain the specified string. The search is not case sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListLanguageModelsRequest.Builder nextToken(String nextToken)
If your
ListLanguageModelsrequest returns more results than can be displayed,NextTokenis displayed in the response with an associated string. To get the next page of results, copy this string and repeat your request, includingNextTokenwith the value of the copied string. Repeat as needed to view all your results.- Parameters:
nextToken- If yourListLanguageModelsrequest returns more results than can be displayed,NextTokenis displayed in the response with an associated string. To get the next page of results, copy this string and repeat your request, 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.
-
maxResults
ListLanguageModelsRequest.Builder maxResults(Integer maxResults)
The maximum number of custom language models to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used.
- Parameters:
maxResults- The maximum number of custom language models to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListLanguageModelsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListLanguageModelsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-