public static final class DescribeCloudGtmAddressResponseBody.HealthTask.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeCloudGtmAddressResponseBody.HealthTask |
build() |
DescribeCloudGtmAddressResponseBody.HealthTask.Builder |
monitorStatus(String monitorStatus)
The state of the health check task.
|
DescribeCloudGtmAddressResponseBody.HealthTask.Builder |
port(Integer port)
The target service port for health checks.
|
DescribeCloudGtmAddressResponseBody.HealthTask.Builder |
templateId(String templateId)
The ID of the health check template associated with the address.
|
DescribeCloudGtmAddressResponseBody.HealthTask.Builder |
templateName(String templateName)
The name of the health check template.
|
public DescribeCloudGtmAddressResponseBody.HealthTask.Builder monitorStatus(String monitorStatus)
The state of the health check task. Valid values:
ok
public DescribeCloudGtmAddressResponseBody.HealthTask.Builder port(Integer port)
The target service port for health checks. When the Ping protocol is selected for health checks, configuration of the service port is not supported.
example:80
public DescribeCloudGtmAddressResponseBody.HealthTask.Builder templateId(String templateId)
The ID of the health check template associated with the address.
example:mtp-89518052425100**80
public DescribeCloudGtmAddressResponseBody.HealthTask.Builder templateName(String templateName)
The name of the health check template.
example:Ping-IPv4
public DescribeCloudGtmAddressResponseBody.HealthTask build()
Copyright © 2026. All rights reserved.