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 Redirection status code. 
 | 
String | 
getSourceDomain()
Get Original domain name of redirection, which must be the corresponding domain name of `SourceLocationId`. 
 | 
String | 
getSourceLocationId()
Get Source forwarding rule ID 
 | 
Boolean | 
getTakeUrl()
Get Whether the matched URL is carried in redirection. 
 | 
String | 
getTargetLocationId()
Get Forwarding rule ID of a redirect target 
 | 
void | 
setRewriteCode(Long RewriteCode)
Set Redirection status code. 
 | 
void | 
setSourceDomain(String SourceDomain)
Set Original domain name of redirection, which must be the corresponding domain name of `SourceLocationId`. 
 | 
void | 
setSourceLocationId(String SourceLocationId)
Set Source forwarding rule ID 
 | 
void | 
setTakeUrl(Boolean TakeUrl)
Set Whether the matched URL is carried in redirection. 
 | 
void | 
setTargetLocationId(String TargetLocationId)
Set Forwarding rule ID of a redirect target 
 | 
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, toJsonStringpublic RewriteLocationMap()
public RewriteLocationMap(RewriteLocationMap source)
public String getSourceLocationId()
public void setSourceLocationId(String SourceLocationId)
SourceLocationId - Source forwarding rule IDpublic String getTargetLocationId()
public void setTargetLocationId(String TargetLocationId)
TargetLocationId - Forwarding rule ID of a redirect targetpublic Long getRewriteCode()
public void setRewriteCode(Long RewriteCode)
RewriteCode - Redirection status code. Valid values: 301, 302, and 307.public Boolean getTakeUrl()
public void setTakeUrl(Boolean TakeUrl)
TakeUrl - Whether the matched URL is carried in redirection. It is required when configuring `RewriteCode`.public String getSourceDomain()
public void setSourceDomain(String SourceDomain)
SourceDomain - Original domain name of redirection, which must be the corresponding domain name of `SourceLocationId`. It is required when configuring `RewriteCode`.Copyright © 2021. All rights reserved.