public class RewriteLocationMap extends AbstractModel
Constructor and Description |
---|
RewriteLocationMap() |
RewriteLocationMap(RewriteLocationMap 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 |
---|---|
Long |
getRewriteCode()
Get 重定向状态码,可取值301,302,307
|
String |
getSourceDomain()
Get 源转发的域名,必须是SourceLocationId对应的域名,配置RewriteCode时必填
|
String |
getSourceLocationId()
Get 源转发规则ID
|
Boolean |
getTakeUrl()
Get 重定向是否携带匹配的url,配置RewriteCode时必填
|
String |
getTargetLocationId()
Get 重定向至的目标转发规则ID
|
void |
setRewriteCode(Long RewriteCode)
Set 重定向状态码,可取值301,302,307
|
void |
setSourceDomain(String SourceDomain)
Set 源转发的域名,必须是SourceLocationId对应的域名,配置RewriteCode时必填
|
void |
setSourceLocationId(String SourceLocationId)
Set 源转发规则ID
|
void |
setTakeUrl(Boolean TakeUrl)
Set 重定向是否携带匹配的url,配置RewriteCode时必填
|
void |
setTargetLocationId(String TargetLocationId)
Set 重定向至的目标转发规则ID
|
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 RewriteLocationMap()
public RewriteLocationMap(RewriteLocationMap source)
public String getSourceLocationId()
public void setSourceLocationId(String SourceLocationId)
SourceLocationId
- 源转发规则IDpublic String getTargetLocationId()
public void setTargetLocationId(String TargetLocationId)
TargetLocationId
- 重定向至的目标转发规则IDpublic Long getRewriteCode()
public void setRewriteCode(Long RewriteCode)
RewriteCode
- 重定向状态码,可取值301,302,307public Boolean getTakeUrl()
public void setTakeUrl(Boolean TakeUrl)
TakeUrl
- 重定向是否携带匹配的url,配置RewriteCode时必填public String getSourceDomain()
public void setSourceDomain(String SourceDomain)
SourceDomain
- 源转发的域名,必须是SourceLocationId对应的域名,配置RewriteCode时必填Copyright © 2022. All rights reserved.