public class HostName extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| HostName() | 
| HostName(HostName 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 | getAction()Get 目标 HostName 配置,取值有:
follow:跟随请求;
custom:自定义。 | 
| String | getValue()Get 目标 HostName 自定义取值,最大长度 1024。 注意:当 Action 为 custom 时,此字段必填;当 Action 为 follow 时,此字段不生效。 | 
| void | setAction(String Action)Set 目标 HostName 配置,取值有:
follow:跟随请求;
custom:自定义。 | 
| void | setValue(String Value)Set 目标 HostName 自定义取值,最大长度 1024。 注意:当 Action 为 custom 时,此字段必填;当 Action 为 follow 时,此字段不生效。 | 
| 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 HostName()
public HostName(HostName source)
public String getAction()
public void setAction(String Action)
Action - 目标 HostName 配置,取值有:
public String getValue()
public void setValue(String Value)
Value - 目标 HostName 自定义取值,最大长度 1024。Copyright © 2025. All rights reserved.