public class CreateLoadBalancerSnatIpsRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateLoadBalancerSnatIpsRequest() | 
| CreateLoadBalancerSnatIpsRequest(CreateLoadBalancerSnatIpsRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getLoadBalancerId()Get 负载均衡唯一性ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。例如:lb-12345678。 | 
| Long | getNumber()Get 添加的SnatIp的个数,可与SnatIps一起使用,但若指定IP时,则不能指定创建的SnatIp个数。默认值为1,数量上限与用户配置有关,默认上限为10。 | 
| SnatIp[] | getSnatIps()Get 添加的SnatIp信息,可指定IP申请,或者指定子网自动申请。可以通过 [DescribeSubnets](https://cloud.tencent.com/document/api/215/15784) 查询获取,单个CLB实例可申请的默认上限为10个。 | 
| void | setLoadBalancerId(String LoadBalancerId)Set 负载均衡唯一性ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。例如:lb-12345678。 | 
| void | setNumber(Long Number)Set 添加的SnatIp的个数,可与SnatIps一起使用,但若指定IP时,则不能指定创建的SnatIp个数。默认值为1,数量上限与用户配置有关,默认上限为10。 | 
| void | setSnatIps(SnatIp[] SnatIps)Set 添加的SnatIp信息,可指定IP申请,或者指定子网自动申请。可以通过 [DescribeSubnets](https://cloud.tencent.com/document/api/215/15784) 查询获取,单个CLB实例可申请的默认上限为10个。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateLoadBalancerSnatIpsRequest()
public CreateLoadBalancerSnatIpsRequest(CreateLoadBalancerSnatIpsRequest source)
public String getLoadBalancerId()
public void setLoadBalancerId(String LoadBalancerId)
LoadBalancerId - 负载均衡唯一性ID,可以通过 [DescribeLoadBalancers](https://cloud.tencent.com/document/product/214/30685) 接口查询。例如:lb-12345678。public SnatIp[] getSnatIps()
public void setSnatIps(SnatIp[] SnatIps)
SnatIps - 添加的SnatIp信息,可指定IP申请,或者指定子网自动申请。可以通过 [DescribeSubnets](https://cloud.tencent.com/document/api/215/15784) 查询获取,单个CLB实例可申请的默认上限为10个。public Long getNumber()
public void setNumber(Long Number)
Number - 添加的SnatIp的个数,可与SnatIps一起使用,但若指定IP时,则不能指定创建的SnatIp个数。默认值为1,数量上限与用户配置有关,默认上限为10。Copyright © 2025. All rights reserved.