public class DescribeSubnetsRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeSubnetsRequest() |
DescribeSubnetsRequest(DescribeSubnetsRequest 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 |
getEcmRegion()
Get ECM region
|
Filter[] |
getFilters()
Get Filter.
|
String |
getLimit()
Get Number of returned results.
|
String |
getOffset()
Get Offset
|
String |
getSort()
Get Sorting method.
|
String[] |
getSubnetIds()
Get Subnet instance ID, such as `subnet-pxir56ns`.
|
void |
setEcmRegion(String EcmRegion)
Set ECM region
|
void |
setFilters(Filter[] Filters)
Set Filter.
|
void |
setLimit(String Limit)
Set Number of returned results.
|
void |
setOffset(String Offset)
Set Offset
|
void |
setSort(String Sort)
Set Sorting method.
|
void |
setSubnetIds(String[] SubnetIds)
Set Subnet instance ID, such as `subnet-pxir56ns`.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeSubnetsRequest()
public DescribeSubnetsRequest(DescribeSubnetsRequest source)
public String[] getSubnetIds()
public void setSubnetIds(String[] SubnetIds)
SubnetIds
- Subnet instance ID, such as `subnet-pxir56ns`. Each request supports a maximum of 100 instances. `SubnetIds` and `Filters` cannot be specified at the same time.public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- Filter. `SubnetIds` and `Filters` cannot be specified at the same time.
subnet-id - String - Subnet instance name.
subnet-name - String - Subnet name. Only fuzzy query by a single value is supported.
cidr-block - String - Subnet IP address range, such as `192.168.1.0`. Only fuzzy query by a single value is supported.
vpc-id - String - VPC instance ID, such as `vpc-f49l6u0z`.
vpc-cidr-block - String - VPC IP address range, such as `192.168.1.0`. Only fuzzy query by a single value is supported.
region - String - ECM region.
zone - String - AZ.
tag-key - String - Required: no - Filter by tag key.
tag:tag-key - String - Required: no - Filter by tag key-value pair.public String getOffset()
public void setOffset(String Offset)
Offset
- Offsetpublic String getLimit()
public void setLimit(String Limit)
Limit
- Number of returned results.public String getEcmRegion()
public void setEcmRegion(String EcmRegion)
EcmRegion
- ECM regionpublic String getSort()
public void setSort(String Sort)
Sort
- Sorting method. time: sort in reverse chronological order; default: sort by network planning.Copyright © 2024. All rights reserved.