Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.appservice.implementation; import com.fasterxml.jackson.annotation.JsonProperty;
Legal agreement for a top level domain.
/** * Legal agreement for a top level domain. */
public class TldLegalAgreementInner {
Unique identifier for the agreement.
/** * Unique identifier for the agreement. */
@JsonProperty(value = "agreementKey", required = true) private String agreementKey;
Agreement title.
/** * Agreement title. */
@JsonProperty(value = "title", required = true) private String title;
Agreement details.
/** * Agreement details. */
@JsonProperty(value = "content", required = true) private String content;
URL where a copy of the agreement details is hosted.
/** * URL where a copy of the agreement details is hosted. */
@JsonProperty(value = "url") private String url;
Get unique identifier for the agreement.
Returns:the agreementKey value
/** * Get unique identifier for the agreement. * * @return the agreementKey value */
public String agreementKey() { return this.agreementKey; }
Set unique identifier for the agreement.
Params:
  • agreementKey – the agreementKey value to set
Returns:the TldLegalAgreementInner object itself.
/** * Set unique identifier for the agreement. * * @param agreementKey the agreementKey value to set * @return the TldLegalAgreementInner object itself. */
public TldLegalAgreementInner withAgreementKey(String agreementKey) { this.agreementKey = agreementKey; return this; }
Get agreement title.
Returns:the title value
/** * Get agreement title. * * @return the title value */
public String title() { return this.title; }
Set agreement title.
Params:
  • title – the title value to set
Returns:the TldLegalAgreementInner object itself.
/** * Set agreement title. * * @param title the title value to set * @return the TldLegalAgreementInner object itself. */
public TldLegalAgreementInner withTitle(String title) { this.title = title; return this; }
Get agreement details.
Returns:the content value
/** * Get agreement details. * * @return the content value */
public String content() { return this.content; }
Set agreement details.
Params:
  • content – the content value to set
Returns:the TldLegalAgreementInner object itself.
/** * Set agreement details. * * @param content the content value to set * @return the TldLegalAgreementInner object itself. */
public TldLegalAgreementInner withContent(String content) { this.content = content; return this; }
Get uRL where a copy of the agreement details is hosted.
Returns:the url value
/** * Get uRL where a copy of the agreement details is hosted. * * @return the url value */
public String url() { return this.url; }
Set uRL where a copy of the agreement details is hosted.
Params:
  • url – the url value to set
Returns:the TldLegalAgreementInner object itself.
/** * Set uRL where a copy of the agreement details is hosted. * * @param url the url value to set * @return the TldLegalAgreementInner object itself. */
public TldLegalAgreementInner withUrl(String url) { this.url = url; return this; } }