Interface GrantItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GrantItem.Builder,
,GrantItem> SdkBuilder<GrantItem.Builder,
,GrantItem> SdkPojo
- Enclosing class:
GrantItem
@Mutable
@NotThreadSafe
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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
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. IfMaxQuantity
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.
-