TldLegalAgreementInner Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. fluent. models. TldLegalAgreementInner
- com.
Implements
public final class TldLegalAgreementInner
implements JsonSerializable<TldLegalAgreementInner>
Legal agreement for a top level domain.
Constructor Summary
Constructor | Description |
---|---|
TldLegalAgreementInner() |
Creates an instance of Tld |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
agreementKey()
Get the agreement |
String |
content()
Get the content property: Agreement details. |
static
Tld |
fromJson(JsonReader jsonReader)
Reads an instance of Tld |
String |
title()
Get the title property: Agreement title. |
Json |
toJson(JsonWriter jsonWriter) |
String |
url()
Get the url property: URL where a copy of the agreement details is hosted. |
void |
validate()
Validates the instance. |
Tld |
withAgreementKey(String agreementKey)
Set the agreement |
Tld |
withContent(String content)
Set the content property: Agreement details. |
Tld |
withTitle(String title)
Set the title property: Agreement title. |
Tld |
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:
content
public String content()
Get the content property: Agreement details.
Returns:
fromJson
public static TldLegalAgreementInner fromJson(JsonReader jsonReader)
Reads an instance of TldLegalAgreementInner from the JsonReader.
Parameters:
Returns:
Throws:
title
public String title()
Get the title property: Agreement title.
Returns:
toJson
url
public String url()
Get the url property: URL where a copy of the agreement details is hosted.
Returns:
validate
public void validate()
Validates the instance.
withAgreementKey
public TldLegalAgreementInner withAgreementKey(String agreementKey)
Set the agreementKey property: Unique identifier for the agreement.
Parameters:
Returns:
withContent
public TldLegalAgreementInner withContent(String content)
Set the content property: Agreement details.
Parameters:
Returns:
withTitle
public TldLegalAgreementInner withTitle(String title)
Set the title property: Agreement title.
Parameters:
Returns:
withUrl
public TldLegalAgreementInner withUrl(String url)
Set the url property: URL where a copy of the agreement details is hosted.
Parameters:
Returns:
Applies to
Azure SDK for Java