public class ImportZoneConfigRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ImportZoneConfigRequest() |
ImportZoneConfigRequest(ImportZoneConfigRequest 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 configuration content to be imported, which should be in the JSON format and be encoded in the UTF-8 mode.
|
String |
getZoneId()
Get Zone ID.
|
void |
setContent(String Content)
Set The configuration content to be imported, which should be in the JSON format and be encoded in the UTF-8 mode.
|
void |
setZoneId(String ZoneId)
Set Zone ID.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ImportZoneConfigRequest()
public ImportZoneConfigRequest(ImportZoneConfigRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- Zone ID.public String getContent()
public void setContent(String Content)
Content
- The configuration content to be imported, which should be in the JSON format and be encoded in the UTF-8 mode. The configuration content can be obtained through the site configuration export API (ExportZoneConfig). You can individually import "Site Acceleration - Global Acceleration Configuration" or "Site Acceleration - Rule Engine" by passing in the corresponding fields. Refer to the example below for details.Copyright © 2025. All rights reserved.