public class PrivateZoneRecord extends AbstractModel
header, skipSign| Constructor and Description |
|---|
PrivateZoneRecord() |
PrivateZoneRecord(PrivateZoneRecord 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 |
getCreatedOn()
Get Record creation time
|
String |
getExtra()
Get Additional information
Note: this field may return null, indicating that no valid values can be obtained.
|
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
|
String |
getStatus()
Get Record status: ENABLED
|
String |
getSubDomain()
Get Subdomain
|
Long |
getTTL()
Get Record cache time.
|
String |
getUpdatedOn()
Get Record update time
|
Long |
getWeight()
Get Record weight.
|
String |
getZoneId()
Get Private domain ID: zone-xxxxxxxx
|
void |
setCreatedOn(String CreatedOn)
Set Record creation time
|
void |
setExtra(String Extra)
Set Additional information
Note: this field may return null, indicating that no valid values can be obtained.
|
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
|
void |
setStatus(String Status)
Set Record status: ENABLED
|
void |
setSubDomain(String SubDomain)
Set Subdomain
|
void |
setTTL(Long TTL)
Set Record cache time.
|
void |
setUpdatedOn(String UpdatedOn)
Set Record update time
|
void |
setWeight(Long Weight)
Set Record weight.
|
void |
setZoneId(String ZoneId)
Set Private domain ID: zone-xxxxxxxx
|
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 PrivateZoneRecord()
public PrivateZoneRecord(PrivateZoneRecord source)
public String getRecordId()
public void setRecordId(String RecordId)
RecordId - Record IDpublic String getZoneId()
public void setZoneId(String ZoneId)
ZoneId - Private domain ID: zone-xxxxxxxxpublic String getSubDomain()
public void setSubDomain(String SubDomain)
SubDomain - Subdomainpublic String getRecordType()
public void setRecordType(String RecordType)
RecordType - Record type. Valid values: "A", "AAAA", "CNAME", "MX", "TXT", "PTR"public String getRecordValue()
public void setRecordValue(String RecordValue)
RecordValue - Record valuepublic 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: 600public 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, 50
Note: this field may return null, indicating that no valid values can be obtained.public String getStatus()
public void setStatus(String Status)
Status - Record status: ENABLEDpublic Long getWeight()
public void setWeight(Long Weight)
Weight - Record weight. Value range: 1–100
Note: this field may return null, indicating that no valid values can be obtained.public String getCreatedOn()
public void setCreatedOn(String CreatedOn)
CreatedOn - Record creation timepublic String getUpdatedOn()
public void setUpdatedOn(String UpdatedOn)
UpdatedOn - Record update timepublic String getExtra()
public void setExtra(String Extra)
Extra - Additional information
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.