public class RewriteTarget extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
RewriteTarget()  | 
RewriteTarget(RewriteTarget 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
Note: this field may return `null`, indicating that no valid values can be obtained. 
 | 
String | 
getRewriteType()
Get Redirection type. 
 | 
Boolean | 
getTakeUrl()
Get Whether the matched URL is carried in redirection. 
 | 
String | 
getTargetListenerId()
Get Listener ID of a redirect target
Note: This field may return null, indicating that there is no redirection. 
 | 
String | 
getTargetLocationId()
Get Forwarding rule ID of a redirect target
Note: This field may return null, indicating that there is no redirection. 
 | 
void | 
setRewriteCode(Long RewriteCode)
Set Redirection status code
Note: this field may return `null`, indicating that no valid values can be obtained. 
 | 
void | 
setRewriteType(String RewriteType)
Set Redirection type. 
 | 
void | 
setTakeUrl(Boolean TakeUrl)
Set Whether the matched URL is carried in redirection. 
 | 
void | 
setTargetListenerId(String TargetListenerId)
Set Listener ID of a redirect target
Note: This field may return null, indicating that there is no redirection. 
 | 
void | 
setTargetLocationId(String TargetLocationId)
Set Forwarding rule ID of a redirect target
Note: This field may return null, indicating that there is no redirection. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic RewriteTarget()
public RewriteTarget(RewriteTarget source)
public String getTargetListenerId()
public void setTargetListenerId(String TargetListenerId)
TargetListenerId - Listener ID of a redirect target
Note: This field may return null, indicating that there is no redirection.
Note: This field may return null, indicating that no valid values can be obtained.public String getTargetLocationId()
public void setTargetLocationId(String TargetLocationId)
TargetLocationId - Forwarding rule ID of a redirect target
Note: This field may return null, indicating that there is no redirection.
Note: This field may return null, indicating that no valid values can be obtained.public Long getRewriteCode()
public void setRewriteCode(Long RewriteCode)
RewriteCode - Redirection status code
Note: this field may return `null`, indicating that no valid values can be obtained.public Boolean getTakeUrl()
public void setTakeUrl(Boolean TakeUrl)
TakeUrl - Whether the matched URL is carried in redirection.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getRewriteType()
public void setRewriteType(String RewriteType)
RewriteType - Redirection type. Manual: manual redirection; Auto: automatic redirection.
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.