public static final class DescribeLoadBalancersRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeLoadBalancersRequest.Builder |
address(String address)
The IP address that the CLB instance uses to provide services.
|
DescribeLoadBalancersRequest.Builder |
addressIPVersion(String addressIPVersion)
The IP version that is used by the CLB instance.
|
DescribeLoadBalancersRequest.Builder |
addressType(String addressType)
The network type of the CLB instance.
|
DescribeLoadBalancersRequest |
build() |
DescribeLoadBalancersRequest.Builder |
internetChargeType(String internetChargeType)
The metering method of Internet data transfer.
|
DescribeLoadBalancersRequest.Builder |
loadBalancerId(String loadBalancerId)
The ID of the CLB instance.
|
DescribeLoadBalancersRequest.Builder |
loadBalancerName(String loadBalancerName)
The name of the CLB instance.
|
DescribeLoadBalancersRequest.Builder |
loadBalancerStatus(String loadBalancerStatus)
The status of the CLB instance.
|
DescribeLoadBalancersRequest.Builder |
masterZoneId(String masterZoneId)
The ID of the primary zone to which the CLB instance belongs.
|
DescribeLoadBalancersRequest.Builder |
networkType(String networkType)
The network type of the internal-facing CLB instance.
|
DescribeLoadBalancersRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
DescribeLoadBalancersRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
DescribeLoadBalancersRequest.Builder |
pageNumber(Integer pageNumber)
The page number of the page to return.
|
DescribeLoadBalancersRequest.Builder |
pageSize(Integer pageSize)
The number of entries to return on each page.
|
DescribeLoadBalancersRequest.Builder |
payType(String payType)
The billing method of the CLB instance.
|
DescribeLoadBalancersRequest.Builder |
regionId(String regionId)
The ID of the region where the CLB instance is deployed.
|
DescribeLoadBalancersRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group.
|
DescribeLoadBalancersRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
DescribeLoadBalancersRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
DescribeLoadBalancersRequest.Builder |
serverId(String serverId)
The ID of the backend server that is added to the CLB instance.
|
DescribeLoadBalancersRequest.Builder |
serverIntranetAddress(String serverIntranetAddress)
The private IP address of the backend server that is added to the CLB instance.
|
DescribeLoadBalancersRequest.Builder |
slaveZoneId(String slaveZoneId)
The ID of the secondary zone to which the CLB instance belongs.
|
DescribeLoadBalancersRequest.Builder |
tag(List<DescribeLoadBalancersRequest.Tag> tag)
The tags.
|
DescribeLoadBalancersRequest.Builder |
tags(String tags)
The tags that are added to the CLB instance.
|
DescribeLoadBalancersRequest.Builder |
vpcId(String vpcId)
The ID of the virtual private cloud (VPC) to which the CLB instance belongs.
|
DescribeLoadBalancersRequest.Builder |
vSwitchId(String vSwitchId)
The ID of the vSwitch to which the CLB instance belongs.
|
public DescribeLoadBalancersRequest.Builder address(String address)
The IP address that the CLB instance uses to provide services.
example:192.168.XX.XX
public DescribeLoadBalancersRequest.Builder addressIPVersion(String addressIPVersion)
The IP version that is used by the CLB instance. Valid values: ipv4 and ipv6.
example:ipv4
public DescribeLoadBalancersRequest.Builder addressType(String addressType)
The network type of the CLB instance. Valid values:
intranet
public DescribeLoadBalancersRequest.Builder internetChargeType(String internetChargeType)
The metering method of Internet data transfer. Valid values:
paybytraffic
public DescribeLoadBalancersRequest.Builder loadBalancerId(String loadBalancerId)
The ID of the CLB instance.
You can specify up to 10 IDs. Separate multiple IDs with commas (,).
example:lb-bp1b6c719dfa****
public DescribeLoadBalancersRequest.Builder loadBalancerName(String loadBalancerName)
The name of the CLB instance.
The name must be 1 to 80 characters in length, and can contain digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
You can specify up to 10 names. Separate multiple names with commas (,).
example:test
public DescribeLoadBalancersRequest.Builder loadBalancerStatus(String loadBalancerStatus)
The status of the CLB instance. Valid values:
active
public DescribeLoadBalancersRequest.Builder masterZoneId(String masterZoneId)
The ID of the primary zone to which the CLB instance belongs.
example:cn-hangzhou-b
public DescribeLoadBalancersRequest.Builder networkType(String networkType)
The network type of the internal-facing CLB instance. Valid values:
vpc
public DescribeLoadBalancersRequest.Builder ownerAccount(String ownerAccount)
public DescribeLoadBalancersRequest.Builder ownerId(Long ownerId)
public DescribeLoadBalancersRequest.Builder pageNumber(Integer pageNumber)
The page number of the page to return.
example:1
public DescribeLoadBalancersRequest.Builder pageSize(Integer pageSize)
The number of entries to return on each page.
Valid values: 1 to 100.
example:If you specify the PageSize parameter, you must also specify the PageNumber parameter.
50
public DescribeLoadBalancersRequest.Builder payType(String payType)
The billing method of the CLB instance. Valid values:
PayOnDemand
public DescribeLoadBalancersRequest.Builder regionId(String regionId)
The ID of the region where the CLB instance is deployed.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
public DescribeLoadBalancersRequest.Builder resourceGroupId(String resourceGroupId)
The ID of the resource group.
example:rg-acfmxazb4p****
public DescribeLoadBalancersRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public DescribeLoadBalancersRequest.Builder resourceOwnerId(Long resourceOwnerId)
public DescribeLoadBalancersRequest.Builder serverId(String serverId)
The ID of the backend server that is added to the CLB instance.
example:vm-server-23****
public DescribeLoadBalancersRequest.Builder serverIntranetAddress(String serverIntranetAddress)
The private IP address of the backend server that is added to the CLB instance.
You can specify multiple IP addresses. Separate multiple IP addresses with commas (,).
example:10.XX.XX.102
public DescribeLoadBalancersRequest.Builder slaveZoneId(String slaveZoneId)
The ID of the secondary zone to which the CLB instance belongs.
CLB instances on Alibaba Finance Cloud do not support cross-zone deployment.
example:cn-hangzhou-d
public DescribeLoadBalancersRequest.Builder tag(List<DescribeLoadBalancersRequest.Tag> tag)
The tags.
public DescribeLoadBalancersRequest.Builder tags(String tags)
The tags that are added to the CLB instance. The tags must be key-value pairs that are contained in a JSON dictionary.
You can specify up to 10 tags in each call.
example:[{"tagKey":"Key1","tagValue":"Value1"}]
public DescribeLoadBalancersRequest.Builder vSwitchId(String vSwitchId)
The ID of the vSwitch to which the CLB instance belongs.
example:vsw-bp12mw1f8k3****
public DescribeLoadBalancersRequest.Builder vpcId(String vpcId)
The ID of the virtual private cloud (VPC) to which the CLB instance belongs.
example:vpc-bp1aevy8sof****
public DescribeLoadBalancersRequest build()
Copyright © 2026. All rights reserved.