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