Class ConfluentAgreementResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.confluent.fluent.models.ConfluentAgreementResourceInner
-
public final class ConfluentAgreementResourceInner extends com.azure.core.management.ProxyResource
Agreement Terms definition.
-
-
Constructor Summary
Constructors Constructor Description ConfluentAgreementResourceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
accepted()
Get the accepted property: If any version of the terms have been accepted, otherwise false.String
licenseTextLink()
Get the licenseTextLink property: Link to HTML with Microsoft and Publisher terms.String
plan()
Get the plan property: Plan identifier string.String
privacyPolicyLink()
Get the privacyPolicyLink property: Link to the privacy policy of the publisher.String
product()
Get the product property: Product identifier string.String
publisher()
Get the publisher property: Publisher identifier string.OffsetDateTime
retrieveDatetime()
Get the retrieveDatetime property: Date and time in UTC of when the terms were accepted.String
signature()
Get the signature property: Terms signature.com.azure.core.management.SystemData
systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.ConfluentAgreementResourceInner
withAccepted(Boolean accepted)
Set the accepted property: If any version of the terms have been accepted, otherwise false.ConfluentAgreementResourceInner
withLicenseTextLink(String licenseTextLink)
Set the licenseTextLink property: Link to HTML with Microsoft and Publisher terms.ConfluentAgreementResourceInner
withPlan(String plan)
Set the plan property: Plan identifier string.ConfluentAgreementResourceInner
withPrivacyPolicyLink(String privacyPolicyLink)
Set the privacyPolicyLink property: Link to the privacy policy of the publisher.ConfluentAgreementResourceInner
withProduct(String product)
Set the product property: Product identifier string.ConfluentAgreementResourceInner
withPublisher(String publisher)
Set the publisher property: Publisher identifier string.ConfluentAgreementResourceInner
withRetrieveDatetime(OffsetDateTime retrieveDatetime)
Set the retrieveDatetime property: Date and time in UTC of when the terms were accepted.ConfluentAgreementResourceInner
withSignature(String signature)
Set the signature property: Terms signature.
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
publisher
public String publisher()
Get the publisher property: Publisher identifier string.- Returns:
- the publisher value.
-
withPublisher
public ConfluentAgreementResourceInner withPublisher(String publisher)
Set the publisher property: Publisher identifier string.- Parameters:
publisher
- the publisher value to set.- Returns:
- the ConfluentAgreementResourceInner object itself.
-
product
public String product()
Get the product property: Product identifier string.- Returns:
- the product value.
-
withProduct
public ConfluentAgreementResourceInner withProduct(String product)
Set the product property: Product identifier string.- Parameters:
product
- the product value to set.- Returns:
- the ConfluentAgreementResourceInner object itself.
-
plan
public String plan()
Get the plan property: Plan identifier string.- Returns:
- the plan value.
-
withPlan
public ConfluentAgreementResourceInner withPlan(String plan)
Set the plan property: Plan identifier string.- Parameters:
plan
- the plan value to set.- Returns:
- the ConfluentAgreementResourceInner object itself.
-
licenseTextLink
public String licenseTextLink()
Get the licenseTextLink property: Link to HTML with Microsoft and Publisher terms.- Returns:
- the licenseTextLink value.
-
withLicenseTextLink
public ConfluentAgreementResourceInner withLicenseTextLink(String licenseTextLink)
Set the licenseTextLink property: Link to HTML with Microsoft and Publisher terms.- Parameters:
licenseTextLink
- the licenseTextLink value to set.- Returns:
- the ConfluentAgreementResourceInner object itself.
-
privacyPolicyLink
public String privacyPolicyLink()
Get the privacyPolicyLink property: Link to the privacy policy of the publisher.- Returns:
- the privacyPolicyLink value.
-
withPrivacyPolicyLink
public ConfluentAgreementResourceInner withPrivacyPolicyLink(String privacyPolicyLink)
Set the privacyPolicyLink property: Link to the privacy policy of the publisher.- Parameters:
privacyPolicyLink
- the privacyPolicyLink value to set.- Returns:
- the ConfluentAgreementResourceInner 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 ConfluentAgreementResourceInner 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 ConfluentAgreementResourceInner object itself.
-
signature
public String signature()
Get the signature property: Terms signature.- Returns:
- the signature value.
-
withSignature
public ConfluentAgreementResourceInner withSignature(String signature)
Set the signature property: Terms signature.- Parameters:
signature
- the signature value to set.- Returns:
- the ConfluentAgreementResourceInner 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 ConfluentAgreementResourceInner 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 ConfluentAgreementResourceInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-