public class ModifyPrivateZoneRecordRequest extends AbstractModel
Constructor and Description |
---|
ModifyPrivateZoneRecordRequest() |
ModifyPrivateZoneRecordRequest(ModifyPrivateZoneRecordRequest 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 |
getRecordId()
Get Record ID
|
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 |
setRecordId(String RecordId)
Set Record ID
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ModifyPrivateZoneRecordRequest()
public ModifyPrivateZoneRecordRequest(ModifyPrivateZoneRecordRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- Private domain IDpublic String getRecordId()
public void setRecordId(String RecordId)
RecordId
- Record 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 © 2023. All rights reserved.