Interface ProductAttributeValues.Builder

  • Method Details

    • key

      The name of the product attribute, such as model. The keys that are available depend on the service. For the keys of each supported service, see ProductAttributeValues .

      Keys are case-sensitive. A key that doesn't exist doesn't return an error: EQUALS matches no costs, and ABSENT matches all costs of supported services.

      Parameters:
      key - The name of the product attribute, such as model. The keys that are available depend on the service. For the keys of each supported service, see ProductAttributeValues .

      Keys are case-sensitive. A key that doesn't exist doesn't return an error: EQUALS matches no costs, and ABSENT matches all costs of supported services.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • values

      The specific values of the product attribute, such as Claude Sonnet 5 for the model key. Values are matched exactly, including case. To list the values of a key, use GetDimensionValues with Dimension set to PRODUCT_ATTRIBUTE and DimensionKey set to the key.

      To match costs that have no value for the key, set MatchOptions to ABSENT and omit Values. Otherwise, Values is required.

      Parameters:
      values - The specific values of the product attribute, such as Claude Sonnet 5 for the model key. Values are matched exactly, including case. To list the values of a key, use GetDimensionValues with Dimension set to PRODUCT_ATTRIBUTE and DimensionKey set to the key.

      To match costs that have no value for the key, set MatchOptions to ABSENT and omit Values. Otherwise, Values is required.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • values

      The specific values of the product attribute, such as Claude Sonnet 5 for the model key. Values are matched exactly, including case. To list the values of a key, use GetDimensionValues with Dimension set to PRODUCT_ATTRIBUTE and DimensionKey set to the key.

      To match costs that have no value for the key, set MatchOptions to ABSENT and omit Values. Otherwise, Values is required.

      Parameters:
      values - The specific values of the product attribute, such as Claude Sonnet 5 for the model key. Values are matched exactly, including case. To list the values of a key, use GetDimensionValues with Dimension set to PRODUCT_ATTRIBUTE and DimensionKey set to the key.

      To match costs that have no value for the key, set MatchOptions to ABSENT and omit Values. Otherwise, Values is required.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matchOptionsWithStrings

      ProductAttributeValues.Builder matchOptionsWithStrings(Collection<String> matchOptions)

      The match options that you can use to filter your results. Valid values:

      • EQUALS - Matches the values that you specify.

      • ABSENT - Matches costs that have no value for the key. Omit Values.

      • CASE_SENSITIVE - Use only with EQUALS. Values are always matched case-sensitively.

      Default values are EQUALS and CASE_SENSITIVE.

      Parameters:
      matchOptions - The match options that you can use to filter your results. Valid values:

      • EQUALS - Matches the values that you specify.

      • ABSENT - Matches costs that have no value for the key. Omit Values.

      • CASE_SENSITIVE - Use only with EQUALS. Values are always matched case-sensitively.

      Default values are EQUALS and CASE_SENSITIVE.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matchOptionsWithStrings

      ProductAttributeValues.Builder matchOptionsWithStrings(String... matchOptions)

      The match options that you can use to filter your results. Valid values:

      • EQUALS - Matches the values that you specify.

      • ABSENT - Matches costs that have no value for the key. Omit Values.

      • CASE_SENSITIVE - Use only with EQUALS. Values are always matched case-sensitively.

      Default values are EQUALS and CASE_SENSITIVE.

      Parameters:
      matchOptions - The match options that you can use to filter your results. Valid values:

      • EQUALS - Matches the values that you specify.

      • ABSENT - Matches costs that have no value for the key. Omit Values.

      • CASE_SENSITIVE - Use only with EQUALS. Values are always matched case-sensitively.

      Default values are EQUALS and CASE_SENSITIVE.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matchOptions

      The match options that you can use to filter your results. Valid values:

      • EQUALS - Matches the values that you specify.

      • ABSENT - Matches costs that have no value for the key. Omit Values.

      • CASE_SENSITIVE - Use only with EQUALS. Values are always matched case-sensitively.

      Default values are EQUALS and CASE_SENSITIVE.

      Parameters:
      matchOptions - The match options that you can use to filter your results. Valid values:

      • EQUALS - Matches the values that you specify.

      • ABSENT - Matches costs that have no value for the key. Omit Values.

      • CASE_SENSITIVE - Use only with EQUALS. Values are always matched case-sensitively.

      Default values are EQUALS and CASE_SENSITIVE.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matchOptions

      ProductAttributeValues.Builder matchOptions(MatchOption... matchOptions)

      The match options that you can use to filter your results. Valid values:

      • EQUALS - Matches the values that you specify.

      • ABSENT - Matches costs that have no value for the key. Omit Values.

      • CASE_SENSITIVE - Use only with EQUALS. Values are always matched case-sensitively.

      Default values are EQUALS and CASE_SENSITIVE.

      Parameters:
      matchOptions - The match options that you can use to filter your results. Valid values:

      • EQUALS - Matches the values that you specify.

      • ABSENT - Matches costs that have no value for the key. Omit Values.

      • CASE_SENSITIVE - Use only with EQUALS. Values are always matched case-sensitively.

      Default values are EQUALS and CASE_SENSITIVE.

      Returns:
      Returns a reference to this object so that method calls can be chained together.