Interface ListIntentsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListIntentsRequest.Builder,ListIntentsRequest>,LexModelsV2Request.Builder,SdkBuilder<ListIntentsRequest.Builder,ListIntentsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListIntentsRequest
public static interface ListIntentsRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<ListIntentsRequest.Builder,ListIntentsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListIntentsRequest.BuilderbotId(String botId)The unique identifier of the bot that contains the intent.ListIntentsRequest.BuilderbotVersion(String botVersion)The version of the bot that contains the intent.ListIntentsRequest.Builderfilters(Collection<IntentFilter> filters)Provides the specification of a filter used to limit the intents in the response to only those that match the filter specification.ListIntentsRequest.Builderfilters(Consumer<IntentFilter.Builder>... filters)Provides the specification of a filter used to limit the intents in the response to only those that match the filter specification.ListIntentsRequest.Builderfilters(IntentFilter... filters)Provides the specification of a filter used to limit the intents in the response to only those that match the filter specification.ListIntentsRequest.BuilderlocaleId(String localeId)The identifier of the language and locale of the intents to list.ListIntentsRequest.BuildermaxResults(Integer maxResults)The maximum number of intents to return in each page of results.ListIntentsRequest.BuildernextToken(String nextToken)If the response from theListIntentsoperation contains more results than specified in themaxResultsparameter, a token is returned in the response.ListIntentsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListIntentsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListIntentsRequest.BuildersortBy(Consumer<IntentSortBy.Builder> sortBy)Determines the sort order for the response from theListIntentsoperation.ListIntentsRequest.BuildersortBy(IntentSortBy sortBy)Determines the sort order for the response from theListIntentsoperation.-
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.services.lexmodelsv2.model.LexModelsV2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
botId
ListIntentsRequest.Builder botId(String botId)
The unique identifier of the bot that contains the intent.
- Parameters:
botId- The unique identifier of the bot that contains the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
ListIntentsRequest.Builder botVersion(String botVersion)
The version of the bot that contains the intent.
- Parameters:
botVersion- The version of the bot that contains the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
ListIntentsRequest.Builder localeId(String 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
ListIntentsRequest.Builder sortBy(IntentSortBy sortBy)
Determines the sort order for the response from the
ListIntentsoperation. You can choose to sort by the intent name or last updated date in either ascending or descending order.- Parameters:
sortBy- Determines the sort order for the response from theListIntentsoperation. You can choose to sort by the intent name or last updated date in either ascending or descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
default ListIntentsRequest.Builder sortBy(Consumer<IntentSortBy.Builder> sortBy)
Determines the sort order for the response from the
This is a convenience method that creates an instance of theListIntentsoperation. You can choose to sort by the intent name or last updated date in either ascending or descending order.IntentSortBy.Builderavoiding the need to create one manually viaIntentSortBy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosortBy(IntentSortBy).- Parameters:
sortBy- a consumer that will call methods onIntentSortBy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sortBy(IntentSortBy)
-
filters
ListIntentsRequest.Builder filters(Collection<IntentFilter> filters)
Provides the specification of a filter used to limit the intents in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.
- Parameters:
filters- Provides the specification of a filter used to limit the intents in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListIntentsRequest.Builder filters(IntentFilter... filters)
Provides the specification of a filter used to limit the intents in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.
- Parameters:
filters- Provides the specification of a filter used to limit the intents in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListIntentsRequest.Builder filters(Consumer<IntentFilter.Builder>... filters)
Provides the specification of a filter used to limit the intents in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.
This is a convenience method that creates an instance of theIntentFilter.Builderavoiding the need to create one manually viaIntentFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onIntentFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
maxResults
ListIntentsRequest.Builder maxResults(Integer maxResults)
The maximum number of 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 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
ListIntentsRequest.Builder nextToken(String nextToken)
If the response from the
ListIntentsoperation contains more results than specified in themaxResultsparameter, a token is returned in the response.Use the returned token in the
nextTokenparameter of aListIntentsrequest to return the next page of results. For a complete set of results, call theListIntentsoperation until thenextTokenreturned in the response is null.- Parameters:
nextToken- If the response from theListIntentsoperation contains more results than specified in themaxResultsparameter, a token is returned in the response.Use the returned token in the
nextTokenparameter of aListIntentsrequest to return the next page of results. For a complete set of results, call theListIntentsoperation until thenextTokenreturned in the response is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListIntentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListIntentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-