Interface GrantItem.Builder

  • Method Details

    • dimensionKey

      GrantItem.Builder dimensionKey(String dimensionKey)

      Unique dimension key defined in the product document. Dimensions represent categories of capacity in a product and are specified when the product is listed in AWS Marketplace.

      Parameters:
      dimensionKey - Unique dimension key defined in the product document. Dimensions represent categories of capacity in a product and are specified when the product is listed in AWS Marketplace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxQuantity

      GrantItem.Builder maxQuantity(Integer maxQuantity)

      Maximum amount of capacity that the buyer can be entitled to the given dimension of the product. If MaxQuantity is not provided, the buyer will be able to use an unlimited amount of the given dimension.

      Parameters:
      maxQuantity - Maximum amount of capacity that the buyer can be entitled to the given dimension of the product. If MaxQuantity is not provided, the buyer will be able to use an unlimited amount of the given dimension.
      Returns:
      Returns a reference to this object so that method calls can be chained together.