public class PathRule extends AbstractModel
Constructor and Description |
---|
PathRule() |
Modifier and Type | Method and Description |
---|---|
String |
getForwardUri()
Get Origin-pull URI path when the path matches.
|
String |
getOrigin()
Get Origin-pull server when the path matches.
|
String |
getOriginArea()
Get The region of origin server.
|
String |
getPath()
Get The matched URL path
Note: this field may return `null`, indicating that no valid value is obtained.
|
Boolean |
getRegex()
Get Whether regex match is used.
|
HttpHeaderRule[] |
getRequestHeaders()
Get Origin-pull header setting when the path matches.
|
String |
getServerName()
Get Origin-pull host when the path matches.
|
void |
setForwardUri(String ForwardUri)
Set Origin-pull URI path when the path matches.
|
void |
setOrigin(String Origin)
Set Origin-pull server when the path matches.
|
void |
setOriginArea(String OriginArea)
Set The region of origin server.
|
void |
setPath(String Path)
Set The matched URL path
Note: this field may return `null`, indicating that no valid value is obtained.
|
void |
setRegex(Boolean Regex)
Set Whether regex match is used.
|
void |
setRequestHeaders(HttpHeaderRule[] RequestHeaders)
Set Origin-pull header setting when the path matches.
|
void |
setServerName(String ServerName)
Set Origin-pull host when the path matches.
|
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 Boolean getRegex()
public void setRegex(Boolean Regex)
Regex
- Whether regex match is used.
Note: this field may return `null`, indicating that no valid value is obtained.public String getPath()
public void setPath(String Path)
Path
- The matched URL path
Note: this field may return `null`, indicating that no valid value is obtained.public String getOrigin()
public void setOrigin(String Origin)
Origin
- Origin-pull server when the path matches. COS source with private read/write is not supported.
Note: this field may return `null`, indicating that no valid value is obtained.public String getServerName()
public void setServerName(String ServerName)
ServerName
- Origin-pull host when the path matches.
Note: this field may return `null`, indicating that no valid value is obtained.public String getOriginArea()
public void setOriginArea(String OriginArea)
OriginArea
- The region of origin server. Valid values: `CN` (mainland China), `OV` (outside mainland China)
Note: this field may return `null`, indicating that no valid value is obtained.public String getForwardUri()
public void setForwardUri(String ForwardUri)
ForwardUri
- Origin-pull URI path when the path matches.
Note: this field may return `null`, indicating that no valid value is obtained.public HttpHeaderRule[] getRequestHeaders()
public void setRequestHeaders(HttpHeaderRule[] RequestHeaders)
RequestHeaders
- Origin-pull header setting when the path matches.
Note: this field may return `null`, indicating that no valid value is obtained.Copyright © 2020. All rights reserved.