public static final class ListCloudGtmAddressPoolsResponseBody.HealthTask.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ListCloudGtmAddressPoolsResponseBody.HealthTask |
build() |
ListCloudGtmAddressPoolsResponseBody.HealthTask.Builder |
port(Integer port)
The target service port for health checks.
|
ListCloudGtmAddressPoolsResponseBody.HealthTask.Builder |
templateId(String templateId)
The ID of the health check template.
|
ListCloudGtmAddressPoolsResponseBody.HealthTask.Builder |
templateName(String templateName)
Health check template name.
|
public ListCloudGtmAddressPoolsResponseBody.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 ListCloudGtmAddressPoolsResponseBody.HealthTask.Builder templateId(String templateId)
The ID of the health check template.
example:mtp-895180524251002880
public ListCloudGtmAddressPoolsResponseBody.HealthTask.Builder templateName(String templateName)
Health check template name.
example:IPv4-Ping
public ListCloudGtmAddressPoolsResponseBody.HealthTask build()
Copyright © 2026. All rights reserved.