public class TargetAttribute extends AbstractModel
header, skipSign
Constructor and Description |
---|
TargetAttribute() |
TargetAttribute(TargetAttribute 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 |
getPort()
Get 端口。取值范围为 [1,65535]。作为入参时,该参数必填。
|
Long |
getWeight()
Get 权重。取值范围为 [0,100]。作为入参时,该参数必填。
|
void |
setPort(Long Port)
Set 端口。取值范围为 [1,65535]。作为入参时,该参数必填。
|
void |
setWeight(Long Weight)
Set 权重。取值范围为 [0,100]。作为入参时,该参数必填。
|
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, toJsonString
public TargetAttribute()
public TargetAttribute(TargetAttribute source)
public Long getPort()
public void setPort(Long Port)
Port
- 端口。取值范围为 [1,65535]。作为入参时,该参数必填。public Long getWeight()
public void setWeight(Long Weight)
Weight
- 权重。取值范围为 [0,100]。作为入参时,该参数必填。Copyright © 2025. All rights reserved.