Interface ListBotLocalesResponse.Builder

    • Method Detail

      • botId

        ListBotLocalesResponse.Builder botId​(String botId)

        The identifier of the bot to list locales for.

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

        ListBotLocalesResponse.Builder botVersion​(String botVersion)

        The version of the bot.

        Parameters:
        botVersion - The version of the bot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListBotLocalesResponse.Builder nextToken​(String nextToken)

        A token that indicates whether there are more results to return in a response to the ListBotLocales operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListBotLocales 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 ListBotLocales operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListBotLocales operation request to get the next page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botLocaleSummaries

        ListBotLocalesResponse.Builder botLocaleSummaries​(Collection<BotLocaleSummary> botLocaleSummaries)

        Summary information for the locales 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 locales available, the nextToken field contains a token to get the next page of results.

        Parameters:
        botLocaleSummaries - Summary information for the locales 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 locales 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.
      • botLocaleSummaries

        ListBotLocalesResponse.Builder botLocaleSummaries​(BotLocaleSummary... botLocaleSummaries)

        Summary information for the locales 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 locales available, the nextToken field contains a token to get the next page of results.

        Parameters:
        botLocaleSummaries - Summary information for the locales 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 locales 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.
      • botLocaleSummaries

        ListBotLocalesResponse.Builder botLocaleSummaries​(Consumer<BotLocaleSummary.Builder>... botLocaleSummaries)

        Summary information for the locales 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 locales 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 BotLocaleSummary.Builder avoiding the need to create one manually via BotLocaleSummary.builder().

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

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