Interface ListBotsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListBotsRequest.Builder,ListBotsRequest>,LexModelsV2Request.Builder,SdkBuilder<ListBotsRequest.Builder,ListBotsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListBotsRequest
public static interface ListBotsRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<ListBotsRequest.Builder,ListBotsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListBotsRequest.Builderfilters(Collection<BotFilter> filters)Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification.ListBotsRequest.Builderfilters(Consumer<BotFilter.Builder>... filters)Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification.ListBotsRequest.Builderfilters(BotFilter... filters)Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification.ListBotsRequest.BuildermaxResults(Integer maxResults)The maximum number of bots to return in each page of results.ListBotsRequest.BuildernextToken(String nextToken)If the response from theListBotsoperation contains more results than specified in themaxResultsparameter, a token is returned in the response.ListBotsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListBotsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListBotsRequest.BuildersortBy(Consumer<BotSortBy.Builder> sortBy)Specifies sorting parameters for the list of bots.ListBotsRequest.BuildersortBy(BotSortBy sortBy)Specifies sorting parameters for the list of bots.-
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
-
sortBy
ListBotsRequest.Builder sortBy(BotSortBy sortBy)
Specifies sorting parameters for the list of bots. You can specify that the list be sorted by bot name in ascending or descending order.
- Parameters:
sortBy- Specifies sorting parameters for the list of bots. You can specify that the list be sorted by bot name in ascending or descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
default ListBotsRequest.Builder sortBy(Consumer<BotSortBy.Builder> sortBy)
Specifies sorting parameters for the list of bots. You can specify that the list be sorted by bot name in ascending or descending order.
This is a convenience method that creates an instance of theBotSortBy.Builderavoiding the need to create one manually viaBotSortBy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosortBy(BotSortBy).- Parameters:
sortBy- a consumer that will call methods onBotSortBy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sortBy(BotSortBy)
-
filters
ListBotsRequest.Builder filters(Collection<BotFilter> filters)
Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
- Parameters:
filters- Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListBotsRequest.Builder filters(BotFilter... filters)
Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
- Parameters:
filters- Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListBotsRequest.Builder filters(Consumer<BotFilter.Builder>... filters)
Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
This is a convenience method that creates an instance of theBotFilter.Builderavoiding the need to create one manually viaBotFilter.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 onBotFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
maxResults
ListBotsRequest.Builder maxResults(Integer maxResults)
The maximum number of bots to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.
- Parameters:
maxResults- The maximum number of bots to return in each page of results. If there are fewer results than the maximum 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
ListBotsRequest.Builder nextToken(String nextToken)
If the response from the
ListBotsoperation contains more results than specified in themaxResultsparameter, a token is returned in the response.Use the returned token in the
nextTokenparameter of aListBotsrequest to return the next page of results. For a complete set of results, call theListBotsoperation until thenextTokenreturned in the response is null.- Parameters:
nextToken- If the response from theListBotsoperation contains more results than specified in themaxResultsparameter, a token is returned in the response.Use the returned token in the
nextTokenparameter of aListBotsrequest to return the next page of results. For a complete set of results, call theListBotsoperation until thenextTokenreturned in the response is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListBotsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListBotsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-