Class ScdnErrorPage
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cdn.v20180606.models.ScdnErrorPage
-
public class ScdnErrorPage extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ScdnErrorPage()ScdnErrorPage(ScdnErrorPage 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetRedirectCode()Get 状态码 执行动作为:intercept 默认传值 403 执行动作为:redirect 默认传值 301StringgetRedirectUrl()Get 重定向urlvoidsetRedirectCode(Long RedirectCode)Set 状态码 执行动作为:intercept 默认传值 403 执行动作为:redirect 默认传值 301voidsetRedirectUrl(String RedirectUrl)Set 重定向urlvoidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ScdnErrorPage
public ScdnErrorPage()
-
ScdnErrorPage
public ScdnErrorPage(ScdnErrorPage 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.
-
-
Method Detail
-
getRedirectCode
public Long getRedirectCode()
Get 状态码 执行动作为:intercept 默认传值 403 执行动作为:redirect 默认传值 301- Returns:
- RedirectCode 状态码 执行动作为:intercept 默认传值 403 执行动作为:redirect 默认传值 301
-
setRedirectCode
public void setRedirectCode(Long RedirectCode)
Set 状态码 执行动作为:intercept 默认传值 403 执行动作为:redirect 默认传值 301- Parameters:
RedirectCode- 状态码 执行动作为:intercept 默认传值 403 执行动作为:redirect 默认传值 301
-
getRedirectUrl
public String getRedirectUrl()
Get 重定向url- Returns:
- RedirectUrl 重定向url
-
setRedirectUrl
public void setRedirectUrl(String RedirectUrl)
Set 重定向url- Parameters:
RedirectUrl- 重定向url
-
-