Interface ListBotAliasesResponse.Builder

    • Method Detail

      • botAliasSummaries

        ListBotAliasesResponse.Builder botAliasSummaries​(Collection<BotAliasSummary> botAliasSummaries)

        Summary information for the bot aliases that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more aliases available, the nextToken field contains a token to get the next page of results.

        Parameters:
        botAliasSummaries - Summary information for the bot aliases that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more aliases available, the nextToken field contains a token to get the next page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botAliasSummaries

        ListBotAliasesResponse.Builder botAliasSummaries​(BotAliasSummary... botAliasSummaries)

        Summary information for the bot aliases that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more aliases available, the nextToken field contains a token to get the next page of results.

        Parameters:
        botAliasSummaries - Summary information for the bot aliases that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more aliases available, the nextToken field contains a token to get the next page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botAliasSummaries

        ListBotAliasesResponse.Builder botAliasSummaries​(Consumer<BotAliasSummary.Builder>... botAliasSummaries)

        Summary information for the bot aliases that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more aliases available, the nextToken field contains a token to get the next page of results.

        This is a convenience method that creates an instance of the BotAliasSummary.Builder avoiding the need to create one manually via BotAliasSummary.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #botAliasSummaries(List).

        Parameters:
        botAliasSummaries - a consumer that will call methods on BotAliasSummary.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #botAliasSummaries(java.util.Collection)
      • nextToken

        ListBotAliasesResponse.Builder nextToken​(String nextToken)

        A token that indicates whether there are more results to return in a response to the ListBotAliases operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListBotAliases operation request to get the next page of results.

        Parameters:
        nextToken - A token that indicates whether there are more results to return in a response to the ListBotAliases operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListBotAliases operation request to get the next page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botId

        ListBotAliasesResponse.Builder botId​(String botId)

        The identifier of the bot associated with the aliases.

        Parameters:
        botId - The identifier of the bot associated with the aliases.
        Returns:
        Returns a reference to this object so that method calls can be chained together.