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 Port.
|
Long |
getWeight()
Get Weight.
|
void |
setPort(Long Port)
Set Port.
|
void |
setWeight(Long Weight)
Set Weight.
|
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
- Port. value range: [1,65535]. as an input parameter, this parameter is required.public Long getWeight()
public void setWeight(Long Weight)
Weight
- Weight. value range: [0,100]. this parameter is required as an input parameter.Copyright © 2025. All rights reserved.