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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GrantItem.BuilderdimensionKey(String dimensionKey)Unique dimension key defined in the product document.GrantItem.BuildermaxQuantity(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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
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.
-
-