public class CreateZoneRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateZoneRequest() |
CreateZoneRequest(CreateZoneRequest 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 |
getAliasZoneName()
Get Identical site identifier.
|
Boolean |
getAllowDuplicates()
Deprecated.
|
String |
getArea()
Get The acceleration area of the L7 domain name when `Type` is `partial` or `full`.
|
Boolean |
getJumpStart()
Deprecated.
|
String |
getPlanId()
Get Target package ID to bind.
|
Tag[] |
getTags()
Get Tags of the site.
|
String |
getType()
Get Site access type.
|
String |
getZoneName()
Get Site name.
|
void |
setAliasZoneName(String AliasZoneName)
Set Identical site identifier.
|
void |
setAllowDuplicates(Boolean AllowDuplicates)
Deprecated.
|
void |
setArea(String Area)
Set The acceleration area of the L7 domain name when `Type` is `partial` or `full`.
|
void |
setJumpStart(Boolean JumpStart)
Deprecated.
|
void |
setPlanId(String PlanId)
Set Target package ID to bind.
|
void |
setTags(Tag[] Tags)
Set Tags of the site.
|
void |
setType(String Type)
Set Site access type.
|
void |
setZoneName(String ZoneName)
Set Site name.
|
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, toJsonString
public CreateZoneRequest()
public CreateZoneRequest(CreateZoneRequest source)
public String getType()
public void setType(String Type)
Type
- Site access type. If this parameter is not input, the default value `partial` is used. Valid values of this parameter are as follows:
public String getZoneName()
public void setZoneName(String ZoneName)
ZoneName
- Site name. For sites connected via CNAME/NS, pass in the secondary domain name (example.com). Leave it blank if the site is connected without a domain name.public String getArea()
public void setArea(String Area)
Area
- The acceleration area of the L7 domain name when `Type` is `partial` or `full`. When Type is `noDomainAccess`, please leave it blank.
public String getPlanId()
public void setPlanId(String PlanId)
PlanId
- Target package ID to bind. when a package already exists under your account, you can fill in this parameter to directly bind the site to the package. if there are currently no bindable packages, you can purchase a package via [CreatePlan](https://intl.cloud.tencent.com/document/product/1552/105771?from_cn_redirect=1).
Note: if this parameter is not specified, a site in "init" status will be created. the site is inactive and will not be displayed in the console. you can bind a package and activate the site through [BindZoneToPlan](https://intl.cloud.tencent.com/document/product/1552/83042?from_cn_redirect=1). after activation, the site can provide service properly.public String getAliasZoneName()
public void setAliasZoneName(String AliasZoneName)
AliasZoneName
- Identical site identifier. limits input to numbers, english letters, ".", "-", and "_", with a character limit of 200 characters. for details, see identical site identifier (https://intl.cloud.tencent.com/document/product/1552/70202?from_cn_redirect=1). leave this field blank if this usage scenario does not apply.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Tags of the site. To create tags, go to the [Tag Console](https://console.cloud.tencent.com/tag/taglist).@Deprecated public Boolean getAllowDuplicates()
@Deprecated public void setAllowDuplicates(Boolean AllowDuplicates)
AllowDuplicates
- Whether to allow duplicate sites. Values:
@Deprecated public Boolean getJumpStart()
@Deprecated public void setJumpStart(Boolean JumpStart)
JumpStart
- Whether to skip scanning the existing DNS records of the site. Default value: false.Copyright © 2025. All rights reserved.