Interface ListBotLocalesRequest.Builder

  • Method Details

    • 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

      ListBotLocalesRequest.Builder botVersion(String botVersion)

      The version of the bot to list locales for.

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

      Specifies sorting parameters for the list of locales. You can sort by locale name in ascending or descending order.

      Parameters:
      sortBy - Specifies sorting parameters for the list of locales. You can sort by locale name in ascending or descending order.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sortBy

      Specifies sorting parameters for the list of locales. You can sort by locale name in ascending or descending order.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sortBy(BotLocaleSortBy).

      Parameters:
      sortBy - a consumer that will call methods on BotLocaleSortBy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • filters

      Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.

      Parameters:
      filters - Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.

      Parameters:
      filters - Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(List<BotLocaleFilter>).

      Parameters:
      filters - a consumer that will call methods on BotLocaleFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • maxResults

      ListBotLocalesRequest.Builder maxResults(Integer maxResults)

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

      ListBotLocalesRequest.Builder nextToken(String nextToken)

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

      Parameters:
      nextToken - If the response from the ListBotLocales operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token as 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.
    • overrideConfiguration

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