Interface ListBotVersionsRequest.Builder

    • Method Detail

      • botId

        ListBotVersionsRequest.Builder botId​(String botId)

        The identifier of the bot to list versions for.

        Parameters:
        botId - The identifier of the bot to list versions for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sortBy

        ListBotVersionsRequest.Builder sortBy​(BotVersionSortBy sortBy)

        Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.

        Parameters:
        sortBy - Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListBotVersionsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of versions 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 versions 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

        ListBotVersionsRequest.Builder nextToken​(String nextToken)

        If the response to the ListBotVersion operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.

        Parameters:
        nextToken - If the response to the ListBotVersion operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.