Class OfferDetail


  • public final class OfferDetail
    extends Object
    Confluent Offer detail.
    • Constructor Detail

      • OfferDetail

        public OfferDetail()
    • Method Detail

      • publisherId

        public String publisherId()
        Get the publisherId property: Publisher Id.
        Returns:
        the publisherId value.
      • withPublisherId

        public OfferDetail withPublisherId​(String publisherId)
        Set the publisherId property: Publisher Id.
        Parameters:
        publisherId - the publisherId value to set.
        Returns:
        the OfferDetail object itself.
      • id

        public String id()
        Get the id property: Offer Id.
        Returns:
        the id value.
      • withId

        public OfferDetail withId​(String id)
        Set the id property: Offer Id.
        Parameters:
        id - the id value to set.
        Returns:
        the OfferDetail object itself.
      • planId

        public String planId()
        Get the planId property: Offer Plan Id.
        Returns:
        the planId value.
      • withPlanId

        public OfferDetail withPlanId​(String planId)
        Set the planId property: Offer Plan Id.
        Parameters:
        planId - the planId value to set.
        Returns:
        the OfferDetail object itself.
      • planName

        public String planName()
        Get the planName property: Offer Plan Name.
        Returns:
        the planName value.
      • withPlanName

        public OfferDetail withPlanName​(String planName)
        Set the planName property: Offer Plan Name.
        Parameters:
        planName - the planName value to set.
        Returns:
        the OfferDetail object itself.
      • termUnit

        public String termUnit()
        Get the termUnit property: Offer Plan Term unit.
        Returns:
        the termUnit value.
      • withTermUnit

        public OfferDetail withTermUnit​(String termUnit)
        Set the termUnit property: Offer Plan Term unit.
        Parameters:
        termUnit - the termUnit value to set.
        Returns:
        the OfferDetail object itself.
      • status

        public SaaSOfferStatus status()
        Get the status property: SaaSOfferStatus SaaS Offer Status.
        Returns:
        the status value.
      • withStatus

        public OfferDetail withStatus​(SaaSOfferStatus status)
        Set the status property: SaaSOfferStatus SaaS Offer Status.
        Parameters:
        status - the status value to set.
        Returns:
        the OfferDetail object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.