ConfluentAgreementResourceInner Class

  • java.lang.Object
    • com.azure.resourcemanager.confluent.fluent.models.ConfluentAgreementResourceInner

Implements

public final class ConfluentAgreementResourceInner
implements JsonSerializable<ConfluentAgreementResourceInner>

Agreement Terms definition.

Constructor Summary

Constructor Description
ConfluentAgreementResourceInner()

Creates an instance of ConfluentAgreementResourceInner class.

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.

static ConfluentAgreementResourceInner fromJson(JsonReader jsonReader)

Reads an instance of ConfluentAgreementResourceInner from the JsonReader.

String id()

Get the id property: The ARM id of the resource.

String licenseTextLink()

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

String name()

Get the name property: The name of the agreement.

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.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the agreement.

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.

Methods inherited from java.lang.Object

Constructor Details

ConfluentAgreementResourceInner

public ConfluentAgreementResourceInner()

Creates an instance of ConfluentAgreementResourceInner class.

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.

fromJson

public static ConfluentAgreementResourceInner fromJson(JsonReader jsonReader)

Reads an instance of ConfluentAgreementResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ConfluentAgreementResourceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ConfluentAgreementResourceInner.

id

public String id()

Get the id property: The ARM id of the resource.

Returns:

the id value.

licenseTextLink

public String licenseTextLink()

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

Returns:

the licenseTextLink value.

name

public String name()

Get the name property: The name of the agreement.

Returns:

the name value.

plan

public String plan()

Get the plan property: Plan identifier string.

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: Product identifier string.

Returns:

the product value.

publisher

public String publisher()

Get the publisher property: Publisher identifier string.

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: Metadata pertaining to creation and last modification of the resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the agreement.

Returns:

the type 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.

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.

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.

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.

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.

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.

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.

withSignature

public ConfluentAgreementResourceInner withSignature(String signature)

Set the signature property: Terms signature.

Parameters:

signature - the signature value to set.

Returns:

the ConfluentAgreementResourceInner object itself.

Applies to