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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingRequest.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
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-