Interface ListPurchaseOptionsRequest.Builder

  • Method Details

    • locale

      A BCP 47 language tag or comma-separated priority list specifying the preferred locale for response content. See Locale for supported values, constraints, fallback behavior, and the default locale. If omitted, the service returns content in the default locale.

      Parameters:
      locale - A BCP 47 language tag or comma-separated priority list specifying the preferred locale for response content. See Locale for supported values, constraints, fallback behavior, and the default locale. If omitted, the service returns content in the default locale.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      Filters to narrow the results. Multiple filters are combined with AND logic. Multiple values within the same filter are combined with OR logic.

      Parameters:
      filters - Filters to narrow the results. Multiple filters are combined with AND logic. Multiple values within the same filter are combined with OR logic.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      Filters to narrow the results. Multiple filters are combined with AND logic. Multiple values within the same filter are combined with OR logic.

      Parameters:
      filters - Filters to narrow the results. Multiple filters are combined with AND logic. Multiple values within the same filter are combined with OR logic.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      Filters to narrow the results. Multiple filters are combined with AND logic. Multiple values within the same filter are combined with OR logic.

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

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

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

      The maximum number of results that are returned per call. You can use nextToken to get more results.

      Parameters:
      maxResults - The maximum number of results that are returned per call. You can use nextToken to get more results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      If nextToken is returned, there are more results available. Make the call again using the returned token to retrieve the next page.

      Parameters:
      nextToken - If nextToken is returned, there are more results available. Make the call again using the returned token to retrieve the next page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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