Class ServiceConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tsf.v20180326.models.ServiceConfig
-
public class ServiceConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthCheckConfiggetHealthCheck()Get 健康检查配置 注意:此字段可能返回 null,表示取不到有效值。StringgetName()Get 服务名Ports[]getPorts()Get 端口信息列表voidsetHealthCheck(HealthCheckConfig HealthCheck)Set 健康检查配置 注意:此字段可能返回 null,表示取不到有效值。voidsetName(String Name)Set 服务名voidsetPorts(Ports[] Ports)Set 端口信息列表voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ServiceConfig
public ServiceConfig()
-
ServiceConfig
public 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.
-
-
Method Detail
-
getName
public String getName()
Get 服务名- Returns:
- Name 服务名
-
setName
public void setName(String Name)
Set 服务名- Parameters:
Name- 服务名
-
getPorts
public Ports[] getPorts()
Get 端口信息列表- Returns:
- Ports 端口信息列表
-
setPorts
public void setPorts(Ports[] Ports)
Set 端口信息列表- Parameters:
Ports- 端口信息列表
-
getHealthCheck
public HealthCheckConfig getHealthCheck()
Get 健康检查配置 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- HealthCheck 健康检查配置 注意:此字段可能返回 null,表示取不到有效值。
-
setHealthCheck
public void setHealthCheck(HealthCheckConfig HealthCheck)
Set 健康检查配置 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
HealthCheck- 健康检查配置 注意:此字段可能返回 null,表示取不到有效值。
-
-