public final class TldLegalAgreementInner extends Object
| Constructor and Description |
|---|
TldLegalAgreementInner() |
| 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.
|
String |
title()
Get the title property: Agreement title.
|
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.
|
public String agreementKey()
public TldLegalAgreementInner withAgreementKey(String agreementKey)
agreementKey - the agreementKey value to set.public String title()
public TldLegalAgreementInner withTitle(String title)
title - the title value to set.public String content()
public TldLegalAgreementInner withContent(String content)
content - the content value to set.public String url()
public TldLegalAgreementInner withUrl(String url)
url - the url value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.