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; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.management.appservice.ProxyOnlyResource;
A top level domain object.
/** * A top level domain object. */
@JsonFlatten public class TopLevelDomainInner extends ProxyOnlyResource {
If <code>true</code>, then the top level domain supports domain privacy; otherwise, <code>false</code>.
/** * If &lt;code&gt;true&lt;/code&gt;, then the top level domain supports * domain privacy; otherwise, &lt;code&gt;false&lt;/code&gt;. */
@JsonProperty(value = "properties.privacy") private Boolean privacy;
Get if <code>true</code>, then the top level domain supports domain privacy; otherwise, <code>false</code>.
Returns:the privacy value
/** * Get if &lt;code&gt;true&lt;/code&gt;, then the top level domain supports domain privacy; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @return the privacy value */
public Boolean privacy() { return this.privacy; }
Set if <code>true</code>, then the top level domain supports domain privacy; otherwise, <code>false</code>.
Params:
  • privacy – the privacy value to set
Returns:the TopLevelDomainInner object itself.
/** * Set if &lt;code&gt;true&lt;/code&gt;, then the top level domain supports domain privacy; otherwise, &lt;code&gt;false&lt;/code&gt;. * * @param privacy the privacy value to set * @return the TopLevelDomainInner object itself. */
public TopLevelDomainInner withPrivacy(Boolean privacy) { this.privacy = privacy; return this; } }