Class DatadogAgreementProperties

java.lang.Object
com.azure.resourcemanager.datadog.models.DatadogAgreementProperties

public final class DatadogAgreementProperties extends Object
Terms properties.
  • Constructor Details

    • DatadogAgreementProperties

      public DatadogAgreementProperties()
      Creates an instance of DatadogAgreementProperties class.
  • Method Details

    • publisher

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

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

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

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

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

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

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

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

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

      public DatadogAgreementProperties withPrivacyPolicyLink(String privacyPolicyLink)
      Set the privacyPolicyLink property: Link to the privacy policy of the publisher.
      Parameters:
      privacyPolicyLink - the privacyPolicyLink value to set.
      Returns:
      the DatadogAgreementProperties 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 DatadogAgreementProperties 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 DatadogAgreementProperties object itself.
    • signature

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

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

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