Class TldLegalAgreementInner
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.TldLegalAgreementInner
-
public final class TldLegalAgreementInner extends Object
Legal agreement for a top level domain.
-
-
Constructor Summary
Constructors Constructor Description TldLegalAgreementInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringagreementKey()Get the agreementKey property: Unique identifier for the agreement.Stringcontent()Get the content property: Agreement details.Stringtitle()Get the title property: Agreement title.Stringurl()Get the url property: URL where a copy of the agreement details is hosted.voidvalidate()Validates the instance.TldLegalAgreementInnerwithAgreementKey(String agreementKey)Set the agreementKey property: Unique identifier for the agreement.TldLegalAgreementInnerwithContent(String content)Set the content property: Agreement details.TldLegalAgreementInnerwithTitle(String title)Set the title property: Agreement title.TldLegalAgreementInnerwithUrl(String url)Set the url property: URL where a copy of the agreement details is hosted.
-
-
-
Method Detail
-
agreementKey
public String agreementKey()
Get the agreementKey property: Unique identifier for the agreement.- Returns:
- the agreementKey value.
-
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.
-
title
public String title()
Get the title property: Agreement title.- Returns:
- the title value.
-
withTitle
public TldLegalAgreementInner withTitle(String title)
Set the title property: Agreement title.- Parameters:
title- the title value to set.- Returns:
- the TldLegalAgreementInner object itself.
-
content
public String content()
Get the content property: Agreement details.- Returns:
- the content value.
-
withContent
public TldLegalAgreementInner withContent(String content)
Set the content property: Agreement details.- Parameters:
content- the content value to set.- Returns:
- the TldLegalAgreementInner object itself.
-
url
public String url()
Get the url property: URL where a copy of the agreement details is hosted.- Returns:
- the url value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-