public static final class DescribeLoadBalancerAttributeResponseBody.Builder extends Object
public DescribeLoadBalancerAttributeResponseBody.Builder address(String address)
The service IP address of the CLB instance.
example:42.XX.XX.6
public DescribeLoadBalancerAttributeResponseBody.Builder addressIPVersion(String addressIPVersion)
The version of the IP address. Valid values: ipv4 and ipv6.
example:ipv4
public DescribeLoadBalancerAttributeResponseBody.Builder addressType(String addressType)
The address type of the CLB instance.
example:internet
public DescribeLoadBalancerAttributeResponseBody.Builder autoReleaseTime(Long autoReleaseTime)
The timestamp generated when the CLB instance is released.
example:1513947075000
public DescribeLoadBalancerAttributeResponseBody.Builder backendServers(DescribeLoadBalancerAttributeResponseBody.BackendServers backendServers)
The backend servers of the CLB instance.
public DescribeLoadBalancerAttributeResponseBody.Builder bandwidth(Integer bandwidth)
The maximum bandwidth of the Internet-facing CLB instance that is billed on a pay-by-bandwidth basis.
example:5
public DescribeLoadBalancerAttributeResponseBody.Builder createTime(String createTime)
The time when the CLB instance was created. The time is in the YYYY-MM-DDThh:mm:ssZ format.
2017-08-31T02:49:05Z
public DescribeLoadBalancerAttributeResponseBody.Builder createTimeStamp(Long createTimeStamp)
The timestamp generated when the CA certificate is uploaded.
example:1504147745000
public DescribeLoadBalancerAttributeResponseBody.Builder deleteProtection(String deleteProtection)
Indicates whether deletion protection is enabled for the CLB instance.
Valid values: on and off.
example:off
public DescribeLoadBalancerAttributeResponseBody.Builder endTime(String endTime)
The time when the CLB instance expires.
example:2022-09-08T16:00:00Z
public DescribeLoadBalancerAttributeResponseBody.Builder endTimeStamp(Long endTimeStamp)
The timestamp that indicates the expiration time of the CLB instance.
example:32493801600000
public DescribeLoadBalancerAttributeResponseBody.Builder instanceChargeType(String instanceChargeType)
The metering method of the CLB instance. Valid values:
example:This parameter is available only on the China site and takes effect only when PayType is set to PayOnDemand.
PayBySpec
public DescribeLoadBalancerAttributeResponseBody.Builder internetChargeType(String internetChargeType)
The metering method of the Internet-facing CLB instance. Valid values:
paybytraffic
public DescribeLoadBalancerAttributeResponseBody.Builder listenerPorts(DescribeLoadBalancerAttributeResponseBody.ListenerPorts listenerPorts)
The frontend port used by the CLB instance.
public DescribeLoadBalancerAttributeResponseBody.Builder listenerPortsAndProtocal(DescribeLoadBalancerAttributeResponseBody.ListenerPortsAndProtocal listenerPortsAndProtocal)
The ports or protocols of the listeners.
public DescribeLoadBalancerAttributeResponseBody.Builder listenerPortsAndProtocol(DescribeLoadBalancerAttributeResponseBody.ListenerPortsAndProtocol listenerPortsAndProtocol)
The ports or protocols of the listeners.
public DescribeLoadBalancerAttributeResponseBody.Builder loadBalancerId(String loadBalancerId)
The CLB instance ID.
example:lb-bp1b6c719dfa08ex****
public DescribeLoadBalancerAttributeResponseBody.Builder loadBalancerName(String loadBalancerName)
The name of the CLB instance.
example:lb-instance-test
public DescribeLoadBalancerAttributeResponseBody.Builder loadBalancerSpec(String loadBalancerSpec)
The specification of the CLB instance.
example:Pay-as-you-go CLB instances are not subject to specifications. By default, slb.lcu.elastic is returned.
slb.s1.small
public DescribeLoadBalancerAttributeResponseBody.Builder loadBalancerStatus(String loadBalancerStatus)
The status of the CLB instance. Valid values:
active
public DescribeLoadBalancerAttributeResponseBody.Builder masterZoneId(String masterZoneId)
The ID of the primary zone to which the CLB instance belongs.
example:cn-hangzhou-b
public DescribeLoadBalancerAttributeResponseBody.Builder modificationProtectionReason(String modificationProtectionReason)
The reason why the configuration read-only mode is enabled. The value is 1 to 80 characters in length. It starts with a letter and can contain digits, periods (.), underscores (_), and hyphens (-).
example:This parameter is valid only when ModificationProtectionStatus is set to ConsoleProtection.
Managed instance
public DescribeLoadBalancerAttributeResponseBody.Builder modificationProtectionStatus(String modificationProtectionStatus)
Indicates whether the configuration read-only mode is enabled. Valid values:
example:If this parameter is set to ConsoleProtection, you cannot modify instance configurations in the CLB console. However, you can modify instance configurations by calling API operations.
ConsoleProtection
public DescribeLoadBalancerAttributeResponseBody.Builder networkType(String networkType)
The network type of the CLB instance.
example:vpc
public DescribeLoadBalancerAttributeResponseBody.Builder payType(String payType)
The billing method of the CLB instance. Valid values:
PayOnDemand
public DescribeLoadBalancerAttributeResponseBody.Builder regionId(String regionId)
The region ID of the CLB instance.
example:cn-hangzhou
public DescribeLoadBalancerAttributeResponseBody.Builder regionIdAlias(String regionIdAlias)
The alias of the region to which the CLB instance belongs.
example:hangzhou
public DescribeLoadBalancerAttributeResponseBody.Builder renewalCycUnit(String renewalCycUnit)
The auto-renewal cycle. Valid values: Year and Month. Default value: Month.
example:This parameter is valid only if you create a subscription CLB instance on the Alibaba Cloud China site. In this case, PayType must be set to PrePay and RenewalStatus must be set to AutoRenewal.
Month
public DescribeLoadBalancerAttributeResponseBody.Builder renewalDuration(Integer renewalDuration)
The auto-renewal duration. This parameter is valid only if RenewalStatus is set to AutoRenewal.
Valid values when PeriodUnit is set to Year: 1~5.
Valid values when PeriodUnit is set to Month: 1~ 9.
example:This parameter is valid only when you create a subscription CLB instance on the Alibaba Cloud China site. In this case, the PayType parameter must be set to PrePay.
1
public DescribeLoadBalancerAttributeResponseBody.Builder renewalStatus(String renewalStatus)
Indicates whether auto-renewal is enabled. Valid values:
AutoRenewal: Auto-renewal is enabled.
Normal: Auto-renewal is disabled. You must manually renew the CLB instance.
NotRenewal: The CLB instance will not be renewed upon expiration. If this value is returned, the system does not send notifications until three days before the expiration date.
**
Note This parameter is valid only when you create a subscription CLB instance on the Alibaba Cloud China site. In this case, PayType must be set to PrePay.
AutoRenewal
public DescribeLoadBalancerAttributeResponseBody.Builder requestId(String requestId)
The request ID.
example:365F4154-92F6-4AE4-92F8-7FF34B540710
public DescribeLoadBalancerAttributeResponseBody.Builder resourceGroupId(String resourceGroupId)
The resource group ID.
example:rg-atstuj3rtop****
public DescribeLoadBalancerAttributeResponseBody.Builder slaveZoneId(String slaveZoneId)
The ID of the secondary zone to which the CLB instance belongs.
example:cn-hangzhou-d
public DescribeLoadBalancerAttributeResponseBody.Builder tags(DescribeLoadBalancerAttributeResponseBody.Tags tags)
The tags.
public DescribeLoadBalancerAttributeResponseBody.Builder vSwitchId(String vSwitchId)
The ID of the vSwitch to which the internal-facing CLB instance belongs.
example:vsw-255ecrwq5****
public DescribeLoadBalancerAttributeResponseBody.Builder vpcId(String vpcId)
The ID of the virtual private cloud (VPC) where the internal-facing CLB instance is deployed.
example:vpc-25dvzy9f8****
public DescribeLoadBalancerAttributeResponseBody build()
Copyright © 2026. All rights reserved.