public class UpdateHealthCheckResponse extends SdkResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateHealthCheckResponse.MethodEnum
健康检查时的请求方法
|
static class |
UpdateHealthCheckResponse.ProtocolEnum
使用以下协议,对VPC中主机执行健康检查: - TCP - HTTP - HTTPS
|
static class |
UpdateHealthCheckResponse.StatusEnum
健康检查状态 - 1:可用 - 2:不可用
|
| Constructor and Description |
|---|
UpdateHealthCheckResponse() |
getHttpStatusCode, setHttpStatusCodepublic UpdateHealthCheckResponse withProtocol(UpdateHealthCheckResponse.ProtocolEnum protocol)
public UpdateHealthCheckResponse.ProtocolEnum getProtocol()
public void setProtocol(UpdateHealthCheckResponse.ProtocolEnum protocol)
public UpdateHealthCheckResponse withPath(String path)
public String getPath()
public void setPath(String path)
public UpdateHealthCheckResponse withMethod(UpdateHealthCheckResponse.MethodEnum method)
public UpdateHealthCheckResponse.MethodEnum getMethod()
public void setMethod(UpdateHealthCheckResponse.MethodEnum method)
public UpdateHealthCheckResponse withPort(Integer port)
public Integer getPort()
public void setPort(Integer port)
public UpdateHealthCheckResponse withThresholdNormal(Integer thresholdNormal)
public Integer getThresholdNormal()
public void setThresholdNormal(Integer thresholdNormal)
public UpdateHealthCheckResponse withThresholdAbnormal(Integer thresholdAbnormal)
public Integer getThresholdAbnormal()
public void setThresholdAbnormal(Integer thresholdAbnormal)
public UpdateHealthCheckResponse withTimeInterval(Integer timeInterval)
public Integer getTimeInterval()
public void setTimeInterval(Integer timeInterval)
public UpdateHealthCheckResponse withHttpCode(String httpCode)
public String getHttpCode()
public void setHttpCode(String httpCode)
public UpdateHealthCheckResponse withEnableClientSsl(Boolean enableClientSsl)
public Boolean getEnableClientSsl()
public void setEnableClientSsl(Boolean enableClientSsl)
public UpdateHealthCheckResponse withStatus(UpdateHealthCheckResponse.StatusEnum status)
public UpdateHealthCheckResponse.StatusEnum getStatus()
public void setStatus(UpdateHealthCheckResponse.StatusEnum status)
public UpdateHealthCheckResponse withTimeout(Integer timeout)
public Integer getTimeout()
public void setTimeout(Integer timeout)
public UpdateHealthCheckResponse withVpcChannelId(String vpcChannelId)
public String getVpcChannelId()
public void setVpcChannelId(String vpcChannelId)
public UpdateHealthCheckResponse withId(String id)
public String getId()
public void setId(String id)
public UpdateHealthCheckResponse withCreateTime(java.time.OffsetDateTime createTime)
public java.time.OffsetDateTime getCreateTime()
public void setCreateTime(java.time.OffsetDateTime createTime)
Copyright © 2022. All rights reserved.