Class DescribeNatGatewaysRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.models.DescribeNatGatewaysRequest
-
public class DescribeNatGatewaysRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeNatGatewaysRequest()DescribeNatGatewaysRequest(DescribeNatGatewaysRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Filter[]getFilters()Get 过滤条件,参数不支持同时指定NatGatewayIds和Filters。每次请求的Filters的上限为10,Filter.Values的上限为5。 nat-gateway-id - String - (过滤条件)协议端口模板实例ID,形如:`nat-123xx454`。 vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。 nat-gateway-name - String - (过滤条件)协议端口模板实例ID,形如:`test_nat`。 tag-key - String - (过滤条件)标签键,形如:`test-key`。LonggetLimit()Get 返回数量,默认为20,最大值为100。String[]getNatGatewayIds()Get NAT网关统一 ID,形如:`nat-123xx454`。每次请求的实例上限为100。参数不支持同时指定NatGatewayIds和Filters。LonggetOffset()Get 偏移量,默认为0。voidsetFilters(Filter[] Filters)Set 过滤条件,参数不支持同时指定NatGatewayIds和Filters。每次请求的Filters的上限为10,Filter.Values的上限为5。 nat-gateway-id - String - (过滤条件)协议端口模板实例ID,形如:`nat-123xx454`。 vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。 nat-gateway-name - String - (过滤条件)协议端口模板实例ID,形如:`test_nat`。 tag-key - String - (过滤条件)标签键,形如:`test-key`。voidsetLimit(Long Limit)Set 返回数量,默认为20,最大值为100。voidsetNatGatewayIds(String[] NatGatewayIds)Set NAT网关统一 ID,形如:`nat-123xx454`。每次请求的实例上限为100。参数不支持同时指定NatGatewayIds和Filters。voidsetOffset(Long Offset)Set 偏移量,默认为0。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DescribeNatGatewaysRequest
public DescribeNatGatewaysRequest()
-
DescribeNatGatewaysRequest
public DescribeNatGatewaysRequest(DescribeNatGatewaysRequest 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.
-
-
Method Detail
-
getNatGatewayIds
public String[] getNatGatewayIds()
Get NAT网关统一 ID,形如:`nat-123xx454`。每次请求的实例上限为100。参数不支持同时指定NatGatewayIds和Filters。- Returns:
- NatGatewayIds NAT网关统一 ID,形如:`nat-123xx454`。每次请求的实例上限为100。参数不支持同时指定NatGatewayIds和Filters。
-
setNatGatewayIds
public void setNatGatewayIds(String[] NatGatewayIds)
Set NAT网关统一 ID,形如:`nat-123xx454`。每次请求的实例上限为100。参数不支持同时指定NatGatewayIds和Filters。- Parameters:
NatGatewayIds- NAT网关统一 ID,形如:`nat-123xx454`。每次请求的实例上限为100。参数不支持同时指定NatGatewayIds和Filters。
-
getFilters
public Filter[] getFilters()
Get 过滤条件,参数不支持同时指定NatGatewayIds和Filters。每次请求的Filters的上限为10,Filter.Values的上限为5。- nat-gateway-id - String - (过滤条件)协议端口模板实例ID,形如:`nat-123xx454`。
- vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。
- nat-gateway-name - String - (过滤条件)协议端口模板实例ID,形如:`test_nat`。
- tag-key - String - (过滤条件)标签键,形如:`test-key`。
- Returns:
- Filters 过滤条件,参数不支持同时指定NatGatewayIds和Filters。每次请求的Filters的上限为10,Filter.Values的上限为5。
- nat-gateway-id - String - (过滤条件)协议端口模板实例ID,形如:`nat-123xx454`。
- vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。
- nat-gateway-name - String - (过滤条件)协议端口模板实例ID,形如:`test_nat`。
- tag-key - String - (过滤条件)标签键,形如:`test-key`。
-
setFilters
public void setFilters(Filter[] Filters)
Set 过滤条件,参数不支持同时指定NatGatewayIds和Filters。每次请求的Filters的上限为10,Filter.Values的上限为5。- nat-gateway-id - String - (过滤条件)协议端口模板实例ID,形如:`nat-123xx454`。
- vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。
- nat-gateway-name - String - (过滤条件)协议端口模板实例ID,形如:`test_nat`。
- tag-key - String - (过滤条件)标签键,形如:`test-key`。
- Parameters:
Filters- 过滤条件,参数不支持同时指定NatGatewayIds和Filters。每次请求的Filters的上限为10,Filter.Values的上限为5。- nat-gateway-id - String - (过滤条件)协议端口模板实例ID,形如:`nat-123xx454`。
- vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。
- nat-gateway-name - String - (过滤条件)协议端口模板实例ID,形如:`test_nat`。
- tag-key - String - (过滤条件)标签键,形如:`test-key`。
-
getOffset
public Long getOffset()
Get 偏移量,默认为0。- Returns:
- Offset 偏移量,默认为0。
-
setOffset
public void setOffset(Long Offset)
Set 偏移量,默认为0。- Parameters:
Offset- 偏移量,默认为0。
-
getLimit
public Long getLimit()
Get 返回数量,默认为20,最大值为100。- Returns:
- Limit 返回数量,默认为20,最大值为100。
-
setLimit
public void setLimit(Long Limit)
Set 返回数量,默认为20,最大值为100。- Parameters:
Limit- 返回数量,默认为20,最大值为100。
-
-