public class Affinity extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| Affinity() | 
| Affinity(Affinity 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 | 
|---|---|
| CommonOption[] | getPaths()Get - | 
| String | getScope()Get 亲和性范围 | 
| String | getWeight()Get 亲和规则的权重 | 
| void | setPaths(CommonOption[] Paths)Set - | 
| void | setScope(String Scope)Set 亲和性范围 | 
| void | setWeight(String Weight)Set 亲和规则的权重 | 
| 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 Affinity()
public Affinity(Affinity source)
public String getScope()
public void setScope(String Scope)
Scope - 亲和性范围public String getWeight()
public void setWeight(String Weight)
Weight - 亲和规则的权重public CommonOption[] getPaths()
public void setPaths(CommonOption[] Paths)
Paths - -Copyright © 2025. All rights reserved.