public class CreatePurgeTaskRequest extends AbstractModel
skipSign
Constructor and Description |
---|
CreatePurgeTaskRequest() |
CreatePurgeTaskRequest(CreatePurgeTaskRequest 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 |
---|---|
Boolean |
getEncodeUrl()
Deprecated.
|
String |
getMethod()
Get Configures how resources under the directory are purged when `Type = purge_prefix`.
|
String[] |
getTargets()
Get List of cached resources to purge.
|
String |
getType()
Get Type of cache purging.
|
String |
getZoneId()
Get ID of the site.
|
void |
setEncodeUrl(Boolean EncodeUrl)
Deprecated.
|
void |
setMethod(String Method)
Set Configures how resources under the directory are purged when `Type = purge_prefix`.
|
void |
setTargets(String[] Targets)
Set List of cached resources to purge.
|
void |
setType(String Type)
Set Type of cache purging.
|
void |
setZoneId(String ZoneId)
Set ID of the site.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreatePurgeTaskRequest()
public CreatePurgeTaskRequest(CreatePurgeTaskRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- ID of the site.public String getType()
public void setType(String Type)
Type
- Type of cache purging. Values:
public String getMethod()
public void setMethod(String Method)
Method
- Configures how resources under the directory are purged when `Type = purge_prefix`. Values: public String[] getTargets()
public void setTargets(String[] Targets)
Targets
- List of cached resources to purge. The format for input depends on the type of cache purging. See examples below for details. @Deprecated public Boolean getEncodeUrl()
@Deprecated public void setEncodeUrl(Boolean EncodeUrl)
EncodeUrl
- Specifies whether to transcode non-ASCII URLs according to RFC3986.
Note that if it’s enabled, the purging is based on the converted URLs.Copyright © 2023. All rights reserved.