public class HealthCheckConfig extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| HealthCheckConfig() | 
| HealthCheckConfig(HealthCheckConfig 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 | 
|---|---|
| String | getExec()Get The script to be executed. | 
| Long | getInitialDelaySeconds()Get The initial delay for health check in seconds. | 
| String | getPath()Get The request path. | 
| Long | getPeriodSeconds()Get Interval period in seconds. | 
| Long | getPort()Get The request port. | 
| String | getProtocol()Get The protocol type. | 
| Long | getTimeoutSeconds()Get Timeout period in seconds. | 
| String | getType()Get Health check type. | 
| void | setExec(String Exec)Set The script to be executed. | 
| void | setInitialDelaySeconds(Long InitialDelaySeconds)Set The initial delay for health check in seconds. | 
| void | setPath(String Path)Set The request path. | 
| void | setPeriodSeconds(Long PeriodSeconds)Set Interval period in seconds. | 
| void | setPort(Long Port)Set The request port. | 
| void | setProtocol(String Protocol)Set The protocol type. | 
| void | setTimeoutSeconds(Long TimeoutSeconds)Set Timeout period in seconds. | 
| void | setType(String Type)Set Health check type. | 
| 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 HealthCheckConfig()
public HealthCheckConfig(HealthCheckConfig source)
public String getType()
public void setType(String Type)
Type - Health check type. Valid values: `HttpGet`, `TcpSocket`, `Exec`public String getProtocol()
public void setProtocol(String Protocol)
Protocol - The protocol type. It’s only valid when the health check type is `HttpGet`.public String getPath()
public void setPath(String Path)
Path - The request path. It’s only valid when the health check type is `HttpGet`.public String getExec()
public void setExec(String Exec)
Exec - The script to be executed. It’s only valid when the health check type is `Exec`.public Long getPort()
public void setPort(Long Port)
Port - The request port. It’s only valid when the health check type is `HttpGet` or `TcpSocket `.public Long getInitialDelaySeconds()
public void setInitialDelaySeconds(Long InitialDelaySeconds)
InitialDelaySeconds - The initial delay for health check in seconds. Default: `0`public Long getTimeoutSeconds()
public void setTimeoutSeconds(Long TimeoutSeconds)
TimeoutSeconds - Timeout period in seconds. Default: `1`public Long getPeriodSeconds()
public void setPeriodSeconds(Long PeriodSeconds)
PeriodSeconds - Interval period in seconds. Default: `10`Copyright © 2025. All rights reserved.