public class CreatePrivateZoneRecordRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
CreatePrivateZoneRecordRequest()  | 
CreatePrivateZoneRecordRequest(CreatePrivateZoneRecordRequest 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 | 
|---|---|
Long | 
getMX()
Get MX priority, which is required when the record type is MX. 
 | 
String | 
getRecordType()
Get Record type. 
 | 
String | 
getRecordValue()
Get Record value, such as IP: 192.168.10.2, CNAME: cname.qcloud.com., and MX: mail.qcloud.com. 
 | 
String | 
getSubDomain()
Get Subdomain, such as "www", "m", and "@" 
 | 
Long | 
getTTL()
Get Record cache time. 
 | 
Long | 
getWeight()
Get Record weight. 
 | 
String | 
getZoneId()
Get Private domain ID 
 | 
void | 
setMX(Long MX)
Set MX priority, which is required when the record type is MX. 
 | 
void | 
setRecordType(String RecordType)
Set Record type. 
 | 
void | 
setRecordValue(String RecordValue)
Set Record value, such as IP: 192.168.10.2, CNAME: cname.qcloud.com., and MX: mail.qcloud.com. 
 | 
void | 
setSubDomain(String SubDomain)
Set Subdomain, such as "www", "m", and "@" 
 | 
void | 
setTTL(Long TTL)
Set Record cache time. 
 | 
void | 
setWeight(Long Weight)
Set Record weight. 
 | 
void | 
setZoneId(String ZoneId)
Set Private domain ID 
 | 
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 CreatePrivateZoneRecordRequest()
public CreatePrivateZoneRecordRequest(CreatePrivateZoneRecordRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId - Private domain IDpublic String getRecordType()
public void setRecordType(String RecordType)
RecordType - Record type. Valid values: "A", "AAAA", "CNAME", "MX", "TXT", "PTR"public String getSubDomain()
public void setSubDomain(String SubDomain)
SubDomain - Subdomain, such as "www", "m", and "@"public String getRecordValue()
public void setRecordValue(String RecordValue)
RecordValue - Record value, such as IP: 192.168.10.2, CNAME: cname.qcloud.com., and MX: mail.qcloud.com.public Long getWeight()
public void setWeight(Long Weight)
Weight - Record weight. Value range: 1–100public Long getMX()
public void setMX(Long MX)
MX - MX priority, which is required when the record type is MX. Valid values: 5, 10, 15, 20, 30, 40, 50public Long getTTL()
public void setTTL(Long TTL)
TTL - Record cache time. The smaller the value, the faster the record will take effect. Value range: 1–86400s. Default value: 600Copyright © 2025. All rights reserved.