public static final class ModifyHostAvailabilityRequest.Builder extends Object
public ModifyHostAvailabilityRequest.Builder alertConfig(ModifyHostAvailabilityRequest.AlertConfig alertConfig)
public ModifyHostAvailabilityRequest.Builder taskOption(ModifyHostAvailabilityRequest.TaskOption taskOption)
public ModifyHostAvailabilityRequest.Builder alertConfigEscalationList(List<ModifyHostAvailabilityRequest.AlertConfigEscalationList> alertConfigEscalationList)
public ModifyHostAvailabilityRequest.Builder alertConfigTargetList(List<ModifyHostAvailabilityRequest.AlertConfigTargetList> alertConfigTargetList)
public ModifyHostAvailabilityRequest.Builder groupId(Long groupId)
Format: `acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message`. Example: `acs:mns:cn-hangzhou:120886317861****:/queues/test123/message`. Fields: * {Service name abbreviation}: the abbreviation of the service name. Valid value: mns. * {userId}: the ID of the Alibaba Cloud account. * {regionId}: the region ID of the message queue or topic. * {Resource type}`: the type of the resource for which alerts are triggered. Valid values: - **queues** - **topics** {Resource name}: the name of the resource. - If the resource type is set to **queues**, the resource name is the name of the message queue. - If the resource type is set to **topics**, the resource name is the name of the topic.`
public ModifyHostAvailabilityRequest.Builder id(Long id)
* HttpStatus: HTTP status code * HttpLatency: HTTP response time * TelnetStatus: Telnet status code * TelnetLatency: Telnet response time * PingLostRate: Ping packet loss rate
public ModifyHostAvailabilityRequest.Builder instanceList(List<String> instanceList)
public ModifyHostAvailabilityRequest.Builder taskName(String taskName)
> The status code 200 indicates that the call was successful.
public ModifyHostAvailabilityRequest.Builder taskScope(String taskScope)
* `>` * `>=` * `<` * `<=` * `=`
public ModifyHostAvailabilityRequest build()
Copyright © 2023. All rights reserved.