TldLegalAgreementInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.TldLegalAgreementInner

Implements

public final class TldLegalAgreementInner
implements JsonSerializable<TldLegalAgreementInner>

Legal agreement for a top level domain.

Constructor Summary

Constructor Description
TldLegalAgreementInner()

Creates an instance of TldLegalAgreementInner class.

Method Summary

Modifier and Type Method and Description
String agreementKey()

Get the agreementKey property: Unique identifier for the agreement.

String content()

Get the content property: Agreement details.

static TldLegalAgreementInner fromJson(JsonReader jsonReader)

Reads an instance of TldLegalAgreementInner from the JsonReader.

String title()

Get the title property: Agreement title.

JsonWriter toJson(JsonWriter jsonWriter)
String url()

Get the url property: URL where a copy of the agreement details is hosted.

void validate()

Validates the instance.

TldLegalAgreementInner withAgreementKey(String agreementKey)

Set the agreementKey property: Unique identifier for the agreement.

TldLegalAgreementInner withContent(String content)

Set the content property: Agreement details.

TldLegalAgreementInner withTitle(String title)

Set the title property: Agreement title.

TldLegalAgreementInner withUrl(String url)

Set the url property: URL where a copy of the agreement details is hosted.

Methods inherited from java.lang.Object

Constructor Details

TldLegalAgreementInner

public TldLegalAgreementInner()

Creates an instance of TldLegalAgreementInner class.

Method Details

agreementKey

public String agreementKey()

Get the agreementKey property: Unique identifier for the agreement.

Returns:

the agreementKey value.

content

public String content()

Get the content property: Agreement details.

Returns:

the content value.

fromJson

public static TldLegalAgreementInner fromJson(JsonReader jsonReader)

Reads an instance of TldLegalAgreementInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

title

public String title()

Get the title property: Agreement title.

Returns:

the title value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

url

public String url()

Get the url property: URL where a copy of the agreement details is hosted.

Returns:

the url value.

validate

public void validate()

Validates the instance.

withAgreementKey

public TldLegalAgreementInner withAgreementKey(String agreementKey)

Set the agreementKey property: Unique identifier for the agreement.

Parameters:

agreementKey - the agreementKey value to set.

Returns:

the TldLegalAgreementInner object itself.

withContent

public TldLegalAgreementInner withContent(String content)

Set the content property: Agreement details.

Parameters:

content - the content value to set.

Returns:

the TldLegalAgreementInner object itself.

withTitle

public TldLegalAgreementInner withTitle(String title)

Set the title property: Agreement title.

Parameters:

title - the title value to set.

Returns:

the TldLegalAgreementInner object itself.

withUrl

public TldLegalAgreementInner withUrl(String url)

Set the url property: URL where a copy of the agreement details is hosted.

Parameters:

url - the url value to set.

Returns:

the TldLegalAgreementInner object itself.

Applies to