public final class CnameRecord extends Object
| Constructor and Description |
|---|
CnameRecord() |
| Modifier and Type | Method and Description |
|---|---|
String |
cname()
Get the cname property: The canonical name for this CNAME record.
|
void |
validate()
Validates the instance.
|
CnameRecord |
withCname(String cname)
Set the cname property: The canonical name for this CNAME record.
|
public String cname()
public CnameRecord withCname(String cname)
cname - the cname value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.