public class AutoRewriteRequest extends AbstractModel
Constructor and Description |
---|
AutoRewriteRequest() |
AutoRewriteRequest(AutoRewriteRequest 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 |
---|---|
String[] |
getDomains()
Get The domain name to be redirected under the listener `HTTPS:443`.
|
String |
getListenerId()
Get `HTTPS:443` listener ID
|
String |
getLoadBalancerId()
Get CLB instance ID
|
Long[] |
getRewriteCodes()
Get Redirection status code.
|
Boolean[] |
getTakeUrls()
Get Whether the matched URL is carried in redirection.
|
void |
setDomains(String[] Domains)
Set The domain name to be redirected under the listener `HTTPS:443`.
|
void |
setListenerId(String ListenerId)
Set `HTTPS:443` listener ID
|
void |
setLoadBalancerId(String LoadBalancerId)
Set CLB instance ID
|
void |
setRewriteCodes(Long[] RewriteCodes)
Set Redirection status code.
|
void |
setTakeUrls(Boolean[] TakeUrls)
Set Whether the matched URL is carried in redirection.
|
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 AutoRewriteRequest()
public AutoRewriteRequest(AutoRewriteRequest source)
public String getLoadBalancerId()
public void setLoadBalancerId(String LoadBalancerId)
LoadBalancerId
- CLB instance IDpublic String getListenerId()
public void setListenerId(String ListenerId)
ListenerId
- `HTTPS:443` listener IDpublic String[] getDomains()
public void setDomains(String[] Domains)
Domains
- The domain name to be redirected under the listener `HTTPS:443`. If it is left empty, all domain names under the listener `HTTPS:443` will be configured with redirects.public Long[] getRewriteCodes()
public void setRewriteCodes(Long[] RewriteCodes)
RewriteCodes
- Redirection status code. Valid values: 301, 302, and 307.public Boolean[] getTakeUrls()
public void setTakeUrls(Boolean[] TakeUrls)
TakeUrls
- Whether the matched URL is carried in redirection.Copyright © 2023. All rights reserved.