public static final class DescribeNetworkInterfacesRequest.Builder extends Object
public DescribeNetworkInterfacesRequest.Builder sourceRegionId(String sourceRegionId)
public DescribeNetworkInterfacesRequest.Builder instanceId(String instanceId)
public DescribeNetworkInterfacesRequest.Builder ipv6Address(List<String> ipv6Address)
public DescribeNetworkInterfacesRequest.Builder maxResults(Integer maxResults)
Default values: * If this parameter is not specified or if this parameter is set to a value less than 10, the default value is 10. * If this parameter is set to a value greater than 500, the default value is 500.
public DescribeNetworkInterfacesRequest.Builder networkInterfaceId(List<String> networkInterfaceId)
public DescribeNetworkInterfacesRequest.Builder networkInterfaceName(String networkInterfaceName)
public DescribeNetworkInterfacesRequest.Builder nextToken(String nextToken)
For more information about how to check the responses returned by this operation, see the preceding "Description" section.
public DescribeNetworkInterfacesRequest.Builder ownerAccount(String ownerAccount)
public DescribeNetworkInterfacesRequest.Builder ownerId(Long ownerId)
public DescribeNetworkInterfacesRequest.Builder pageNumber(Integer pageNumber)
Pages start from page 1. Default value: 1. > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
public DescribeNetworkInterfacesRequest.Builder pageSize(Integer pageSize)
Valid values: 1 to 1000. Default value: 10. > This parameter will be removed in the future. We recommend that you use NextToken and MaxResults for a paged query.
public DescribeNetworkInterfacesRequest.Builder primaryIpAddress(String primaryIpAddress)
public DescribeNetworkInterfacesRequest.Builder privateIpAddress(List<String> privateIpAddress)
public DescribeNetworkInterfacesRequest.Builder regionId(String regionId)
public DescribeNetworkInterfacesRequest.Builder resourceGroupId(String resourceGroupId)
> Resources in the default resource group are displayed in the response regardless of how this parameter is set.
public DescribeNetworkInterfacesRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public DescribeNetworkInterfacesRequest.Builder resourceOwnerId(Long resourceOwnerId)
public DescribeNetworkInterfacesRequest.Builder securityGroupId(String securityGroupId)
* To query the details of secondary ENIs based on the ID of a security group, specify this parameter. * To query the details of primary ENIs based on the ID of a security group, call the [DescribeInstances](~~25506~~) operation and specify the `SecurityGroupId` parameter.
public DescribeNetworkInterfacesRequest.Builder serviceManaged(Boolean serviceManaged)
public DescribeNetworkInterfacesRequest.Builder status(String status)
* Available: The ENI is available. * Attaching: The ENI is being attached to an instance. * InUse: The ENI is attached to an instance. * Detaching: The ENI is being detached from an instance. * Deleting: The ENI is being deleted. This parameter is empty by default, which indicates that ENIs in all states are queried.
public DescribeNetworkInterfacesRequest.Builder tag(List<DescribeNetworkInterfacesRequest.Tag> tag)
public DescribeNetworkInterfacesRequest.Builder type(String type)
* Primary * Secondary This parameter is empty by default, which indicates that both primary and secondary ENIs are queried.
public DescribeNetworkInterfacesRequest.Builder vSwitchId(String vSwitchId)
public DescribeNetworkInterfacesRequest.Builder vpcId(String vpcId)
public DescribeNetworkInterfacesRequest build()
Copyright © 2024. All rights reserved.