Class AgreementTermsInner


  • public final class AgreementTermsInner
    extends com.azure.core.management.ProxyResource
    Terms properties for provided Publisher/Offer/Plan tuple.
    • Constructor Detail

      • AgreementTermsInner

        public AgreementTermsInner()
    • Method Detail

      • systemData

        public com.azure.core.management.SystemData systemData()
        Get the systemData property: The system meta data relating to this resource.
        Returns:
        the systemData value.
      • publisher

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

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

        public String product()
        Get the product property: Offer identifier string of image being deployed.
        Returns:
        the product value.
      • withProduct

        public AgreementTermsInner withProduct​(String product)
        Set the product property: Offer identifier string of image being deployed.
        Parameters:
        product - the product value to set.
        Returns:
        the AgreementTermsInner object itself.
      • plan

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

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

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

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

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

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

        public String marketplaceTermsLink()
        Get the marketplaceTermsLink property: Link to HTML with Azure Marketplace terms.
        Returns:
        the marketplaceTermsLink value.
      • withMarketplaceTermsLink

        public AgreementTermsInner withMarketplaceTermsLink​(String marketplaceTermsLink)
        Set the marketplaceTermsLink property: Link to HTML with Azure Marketplace terms.
        Parameters:
        marketplaceTermsLink - the marketplaceTermsLink value to set.
        Returns:
        the AgreementTermsInner 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 AgreementTermsInner 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 AgreementTermsInner object itself.
      • signature

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

        public AgreementTermsInner withSignature​(String signature)
        Set the signature property: Terms signature.
        Parameters:
        signature - the signature value to set.
        Returns:
        the AgreementTermsInner 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 AgreementTermsInner 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 AgreementTermsInner object itself.
      • validate

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