public class CreateDnsRecordRequest extends AbstractModel
Constructor and Description |
---|
CreateDnsRecordRequest() |
CreateDnsRecordRequest(CreateDnsRecordRequest 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 |
getContent()
Get The DNS record content.
|
String |
getMode()
Get The proxy mode.
|
String |
getName()
Get The DNS record name.
|
Long |
getPriority()
Get Specifies a value in the range 1–50 when you make changes to the MX records.
|
Long |
getTTL()
Get TTL (in seconds).
|
String |
getType()
Get The DNS record type.
|
String |
getZoneId()
Get The site ID of the DNS record.
|
void |
setContent(String Content)
Set The DNS record content.
|
void |
setMode(String Mode)
Set The proxy mode.
|
void |
setName(String Name)
Set The DNS record name.
|
void |
setPriority(Long Priority)
Set Specifies a value in the range 1–50 when you make changes to the MX records.
|
void |
setTTL(Long TTL)
Set TTL (in seconds).
|
void |
setType(String Type)
Set The DNS record type.
|
void |
setZoneId(String ZoneId)
Set The site ID of the DNS record.
|
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 CreateDnsRecordRequest()
public CreateDnsRecordRequest(CreateDnsRecordRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- The site ID of the DNS record.public String getType()
public void setType(String Type)
Type
- The DNS record type. Values:
public String getName()
public void setName(String Name)
Name
- The DNS record name.public String getContent()
public void setContent(String Content)
Content
- The DNS record content.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. Default value: 300public Long getPriority()
public void setPriority(Long Priority)
Priority
- Specifies a value in the range 1–50 when you make changes to the MX records. A smaller value indicates higher priority. Note that the default value 0 will be used if this field is not specified.Copyright © 2022. All rights reserved.