Interface ListBuiltInIntentsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListBuiltInIntentsRequest.Builder,,ListBuiltInIntentsRequest> LexModelsV2Request.Builder,SdkBuilder<ListBuiltInIntentsRequest.Builder,,ListBuiltInIntentsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListBuiltInIntentsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the language and locale of the intents to list.maxResults(Integer maxResults) The maximum number of built-in intents to return in each page of results.If the response from theListBuiltInIntentsoperation contains more results than specified in themaxResultsparameter, a token is returned in the response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sortBy(Consumer<BuiltInIntentSortBy.Builder> sortBy) Specifies sorting parameters for the list of built-in intents.sortBy(BuiltInIntentSortBy sortBy) Specifies sorting parameters for the list of built-in intents.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
localeId
The identifier of the language and locale of the intents to list. The string must match one of the supported locales. For more information, see Supported languages.
- Parameters:
localeId- The identifier of the language and locale of the intents to list. The string must match one of the supported locales. For more information, see Supported languages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
Specifies sorting parameters for the list of built-in intents. You can specify that the list be sorted by the built-in intent signature in either ascending or descending order.
- Parameters:
sortBy- Specifies sorting parameters for the list of built-in intents. You can specify that the list be sorted by the built-in intent signature in either ascending or descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
Specifies sorting parameters for the list of built-in intents. You can specify that the list be sorted by the built-in intent signature in either ascending or descending order.
This is a convenience method that creates an instance of theBuiltInIntentSortBy.Builderavoiding the need to create one manually viaBuiltInIntentSortBy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosortBy(BuiltInIntentSortBy).- Parameters:
sortBy- a consumer that will call methods onBuiltInIntentSortBy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of built-in intents to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
- Parameters:
maxResults- The maximum number of built-in intents to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If the response from the
ListBuiltInIntentsoperation contains more results than specified in themaxResultsparameter, a token is returned in the response. Use that token in thenextTokenparameter to return the next page of results.- Parameters:
nextToken- If the response from theListBuiltInIntentsoperation contains more results than specified in themaxResultsparameter, a token is returned in the response. Use that token in thenextTokenparameter to return the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListBuiltInIntentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListBuiltInIntentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-