/**
* 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;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.Resource;
/**
* A top level domain object.
*/
@JsonFlatten
public class TopLevelDomainInner extends Resource {
/**
* Name of the top level domain.
*/
@JsonProperty(value = "properties.name", access = JsonProperty.Access.WRITE_ONLY)
private String domainName;
/**
* If <code>true</code>, then the top level domain supports
* domain privacy; otherwise, <code>false</code>.
*/
@JsonProperty(value = "properties.privacy")
private Boolean privacy;
/**
* Get the domainName value.
*
* @return the domainName value
*/
public String domainName() {
return this.domainName;
}
/**
* Get the privacy value.
*
* @return the privacy value
*/
public Boolean privacy() {
return this.privacy;
}
/**
* Set the privacy value.
*
* @param privacy the privacy value to set
* @return the TopLevelDomainInner object itself.
*/
public TopLevelDomainInner withPrivacy(Boolean privacy) {
this.privacy = privacy;
return this;
}
}