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 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

      GetBotVersionsRequest.Builder nextToken(String 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

      GetBotVersionsRequest.Builder maxResults(Integer 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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.