AgreementTermsInner Class

public final class AgreementTermsInner
extends ProxyResource

Terms properties for provided Publisher/Offer/Plan tuple.

Constructor Summary

Constructor Description
AgreementTermsInner()

Method Summary

Modifier and Type Method and 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 marketplaceTermsLink()

Get the marketplaceTermsLink property: Link to HTML with Azure Marketplace terms.

String plan()

Get the plan property: Plan identifier string of image being deployed.

String privacyPolicyLink()

Get the privacyPolicyLink property: Link to the privacy policy of the publisher.

String product()

Get the product property: Offer identifier string of image being deployed.

String publisher()

Get the publisher property: Publisher identifier string of image being deployed.

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.

SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

void validate()

Validates the instance.

AgreementTermsInner withAccepted(Boolean accepted)

Set the accepted property: If any version of the terms have been accepted, otherwise false.

AgreementTermsInner withLicenseTextLink(String licenseTextLink)

Set the licenseTextLink property: Link to HTML with Microsoft and Publisher terms.

AgreementTermsInner withMarketplaceTermsLink(String marketplaceTermsLink)

Set the marketplaceTermsLink property: Link to HTML with Azure Marketplace terms.

AgreementTermsInner withPlan(String plan)

Set the plan property: Plan identifier string of image being deployed.

AgreementTermsInner withPrivacyPolicyLink(String privacyPolicyLink)

Set the privacyPolicyLink property: Link to the privacy policy of the publisher.

AgreementTermsInner withProduct(String product)

Set the product property: Offer identifier string of image being deployed.

AgreementTermsInner withPublisher(String publisher)

Set the publisher property: Publisher identifier string of image being deployed.

AgreementTermsInner withRetrieveDatetime(OffsetDateTime retrieveDatetime)

Set the retrieveDatetime property: Date and time in UTC of when the terms were accepted.

AgreementTermsInner withSignature(String signature)

Set the signature property: Terms signature.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

AgreementTermsInner

public AgreementTermsInner()

Method Details

accepted

public Boolean accepted()

Get the accepted property: If any version of the terms have been accepted, otherwise false.

Returns:

the accepted value.

licenseTextLink

public String licenseTextLink()

Get the licenseTextLink property: Link to HTML with Microsoft and Publisher terms.

Returns:

the licenseTextLink value.

marketplaceTermsLink

public String marketplaceTermsLink()

Get the marketplaceTermsLink property: Link to HTML with Azure Marketplace terms.

Returns:

the marketplaceTermsLink value.

plan

public String plan()

Get the plan property: Plan identifier string of image being deployed.

Returns:

the plan value.

privacyPolicyLink

public String privacyPolicyLink()

Get the privacyPolicyLink property: Link to the privacy policy of the publisher.

Returns:

the privacyPolicyLink value.

product

public String product()

Get the product property: Offer identifier string of image being deployed.

Returns:

the product value.

publisher

public String publisher()

Get the publisher property: Publisher identifier string of image being deployed.

Returns:

the publisher value.

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.

signature

public String signature()

Get the signature property: Terms signature.

Returns:

the signature value.

systemData

public SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

Returns:

the systemData value.

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

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.

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.

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.

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.

withSignature

public AgreementTermsInner withSignature(String signature)

Set the signature property: Terms signature.

Parameters:

signature - the signature value to set.

Returns:

the AgreementTermsInner object itself.

Applies to