Interface Entitlement.Builder

    • Method Detail

      • productCode

        Entitlement.Builder productCode​(String productCode)

        The product code for which the given entitlement applies. Product codes are provided by AWS Marketplace when the product listing is created.

        Parameters:
        productCode - The product code for which the given entitlement applies. Product codes are provided by AWS Marketplace when the product listing is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dimension

        Entitlement.Builder dimension​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customerIdentifier

        Entitlement.Builder customerIdentifier​(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        Entitlement.Builder value​(EntitlementValue value)

        The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.

        Parameters:
        value - The EntitlementValue represents the amount of capacity that the customer is entitled to for the product.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • expirationDate

        Entitlement.Builder expirationDate​(Instant 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.