Class ConfluentAgreementProperties


  • public final class ConfluentAgreementProperties
    extends Object
    Terms properties for Marketplace and Confluent.
    • Constructor Detail

      • ConfluentAgreementProperties

        public ConfluentAgreementProperties()
    • Method Detail

      • publisher

        public String publisher()
        Get the publisher property: Publisher identifier string.
        Returns:
        the publisher value.
      • withPublisher

        public ConfluentAgreementProperties withPublisher​(String publisher)
        Set the publisher property: Publisher identifier string.
        Parameters:
        publisher - the publisher value to set.
        Returns:
        the ConfluentAgreementProperties object itself.
      • product

        public String product()
        Get the product property: Product identifier string.
        Returns:
        the product value.
      • withProduct

        public ConfluentAgreementProperties withProduct​(String product)
        Set the product property: Product identifier string.
        Parameters:
        product - the product value to set.
        Returns:
        the ConfluentAgreementProperties object itself.
      • plan

        public String plan()
        Get the plan property: Plan identifier string.
        Returns:
        the plan value.
      • withPlan

        public ConfluentAgreementProperties withPlan​(String plan)
        Set the plan property: Plan identifier string.
        Parameters:
        plan - the plan value to set.
        Returns:
        the ConfluentAgreementProperties object itself.
      • licenseTextLink

        public String licenseTextLink()
        Get the licenseTextLink property: Link to HTML with Microsoft and Publisher terms.
        Returns:
        the licenseTextLink value.
      • withLicenseTextLink

        public ConfluentAgreementProperties withLicenseTextLink​(String licenseTextLink)
        Set the licenseTextLink property: Link to HTML with Microsoft and Publisher terms.
        Parameters:
        licenseTextLink - the licenseTextLink value to set.
        Returns:
        the ConfluentAgreementProperties object itself.
      • privacyPolicyLink

        public String privacyPolicyLink()
        Get the privacyPolicyLink property: Link to the privacy policy of the publisher.
        Returns:
        the privacyPolicyLink value.
      • withPrivacyPolicyLink

        public ConfluentAgreementProperties withPrivacyPolicyLink​(String privacyPolicyLink)
        Set the privacyPolicyLink property: Link to the privacy policy of the publisher.
        Parameters:
        privacyPolicyLink - the privacyPolicyLink value to set.
        Returns:
        the ConfluentAgreementProperties object itself.
      • retrieveDatetime

        public OffsetDateTime retrieveDatetime()
        Get the retrieveDatetime property: Date and time in UTC of when the terms were accepted. This is empty if Accepted is false.
        Returns:
        the retrieveDatetime value.
      • withRetrieveDatetime

        public ConfluentAgreementProperties withRetrieveDatetime​(OffsetDateTime retrieveDatetime)
        Set the retrieveDatetime property: Date and time in UTC of when the terms were accepted. This is empty if Accepted is false.
        Parameters:
        retrieveDatetime - the retrieveDatetime value to set.
        Returns:
        the ConfluentAgreementProperties object itself.
      • signature

        public String signature()
        Get the signature property: Terms signature.
        Returns:
        the signature value.
      • withSignature

        public ConfluentAgreementProperties withSignature​(String signature)
        Set the signature property: Terms signature.
        Parameters:
        signature - the signature value to set.
        Returns:
        the ConfluentAgreementProperties object itself.
      • accepted

        public Boolean accepted()
        Get the accepted property: If any version of the terms have been accepted, otherwise false.
        Returns:
        the accepted value.
      • withAccepted

        public ConfluentAgreementProperties withAccepted​(Boolean accepted)
        Set the accepted property: If any version of the terms have been accepted, otherwise false.
        Parameters:
        accepted - the accepted value to set.
        Returns:
        the ConfluentAgreementProperties object itself.
      • validate

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