public static final class ModifyNetworkInterfaceAttributeRequest.Builder extends Object
public ModifyNetworkInterfaceAttributeRequest.Builder sourceRegionId(String sourceRegionId)
public ModifyNetworkInterfaceAttributeRequest.Builder description(String description)
This parameter is empty by default.
public ModifyNetworkInterfaceAttributeRequest.Builder networkInterfaceId(String networkInterfaceId)
public ModifyNetworkInterfaceAttributeRequest.Builder networkInterfaceName(String networkInterfaceName)
This parameter is empty by default.
public ModifyNetworkInterfaceAttributeRequest.Builder ownerAccount(String ownerAccount)
public ModifyNetworkInterfaceAttributeRequest.Builder ownerId(Long ownerId)
public ModifyNetworkInterfaceAttributeRequest.Builder queueNumber(Integer queueNumber)
* You can modify the number of queues supported only by the secondary ENI. * You can modify the number of queues supported by the secondary ENI only when the ENI is in the `Available` state, or the secondary ENI is bound (`InUse`) to an instance that is in the `Stopped` state. * The number of queues supported by the secondary ENI cannot exceed the maximum number of queues that the instance allows for each ENI. The total number of queues for all ENIs on the instance cannot exceed the queue quota that the instance allows. To obtain information about the maximum number of queues per ENI and the queue quota for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation to query the `MaximumQueueNumberPerEni` and `TotalEniQueueQuantity` values.
public ModifyNetworkInterfaceAttributeRequest.Builder regionId(String regionId)
public ModifyNetworkInterfaceAttributeRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyNetworkInterfaceAttributeRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyNetworkInterfaceAttributeRequest.Builder securityGroupId(List<String> securityGroupId)
- You can modify only the security groups to which the secondary ENI is added. - After you specify a security group, the secondary ENI is added to the specified security group and removed from the existing security group. > After you modify the security group, the modification takes effect after a short delay.
public ModifyNetworkInterfaceAttributeRequest build()
Copyright © 2023. All rights reserved.