Interface GetBotVersionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetBotVersionsRequest.Builder,
,GetBotVersionsRequest> LexModelBuildingRequest.Builder
,SdkBuilder<GetBotVersionsRequest.Builder,
,GetBotVersionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetBotVersionsRequest
public static interface GetBotVersionsRequest.Builder
extends LexModelBuildingRequest.Builder, SdkPojo, CopyableBuilder<GetBotVersionsRequest.Builder,GetBotVersionsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of bot versions to return in the response.The name of the bot for which versions should be returned.A pagination token for fetching the next page of bot versions.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.lexmodelbuilding.model.LexModelBuildingRequest.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 Details
-
name
The name of the bot for which versions should be returned.
- Parameters:
name
- The name of the bot for which versions should be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A pagination token for fetching the next page of bot versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request.
- Parameters:
nextToken
- A pagination token for fetching the next page of bot versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of bot versions to return in the response. The default is 10.
- Parameters:
maxResults
- The maximum number of bot versions to return in the response. The default is 10.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetBotVersionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetBotVersionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-