public class ServiceConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
ServiceConfig() |
ServiceConfig(ServiceConfig 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 |
---|---|
HealthCheckConfig |
getHealthCheck()
Get 健康检查配置
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getName()
Get 服务名
|
Ports[] |
getPorts()
Get 端口信息列表
|
void |
setHealthCheck(HealthCheckConfig HealthCheck)
Set 健康检查配置
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setName(String Name)
Set 服务名
|
void |
setPorts(Ports[] Ports)
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, toJsonString
public ServiceConfig()
public ServiceConfig(ServiceConfig source)
public String getName()
public void setName(String Name)
Name
- 服务名public Ports[] getPorts()
public void setPorts(Ports[] Ports)
Ports
- 端口信息列表public HealthCheckConfig getHealthCheck()
public void setHealthCheck(HealthCheckConfig HealthCheck)
HealthCheck
- 健康检查配置
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.