@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GrantItem extends Object implements Serializable, Cloneable, StructuredPojo
Entitlements granted to the acceptor of fixed upfront as part of agreement execution.
Constructor and Description |
---|
GrantItem() |
Modifier and Type | Method and Description |
---|---|
GrantItem |
clone() |
boolean |
equals(Object obj) |
String |
getDimensionKey()
Unique dimension key defined in the product document.
|
Integer |
getMaxQuantity()
Maximum amount of capacity that the buyer can be entitled to the given dimension of the product.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDimensionKey(String dimensionKey)
Unique dimension key defined in the product document.
|
void |
setMaxQuantity(Integer maxQuantity)
Maximum amount of capacity that the buyer can be entitled to the given dimension of the product.
|
String |
toString()
Returns a string representation of this object.
|
GrantItem |
withDimensionKey(String dimensionKey)
Unique dimension key defined in the product document.
|
GrantItem |
withMaxQuantity(Integer maxQuantity)
Maximum amount of capacity that the buyer can be entitled to the given dimension of the product.
|
public void setDimensionKey(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.
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.public String getDimensionKey()
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.
public GrantItem withDimensionKey(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.
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.public void setMaxQuantity(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.
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.public Integer getMaxQuantity()
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.
MaxQuantity
is not provided, the buyer will be able to use an unlimited amount of the given
dimension.public GrantItem withMaxQuantity(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.
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.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.