@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Entitlement extends Object implements Serializable, Cloneable, StructuredPojo
An entitlement represents capacity in a product owned by the customer. For example, a customer might own some number of users or seats in an SaaS application or some amount of data capacity in a multi-tenant database.
Constructor and Description |
---|
Entitlement() |
Modifier and Type | Method and Description |
---|---|
Entitlement |
clone() |
boolean |
equals(Object obj) |
String |
getCustomerIdentifier()
The customer identifier is a handle to each unique customer in an application.
|
String |
getDimension()
The dimension for which the given entitlement applies.
|
Date |
getExpirationDate()
The expiration date represents the minimum date through which this entitlement is expected to remain valid.
|
String |
getProductCode()
The product code for which the given entitlement applies.
|
EntitlementValue |
getValue()
The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomerIdentifier(String customerIdentifier)
The customer identifier is a handle to each unique customer in an application.
|
void |
setDimension(String dimension)
The dimension for which the given entitlement applies.
|
void |
setExpirationDate(Date expirationDate)
The expiration date represents the minimum date through which this entitlement is expected to remain valid.
|
void |
setProductCode(String productCode)
The product code for which the given entitlement applies.
|
void |
setValue(EntitlementValue value)
The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Entitlement |
withCustomerIdentifier(String customerIdentifier)
The customer identifier is a handle to each unique customer in an application.
|
Entitlement |
withDimension(String dimension)
The dimension for which the given entitlement applies.
|
Entitlement |
withExpirationDate(Date expirationDate)
The expiration date represents the minimum date through which this entitlement is expected to remain valid.
|
Entitlement |
withProductCode(String productCode)
The product code for which the given entitlement applies.
|
Entitlement |
withValue(EntitlementValue value)
The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.
|
public void setProductCode(String productCode)
The product code for which the given entitlement applies. Product codes are provided by AWS Marketplace when the product listing is created.
productCode
- The product code for which the given entitlement applies. Product codes are provided by AWS Marketplace
when the product listing is created.public String getProductCode()
The product code for which the given entitlement applies. Product codes are provided by AWS Marketplace when the product listing is created.
public Entitlement withProductCode(String productCode)
The product code for which the given entitlement applies. Product codes are provided by AWS Marketplace when the product listing is created.
productCode
- The product code for which the given entitlement applies. Product codes are provided by AWS Marketplace
when the product listing is created.public void setDimension(String dimension)
The dimension for which the given entitlement applies. Dimensions represent categories of capacity in a product and are specified when the product is listed in AWS Marketplace.
dimension
- The dimension for which the given entitlement applies. Dimensions represent categories of capacity in a
product and are specified when the product is listed in AWS Marketplace.public String getDimension()
The dimension for which the given entitlement applies. Dimensions represent categories of capacity in a product and are specified when the product is listed in AWS Marketplace.
public Entitlement withDimension(String dimension)
The dimension for which the given entitlement applies. Dimensions represent categories of capacity in a product and are specified when the product is listed in AWS Marketplace.
dimension
- The dimension for which the given entitlement applies. Dimensions represent categories of capacity in a
product and are specified when the product is listed in AWS Marketplace.public void setCustomerIdentifier(String customerIdentifier)
The customer identifier is a handle to each unique customer in an application. Customer identifiers are obtained through the ResolveCustomer operation in AWS Marketplace Metering Service.
customerIdentifier
- The customer identifier is a handle to each unique customer in an application. Customer identifiers are
obtained through the ResolveCustomer operation in AWS Marketplace Metering Service.public String getCustomerIdentifier()
The customer identifier is a handle to each unique customer in an application. Customer identifiers are obtained through the ResolveCustomer operation in AWS Marketplace Metering Service.
public Entitlement withCustomerIdentifier(String customerIdentifier)
The customer identifier is a handle to each unique customer in an application. Customer identifiers are obtained through the ResolveCustomer operation in AWS Marketplace Metering Service.
customerIdentifier
- The customer identifier is a handle to each unique customer in an application. Customer identifiers are
obtained through the ResolveCustomer operation in AWS Marketplace Metering Service.public void setValue(EntitlementValue value)
The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.
value
- The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.public EntitlementValue getValue()
The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.
public Entitlement withValue(EntitlementValue value)
The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.
value
- The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.public void setExpirationDate(Date expirationDate)
The expiration date represents the minimum date through which this entitlement is expected to remain valid. For contractual products listed on AWS Marketplace, the expiration date is the date at which the customer will renew or cancel their contract. Customers who are opting to renew their contract will still have entitlements with an expiration date.
expirationDate
- The expiration date represents the minimum date through which this entitlement is expected to remain
valid. For contractual products listed on AWS Marketplace, the expiration date is the date at which the
customer will renew or cancel their contract. Customers who are opting to renew their contract will still
have entitlements with an expiration date.public Date getExpirationDate()
The expiration date represents the minimum date through which this entitlement is expected to remain valid. For contractual products listed on AWS Marketplace, the expiration date is the date at which the customer will renew or cancel their contract. Customers who are opting to renew their contract will still have entitlements with an expiration date.
public Entitlement withExpirationDate(Date expirationDate)
The expiration date represents the minimum date through which this entitlement is expected to remain valid. For contractual products listed on AWS Marketplace, the expiration date is the date at which the customer will renew or cancel their contract. Customers who are opting to renew their contract will still have entitlements with an expiration date.
expirationDate
- The expiration date represents the minimum date through which this entitlement is expected to remain
valid. For contractual products listed on AWS Marketplace, the expiration date is the date at which the
customer will renew or cancel their contract. Customers who are opting to renew their contract will still
have entitlements with an expiration date.public String toString()
toString
in class Object
Object.toString()
public Entitlement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.