Class DatadogAgreementProperties
java.lang.Object
com.azure.resourcemanager.datadog.models.DatadogAgreementProperties
Terms properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of DatadogAgreementProperties class. -
Method Summary
Modifier and TypeMethodDescriptionaccepted()
Get the accepted property: If any version of the terms have been accepted, otherwise false.Get the licenseTextLink property: Link to HTML with Microsoft and Publisher terms.plan()
Get the plan property: Plan identifier string.Get the privacyPolicyLink property: Link to the privacy policy of the publisher.product()
Get the product property: Product identifier string.Get the publisher property: Publisher identifier string.Get the retrieveDatetime property: Date and time in UTC of when the terms were accepted.Get the signature property: Terms signature.void
validate()
Validates the instance.withAccepted
(Boolean accepted) Set the accepted property: If any version of the terms have been accepted, otherwise false.withLicenseTextLink
(String licenseTextLink) Set the licenseTextLink property: Link to HTML with Microsoft and Publisher terms.Set the plan property: Plan identifier string.withPrivacyPolicyLink
(String privacyPolicyLink) Set the privacyPolicyLink property: Link to the privacy policy of the publisher.withProduct
(String product) Set the product property: Product identifier string.withPublisher
(String publisher) Set the publisher property: Publisher identifier string.withRetrieveDatetime
(OffsetDateTime retrieveDatetime) Set the retrieveDatetime property: Date and time in UTC of when the terms were accepted.withSignature
(String signature) Set the signature property: Terms signature.
-
Constructor Details
-
DatadogAgreementProperties
public DatadogAgreementProperties()Creates an instance of DatadogAgreementProperties class.
-
-
Method Details
-
publisher
Get the publisher property: Publisher identifier string.- Returns:
- the publisher value.
-
withPublisher
Set the publisher property: Publisher identifier string.- Parameters:
publisher
- the publisher value to set.- Returns:
- the DatadogAgreementProperties object itself.
-
product
Get the product property: Product identifier string.- Returns:
- the product value.
-
withProduct
Set the product property: Product identifier string.- Parameters:
product
- the product value to set.- Returns:
- the DatadogAgreementProperties object itself.
-
plan
Get the plan property: Plan identifier string.- Returns:
- the plan value.
-
withPlan
Set the plan property: Plan identifier string.- Parameters:
plan
- the plan value to set.- Returns:
- the DatadogAgreementProperties object itself.
-
licenseTextLink
Get the licenseTextLink property: Link to HTML with Microsoft and Publisher terms.- Returns:
- the licenseTextLink value.
-
withLicenseTextLink
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
Get the privacyPolicyLink property: Link to the privacy policy of the publisher.- Returns:
- the privacyPolicyLink value.
-
withPrivacyPolicyLink
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
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
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
Get the signature property: Terms signature.- Returns:
- the signature value.
-
withSignature
Set the signature property: Terms signature.- Parameters:
signature
- the signature value to set.- Returns:
- the DatadogAgreementProperties object itself.
-
accepted
Get the accepted property: If any version of the terms have been accepted, otherwise false.- Returns:
- the accepted value.
-
withAccepted
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.
-