public static final class DescribeLoadBalancersResponseBody.LoadBalancer.Builder extends Object
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder address(String address)
The endpoint of the CLB instance.
example:100.XX.XX.28
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder addressIPVersion(String addressIPVersion)
The IP version that is used by the CLB instance. Valid values: ipv4 and ipv6.
example:ipv4
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder addressType(String addressType)
The network type of the CLB instance. Valid values:
intranet
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder bandwidth(Integer bandwidth)
The maximum bandwidth of the listener. Unit: Mbit/s.
example:-1
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder createTime(String createTime)
The time when the CLB instance was created. The time follows the YYYY-MM-DDThh:mm:ssZ format.
2021-12-02T02:49:05Z
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder createTimeStamp(Long createTimeStamp)
The timestamp when the instance was created.
example:1504147745000
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder deleteProtection(String deleteProtection)
Indicates whether deletion protection is enabled for the CLB instance. Valid values:
off
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder instanceChargeType(String instanceChargeType)
The metering method of the CLB instance. Valid values:
example:This parameter takes effect only for accounts registered on the China site (aliyun.com) and when the PayType parameter is set to PayOnDemand.
PayBySpec
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder internetChargeType(String internetChargeType)
The metering method of the Internet-facing CLB instance. Valid values:
3
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder internetChargeTypeAlias(String internetChargeTypeAlias)
The metering method of Internet data transfer. Valid values:
paybybandwidth
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder loadBalancerId(String loadBalancerId)
The ID of the CLB instance.
example:lb-bp1b6c719dfa****
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder loadBalancerName(String loadBalancerName)
The name of the CLB instance.
example:lb-bp1o94dp5i6ea****
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder loadBalancerSpec(String loadBalancerSpec)
The specification of the CLB instance.
example:Pay-as-you-go CLB instances are not subject to specifications. slb.lcu.elastic is returned by default.
slb.s1.small
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder loadBalancerStatus(String loadBalancerStatus)
The status of the CLB instance. Valid values:
active
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder masterZoneId(String masterZoneId)
The ID of the primary zone to which the CLB instance belongs.
example:cn-hangzhou-b
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder modificationProtectionReason(String modificationProtectionReason)
The reason why the configuration read-only mode was enabled. The reason must be 1 to 80 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The reason must start with a letter.
example:This parameter takes effect only when you set the
ModificationProtectionStatusparameter to ConsoleProtection.
ManagedInstance
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder modificationProtectionStatus(String modificationProtectionStatus)
Indicates whether the configuration read-only mode is enabled for the CLB instance. Valid values:
ModificationProtectionReason parameter, the value is cleared.example:If you set this parameter to ConsoleProtection, you cannot modify the configurations of the CLB instance in the CLB console. However, you can call API operations to modify the configurations of the CLB instance.
ConsoleProtection
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder networkType(String networkType)
The network type of the internal-facing CLB instance. Valid values:
vpc
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder payType(String payType)
The billing method of the CLB instance.
PayOnDemand
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder regionId(String regionId)
The ID of the region where the CLB instance was deployed.
example:cn-hangzhou
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder regionIdAlias(String regionIdAlias)
The region where the CLB instance was deployed.
example:hangzhou
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder resourceGroupId(String resourceGroupId)
The ID of the resource group.
example:rg-atstuj3r****
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder slaveZoneId(String slaveZoneId)
The ID of the secondary zone to which the CLB instance belongs.
example:cn-hangzhou-d
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder tags(DescribeLoadBalancersResponseBody.Tags tags)
The tags.
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder vSwitchId(String vSwitchId)
The ID of the vSwitch to which the internal-facing CLB instance belongs.
example:vsw-255ecr****
public DescribeLoadBalancersResponseBody.LoadBalancer.Builder vpcId(String vpcId)
The ID of the VPC in which the internal-facing CLB instance was deployed.
example:vpc-25dvzy9f8****
public DescribeLoadBalancersResponseBody.LoadBalancer build()
Copyright © 2026. All rights reserved.