public class Zone extends AbstractModel
| Constructor and Description | 
|---|
| Zone() | 
| Zone(Zone 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 | getArea()Get | 
| String | getCnameSpeedUp()Get Specifies whether to enable CNAME acceleration
- `enabled`: Enable
- `disabled`: Disable
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getCnameStatus()Get Ownership verification status of the site when it is connected to EdgeOne via CNAME. | 
| String | getCreatedOn()Get Site creation date | 
| String | getId()Get Site ID | 
| String | getModifiedOn()Get Site modification date | 
| String | getName()Get Site name | 
| String[] | getNameServers()Get List of name servers assigned by Tencent Cloud | 
| String[] | getOriginalNameServers()Get List of name servers used by the site | 
| Boolean | getPaused()Get Indicates whether the site is disabled | 
| Resource[] | getResources()Get Billable resource
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| String | getStatus()Get Site status
- `active`: The name server is switched. | 
| Tag[] | getTags()Get Resource tag
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| String | getType()Get How the site is connected to EdgeOne. | 
| void | setArea(String Area)Set | 
| void | setCnameSpeedUp(String CnameSpeedUp)Set Specifies whether to enable CNAME acceleration
- `enabled`: Enable
- `disabled`: Disable
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setCnameStatus(String CnameStatus)Set Ownership verification status of the site when it is connected to EdgeOne via CNAME. | 
| void | setCreatedOn(String CreatedOn)Set Site creation date | 
| void | setId(String Id)Set Site ID | 
| void | setModifiedOn(String ModifiedOn)Set Site modification date | 
| void | setName(String Name)Set Site name | 
| void | setNameServers(String[] NameServers)Set List of name servers assigned by Tencent Cloud | 
| void | setOriginalNameServers(String[] OriginalNameServers)Set List of name servers used by the site | 
| void | setPaused(Boolean Paused)Set Indicates whether the site is disabled | 
| void | setResources(Resource[] Resources)Set Billable resource
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setStatus(String Status)Set Site status
- `active`: The name server is switched. | 
| void | setTags(Tag[] Tags)Set Resource tag
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setType(String Type)Set How the site is connected to EdgeOne. | 
| 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, toJsonStringpublic Zone()
public Zone(Zone source)
public String getId()
public void setId(String Id)
Id - Site IDpublic String getName()
public void setName(String Name)
Name - Site namepublic String[] getOriginalNameServers()
public void setOriginalNameServers(String[] OriginalNameServers)
OriginalNameServers - List of name servers used by the sitepublic String[] getNameServers()
public void setNameServers(String[] NameServers)
NameServers - List of name servers assigned by Tencent Cloudpublic String getStatus()
public void setStatus(String Status)
Status - Site status
- `active`: The name server is switched.
- `pending`: The name server is not switched.
- `moved`: The name server is moved.
- `deactivated`: The name server is blocked.public String getType()
public void setType(String Type)
Type - How the site is connected to EdgeOne.
- `full`: The site is connected via name server.
- `partial`: The site is connected via CNAME.public Boolean getPaused()
public void setPaused(Boolean Paused)
Paused - Indicates whether the site is disabledpublic String getCnameSpeedUp()
public void setCnameSpeedUp(String CnameSpeedUp)
CnameSpeedUp - Specifies whether to enable CNAME acceleration
- `enabled`: Enable
- `disabled`: Disable
Note: This field may return null, indicating that no valid values can be obtained.public String getCnameStatus()
public void setCnameStatus(String CnameStatus)
CnameStatus - Ownership verification status of the site when it is connected to EdgeOne via CNAME.
- `finished`: The site is verified.
- `pending`: Verifying the ownership of the site.
Note: This field may return `null`, indicating that no valid value can be obtained.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags - Resource tag
Note: This field may return `null`, indicating that no valid value can be obtained.public Resource[] getResources()
public void setResources(Resource[] Resources)
Resources - Billable resource
Note: This field may return `null`, indicating that no valid value can be obtained.public String getCreatedOn()
public void setCreatedOn(String CreatedOn)
CreatedOn - Site creation datepublic String getModifiedOn()
public void setModifiedOn(String ModifiedOn)
ModifiedOn - Site modification datepublic String getArea()
public void setArea(String Area)
Area - Copyright © 2023. All rights reserved.