public class DescribeNetworkInterfacesRequest extends AbstractModel
Constructor and Description |
---|
DescribeNetworkInterfacesRequest() |
DescribeNetworkInterfacesRequest(DescribeNetworkInterfacesRequest 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, such as `ap-xian-ecm`.
|
Filter[] |
getFilters()
Get Filter.
|
Long |
getLimit()
Get Number of results to be returned.
|
String[] |
getNetworkInterfaceIds()
Get Queries the ID of the ENI instance, such as `eni-pxir56ns`.
|
Long |
getOffset()
Get Offset.
|
void |
setEcmRegion(String EcmRegion)
Set ECM region, such as `ap-xian-ecm`.
|
void |
setFilters(Filter[] Filters)
Set Filter.
|
void |
setLimit(Long Limit)
Set Number of results to be returned.
|
void |
setNetworkInterfaceIds(String[] NetworkInterfaceIds)
Set Queries the ID of the ENI instance, such as `eni-pxir56ns`.
|
void |
setOffset(Long Offset)
Set Offset.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public DescribeNetworkInterfacesRequest()
public DescribeNetworkInterfacesRequest(DescribeNetworkInterfacesRequest source)
public String[] getNetworkInterfaceIds()
public void setNetworkInterfaceIds(String[] NetworkInterfaceIds)
NetworkInterfaceIds
- Queries the ID of the ENI instance, such as `eni-pxir56ns`. Each request supports a maximum of 100 instances. `NetworkInterfaceIds` and `Filters` cannot be specified at the same time.public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- Filter. `NetworkInterfaceIds` and `Filters` cannot be specified at the same time.
vpc-id - String - (Filter) VPC instance ID, such as `vpc-f49l6u0z`.
subnet-id - String - (Filter) Subnet instance ID, such as `subnet-f49l6u0z`.
network-interface-id - String - (Filter) ENI instance ID, such as `eni-5k56k7k7`.
attachment.instance-id - String - (Filter) ID of the bound CVM instance, such as `ein-3nqpdn3i`.
groups.security-group-id - String - (Filter) ID of the bound security group instance, such as `sg-f9ekbxeq`.
network-interface-name - String - (Filter) ENI instance name.
network-interface-description - String - (Filter) ENI instance description.
address-ip - String - (Filter) Private IPv4 address.
tag-key - String - Required: no - (Filter) Filter by tag key. For directions, see Sample 2.
tag:tag-key - String - Required: no - (Filter) Filter by tag key-value pair. Replace `tag-key` with the specific tag key. For directions, see Sample 3.
is-primary - Boolean - Required: no - (Filter) Filter by whether it is a primary ENI. true: filter only by primary ENI; false: filter only by secondary ENI. If this parameter is not specified, filtering by both primary and secondary ENIs will be used.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset. Default value: 0.public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of results to be returned. Default value: 20. Maximum value: 100.public String getEcmRegion()
public void setEcmRegion(String EcmRegion)
EcmRegion
- ECM region, such as `ap-xian-ecm`.Copyright © 2023. All rights reserved.