### YamlMime:JavaType uid: "com.microsoft.azure.management.dns.CnameRecord" fullName: "com.microsoft.azure.management.dns.CnameRecord" name: "CnameRecord" nameWithType: "CnameRecord" summary: "A CNAME record." inheritances: - "" inheritedClassMethods: - classRef: "" methodsRef: - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" syntax: "public class **CnameRecord**" constructors: - uid: "com.microsoft.azure.management.dns.CnameRecord.CnameRecord()" fullName: "com.microsoft.azure.management.dns.CnameRecord.CnameRecord()" name: "CnameRecord()" nameWithType: "CnameRecord.CnameRecord()" syntax: "public CnameRecord()" methods: - uid: "com.microsoft.azure.management.dns.CnameRecord.cname()" fullName: "com.microsoft.azure.management.dns.CnameRecord.cname()" name: "cname()" nameWithType: "CnameRecord.cname()" summary: "Get the cname value." syntax: "public String cname()" desc: "Get the cname value." returns: description: "the cname value" type: "" - uid: "com.microsoft.azure.management.dns.CnameRecord.withCname(java.lang.String)" fullName: "com.microsoft.azure.management.dns.CnameRecord.withCname(String cname)" name: "withCname(String cname)" nameWithType: "CnameRecord.withCname(String cname)" summary: "Set the cname value." parameters: - description: "the cname value to set" name: "cname" type: "" syntax: "public CnameRecord withCname(String cname)" desc: "Set the cname value." returns: description: "the CnameRecord object itself." type: "" type: "class" desc: "A CNAME record." metadata: {} package: "com.microsoft.azure.management.dns" artifact: com.microsoft.azure:azure-mgmt-dns:1.41.4