public class DnsRecord extends AbstractModel
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 The CNAME address.
|
String |
getContent()
Get The record value.
|
String |
getCreatedOn()
Get The creation time.
|
String |
getDnsRecordId()
Get The record ID.
|
String |
getDnsRecordName()
Get The record name.
|
String |
getDnsRecordType()
Get The DNS record type.
|
String[] |
getDomainStatus()
Get The service used by the domain name.
|
Boolean |
getLocked()
Get The lock status of the domain name.
|
String |
getMode()
Get The proxy mode.
|
String |
getModifiedOn()
Get The modification time.
|
Long |
getPriority()
Get The MX record priority.
|
String |
getStatus()
Get The DNS record status.
|
Long |
getTTL()
Get TTL (in seconds).
|
String |
getZoneId()
Get The site ID.
|
String |
getZoneName()
Get The site name.
|
void |
setCname(String Cname)
Set The CNAME address.
|
void |
setContent(String Content)
Set The record value.
|
void |
setCreatedOn(String CreatedOn)
Set The creation time.
|
void |
setDnsRecordId(String DnsRecordId)
Set The record ID.
|
void |
setDnsRecordName(String DnsRecordName)
Set The record name.
|
void |
setDnsRecordType(String DnsRecordType)
Set The DNS record type.
|
void |
setDomainStatus(String[] DomainStatus)
Set The service used by the domain name.
|
void |
setLocked(Boolean Locked)
Set The lock status of the domain name.
|
void |
setMode(String Mode)
Set The proxy mode.
|
void |
setModifiedOn(String ModifiedOn)
Set The modification time.
|
void |
setPriority(Long Priority)
Set The MX record priority.
|
void |
setStatus(String Status)
Set The DNS record status.
|
void |
setTTL(Long TTL)
Set TTL (in seconds).
|
void |
setZoneId(String ZoneId)
Set The site ID.
|
void |
setZoneName(String ZoneName)
Set The site name.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public DnsRecord()
public DnsRecord(DnsRecord source)
public String getDnsRecordId()
public void setDnsRecordId(String DnsRecordId)
DnsRecordId
- The record ID.public String getDnsRecordType()
public void setDnsRecordType(String DnsRecordType)
DnsRecordType
- The DNS record type. Values:
public String getDnsRecordName()
public void setDnsRecordName(String DnsRecordName)
DnsRecordName
- The record name.public String getContent()
public void setContent(String Content)
Content
- The record value.public String getMode()
public void setMode(String Mode)
Mode
- The proxy mode. Values:
public Long getTTL()
public void setTTL(Long TTL)
TTL
- TTL (in seconds). The smaller the value, the faster the record changes take effect.public Long getPriority()
public void setPriority(Long Priority)
Priority
- The MX record priority. The smaller the value, the higher the priority.public String getCreatedOn()
public void setCreatedOn(String CreatedOn)
CreatedOn
- The creation time.public String getModifiedOn()
public void setModifiedOn(String ModifiedOn)
ModifiedOn
- The modification time.public Boolean getLocked()
public void setLocked(Boolean Locked)
Locked
- The lock status of the domain name.public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- The site ID.public String getZoneName()
public void setZoneName(String ZoneName)
ZoneName
- The site name.public String getStatus()
public void setStatus(String Status)
Status
- The DNS record status. Values:
public String getCname()
public void setCname(String Cname)
Cname
- The CNAME address.
Note: This field may return null, indicating that no valid values can be obtained.public String[] getDomainStatus()
public void setDomainStatus(String[] DomainStatus)
DomainStatus
- The service used by the domain name. Values:
Copyright © 2022. All rights reserved.