Interface GrantItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GrantItem.Builder,,GrantItem> SdkBuilder<GrantItem.Builder,,GrantItem> SdkPojo
- Enclosing class:
GrantItem
public static interface GrantItem.Builder
extends SdkPojo, CopyableBuilder<GrantItem.Builder,GrantItem>
-
Method Summary
Modifier and TypeMethodDescriptiondimensionKey(String dimensionKey) Unique dimension key defined in the product document.maxQuantity(Integer maxQuantity) Maximum amount of capacity that the buyer can be entitled to the given dimension of the product.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
Maximum amount of capacity that the buyer can be entitled to the given dimension of the product. If
MaxQuantityis 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. IfMaxQuantityis 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.
-