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.dns; import com.fasterxml.jackson.annotation.JsonProperty;
A CNAME record.
/** * A CNAME record. */
public class CnameRecord {
The canonical name for this CNAME record.
/** * The canonical name for this CNAME record. */
@JsonProperty(value = "cname") private String cname;
Get the cname value.
Returns:the cname value
/** * Get the cname value. * * @return the cname value */
public String cname() { return this.cname; }
Set the cname value.
Params:
  • cname – the cname value to set
Returns:the CnameRecord object itself.
/** * Set the cname value. * * @param cname the cname value to set * @return the CnameRecord object itself. */
public CnameRecord withCname(String cname) { this.cname = cname; return this; } }