public class ServiceGovernanceConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
ServiceGovernanceConfig() |
ServiceGovernanceConfig(ServiceGovernanceConfig 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 |
---|---|
Boolean |
getEnableGovernance()
Get 是否开启服务注册治理
|
ExclusiveInstance[] |
getExclusiveInstances()
Get 独享实例列表
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getGovernanceType()
Get 服务治理类型(枚举:SHARE、EXCLUSIVE)
|
void |
setEnableGovernance(Boolean EnableGovernance)
Set 是否开启服务注册治理
|
void |
setExclusiveInstances(ExclusiveInstance[] ExclusiveInstances)
Set 独享实例列表
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setGovernanceType(String GovernanceType)
Set 服务治理类型(枚举:SHARE、EXCLUSIVE)
|
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 ServiceGovernanceConfig()
public ServiceGovernanceConfig(ServiceGovernanceConfig source)
public Boolean getEnableGovernance()
public void setEnableGovernance(Boolean EnableGovernance)
EnableGovernance
- 是否开启服务注册治理public String getGovernanceType()
public void setGovernanceType(String GovernanceType)
GovernanceType
- 服务治理类型(枚举:SHARE、EXCLUSIVE)public ExclusiveInstance[] getExclusiveInstances()
public void setExclusiveInstances(ExclusiveInstance[] ExclusiveInstances)
ExclusiveInstances
- 独享实例列表
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.