public static final class DescribeMonitoringAgentHostsRequest.Builder extends Object
public DescribeMonitoringAgentHostsRequest.Builder aliyunHost(Boolean aliyunHost)
Specifies whether to query Elastic Compute Service (ECS) instances that are provided by Alibaba Cloud or to query hosts that are not provided by Alibaba Cloud. Valid values:
true
public DescribeMonitoringAgentHostsRequest.Builder hostName(String hostName)
The name of the host.
example:hostNam1
public DescribeMonitoringAgentHostsRequest.Builder instanceIds(String instanceIds)
The ID of the instance.
example:i-a3d1q1pm2f9yr29e****
public DescribeMonitoringAgentHostsRequest.Builder instanceRegionId(String instanceRegionId)
The region ID of the instance.
example:cn-hangzhou
public DescribeMonitoringAgentHostsRequest.Builder keyWord(String keyWord)
The keyword that is used in fuzzy match.
example:host1
public DescribeMonitoringAgentHostsRequest.Builder pageNumber(Integer pageNumber)
The number of the page to return.
example:1
public DescribeMonitoringAgentHostsRequest.Builder pageSize(Integer pageSize)
The number of entries to return on each page. Valid values:
example:Although Alibaba Cloud does not limit the maximum value of this parameter, we recommend that you do not set it to an excessively large value. If you set it to an excessively large value, a timeout error may occur.
10
public DescribeMonitoringAgentHostsRequest.Builder serialNumbers(String serialNumbers)
The serial number of the host.
After the CloudMonitor agent is installed on a host, a globally unique serial number is generated. A host that is not provided by Alibaba Cloud has a serial number instead of an instance ID.
example:This parameter can be used to accurately search for a monitored host.
a1ab31a3-1234-40f2-9e95-c8caa8f0****
public DescribeMonitoringAgentHostsRequest.Builder status(String status)
The status of the hosts that you want to query. Valid values:
Running
public DescribeMonitoringAgentHostsRequest.Builder sysomStatus(String sysomStatus)
The status of SysOM. Valid values:
running
public DescribeMonitoringAgentHostsRequest build()
Copyright © 2026. All rights reserved.