public class ModifyRecordRequest extends AbstractModel
Constructor and Description |
---|
ModifyRecordRequest() |
ModifyRecordRequest(ModifyRecordRequest 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 |
getDomain()
Get Domain
|
Long |
getDomainId()
Get The domain ID.
|
Long |
getMX()
Get MX priority, which is required for an MX record and will take effect if the record type is MX.
|
Long |
getRecordId()
Get The record ID.
|
String |
getRecordLine()
Get Record split zone, which is obtained through the record split zone API.
|
String |
getRecordLineId()
Get Split zone ID, which is obtained through the record split zone API.
|
String |
getRecordType()
Get Record type, which is obtained through the record type API.
|
String |
getStatus()
Get Initial status of the record.
|
String |
getSubDomain()
Get Host record such as `www`.
|
Long |
getTTL()
Get TTL.
|
String |
getValue()
Get Record value, such as `IP : 200.200.200.200`, `CNAME : cname.dnspod.com`, and `MX : mail.dnspod.com`.
|
Long |
getWeight()
Get Weight information, which is an integer between 0 and 100.
|
void |
setDomain(String Domain)
Set Domain
|
void |
setDomainId(Long DomainId)
Set The domain ID.
|
void |
setMX(Long MX)
Set MX priority, which is required for an MX record and will take effect if the record type is MX.
|
void |
setRecordId(Long RecordId)
Set The record ID.
|
void |
setRecordLine(String RecordLine)
Set Record split zone, which is obtained through the record split zone API.
|
void |
setRecordLineId(String RecordLineId)
Set Split zone ID, which is obtained through the record split zone API.
|
void |
setRecordType(String RecordType)
Set Record type, which is obtained through the record type API.
|
void |
setStatus(String Status)
Set Initial status of the record.
|
void |
setSubDomain(String SubDomain)
Set Host record such as `www`.
|
void |
setTTL(Long TTL)
Set TTL.
|
void |
setValue(String Value)
Set Record value, such as `IP : 200.200.200.200`, `CNAME : cname.dnspod.com`, and `MX : mail.dnspod.com`.
|
void |
setWeight(Long Weight)
Set Weight information, which is an integer between 0 and 100.
|
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 ModifyRecordRequest()
public ModifyRecordRequest(ModifyRecordRequest source)
public String getDomain()
public void setDomain(String Domain)
Domain
- Domainpublic String getRecordType()
public void setRecordType(String RecordType)
RecordType
- Record type, which is obtained through the record type API. The value contains uppercase letters, such as `A`.public String getRecordLine()
public void setRecordLine(String RecordLine)
RecordLine
- Record split zone, which is obtained through the record split zone API.public String getValue()
public void setValue(String Value)
Value
- Record value, such as `IP : 200.200.200.200`, `CNAME : cname.dnspod.com`, and `MX : mail.dnspod.com`.public Long getRecordId()
public void setRecordId(Long RecordId)
RecordId
- The record ID. You can view all DNS records and their IDs via the `DescribeRecordList` API.public Long getDomainId()
public void setDomainId(Long DomainId)
DomainId
- The domain ID. `DomainId` takes priority over `Domain`. If `DomainId` is passed in, `Domain` is ignored. You can view all `Domain` and `DomainId` values via the `DescribeDomainList` API.public String getSubDomain()
public void setSubDomain(String SubDomain)
SubDomain
- Host record such as `www`. If it is not passed in, it will be `@` by default.public String getRecordLineId()
public void setRecordLineId(String RecordLineId)
RecordLineId
- Split zone ID, which is obtained through the record split zone API. The value is a string such as `10=1`. The `RecordLineId` parameter has a higher priority than `RecordLine`. If both of them are passed in, `RecordLineId` will be used first.public Long getMX()
public void setMX(Long MX)
MX
- MX priority, which is required for an MX record and will take effect if the record type is MX. Value range: 1–20.public Long getTTL()
public void setTTL(Long TTL)
TTL
- TTL. Value range: 1–604800. The minimum value varies by domain level.public Long getWeight()
public void setWeight(Long Weight)
Weight
- Weight information, which is an integer between 0 and 100. It is supported only for enterprise VIP domains. `0` indicates not to pass in this parameter, i.e., not to set the weight.public String getStatus()
public void setStatus(String Status)
Status
- Initial status of the record. Valid values: ENABLE, DISABLE. Default value: ENABLE. If `DISABLE` is passed in, the DNS record won't take effect, and the limit on round-robin DNS won't be verified.Copyright © 2023. All rights reserved.