public class DnsRecord extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
DnsRecord()  | 
DnsRecord(DnsRecord source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getCname()
Get CNAME address
Note: This field may return `null`, indicating that no valid value can be obtained. 
 | 
String | 
getContent()
Get Record value 
 | 
String | 
getCreatedOn()
Get Creation time 
 | 
String[] | 
getDomainStatus()
Get Which service is enabled for the domain name. 
 | 
String | 
getId()
Get Record ID 
 | 
Boolean | 
getLocked()
Get Domain name lock 
 | 
String | 
getMode()
Get Proxy mode 
 | 
String | 
getModifiedOn()
Get Modification time 
 | 
String | 
getName()
Get Host record 
 | 
Long | 
getPriority()
Get Priority
Note: This field may return `null`, indicating that no valid value can be obtained. 
 | 
String | 
getStatus()
Get Resolution status
`active`: Activated
`pending`: Not activated 
 | 
Long | 
getTtl()
Get TTL value 
 | 
String | 
getType()
Get Record type 
 | 
String | 
getZoneId()
Get Site ID 
 | 
String | 
getZoneName()
Get Site name 
 | 
void | 
setCname(String Cname)
Set CNAME address
Note: This field may return `null`, indicating that no valid value can be obtained. 
 | 
void | 
setContent(String Content)
Set Record value 
 | 
void | 
setCreatedOn(String CreatedOn)
Set Creation time 
 | 
void | 
setDomainStatus(String[] DomainStatus)
Set Which service is enabled for the domain name. 
 | 
void | 
setId(String Id)
Set Record ID 
 | 
void | 
setLocked(Boolean Locked)
Set Domain name lock 
 | 
void | 
setMode(String Mode)
Set Proxy mode 
 | 
void | 
setModifiedOn(String ModifiedOn)
Set Modification time 
 | 
void | 
setName(String Name)
Set Host record 
 | 
void | 
setPriority(Long Priority)
Set Priority
Note: This field may return `null`, indicating that no valid value can be obtained. 
 | 
void | 
setStatus(String Status)
Set Resolution status
`active`: Activated
`pending`: Not activated 
 | 
void | 
setTtl(Long Ttl)
Set TTL value 
 | 
void | 
setType(String Type)
Set Record type 
 | 
void | 
setZoneId(String ZoneId)
Set Site ID 
 | 
void | 
setZoneName(String ZoneName)
Set Site name 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DnsRecord()
public DnsRecord(DnsRecord source)
public String getId()
public void setId(String Id)
Id - Record IDpublic String getType()
public void setType(String Type)
Type - Record typepublic String getName()
public void setName(String Name)
Name - Host recordpublic String getContent()
public void setContent(String Content)
Content - Record valuepublic String getMode()
public void setMode(String Mode)
Mode - Proxy modepublic Long getTtl()
public void setTtl(Long Ttl)
Ttl - TTL valuepublic Long getPriority()
public void setPriority(Long Priority)
Priority - Priority
Note: This field may return `null`, indicating that no valid value can be obtained.public String getCreatedOn()
public void setCreatedOn(String CreatedOn)
CreatedOn - Creation timepublic String getModifiedOn()
public void setModifiedOn(String ModifiedOn)
ModifiedOn - Modification timepublic Boolean getLocked()
public void setLocked(Boolean Locked)
Locked - Domain name lockpublic String getZoneId()
public void setZoneId(String ZoneId)
ZoneId - Site IDpublic String getZoneName()
public void setZoneName(String ZoneName)
ZoneName - Site namepublic String getStatus()
public void setStatus(String Status)
Status - Resolution status
`active`: Activated
`pending`: Not activatedpublic String getCname()
public void setCname(String Cname)
Cname - CNAME address
Note: This field may return `null`, indicating that no valid value can be obtained.public String[] getDomainStatus()
public void setDomainStatus(String[] DomainStatus)
DomainStatus - Which service is enabled for the domain name.
- `lb`: Load balancing
- `security`: Security acceleration
- `l4`: L4 proxy
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.