public static final class ModifyNetworkInterfaceAttributeRequest.Builder extends Object
public ModifyNetworkInterfaceAttributeRequest.Builder sourceRegionId(String sourceRegionId)
public ModifyNetworkInterfaceAttributeRequest.Builder connectionTrackingConfiguration(ModifyNetworkInterfaceAttributeRequest.ConnectionTrackingConfiguration connectionTrackingConfiguration)
public ModifyNetworkInterfaceAttributeRequest.Builder deleteOnRelease(Boolean deleteOnRelease)
* true * false
public ModifyNetworkInterfaceAttributeRequest.Builder description(String description)
This parameter is left empty by default.
public ModifyNetworkInterfaceAttributeRequest.Builder enhancedNetwork(ModifyNetworkInterfaceAttributeRequest.EnhancedNetwork enhancedNetwork)
public ModifyNetworkInterfaceAttributeRequest.Builder networkInterfaceId(String networkInterfaceId)
public ModifyNetworkInterfaceAttributeRequest.Builder networkInterfaceName(String networkInterfaceName)
This parameter is left empty by default.
public ModifyNetworkInterfaceAttributeRequest.Builder networkInterfaceTrafficConfig(ModifyNetworkInterfaceAttributeRequest.NetworkInterfaceTrafficConfig networkInterfaceTrafficConfig)
public ModifyNetworkInterfaceAttributeRequest.Builder ownerAccount(String ownerAccount)
public ModifyNetworkInterfaceAttributeRequest.Builder ownerId(Long ownerId)
public ModifyNetworkInterfaceAttributeRequest.Builder queueNumber(Integer queueNumber)
* You can change only the number of queues supported by the secondary ENI. * You can change the number of queues supported by the secondary ENI only when the ENI is in the `Available` state or the ENI is attached (`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 query the maximum number of queues per ENI and the queue quota for an instance type, you can call the [DescribeInstanceTypes](~~25620~~) operation and check the values of `MaximumQueueNumberPerEni` and `TotalEniQueueQuantity` in the response.
public ModifyNetworkInterfaceAttributeRequest.Builder regionId(String regionId)
public ModifyNetworkInterfaceAttributeRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyNetworkInterfaceAttributeRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyNetworkInterfaceAttributeRequest.Builder rxQueueSize(Integer rxQueueSize)
Take note of the following items: * The Rx queue depth of an ENI must be the same as the transmit (Tx) queue depth of the ENI. Valid values: powers of 2 in the range of 8192 to 16384. * A larger Rx queue depth yields higher inbound throughput but consumes more memory.
public ModifyNetworkInterfaceAttributeRequest.Builder securityGroupId(List<String> securityGroupId)
* The valid values of N vary based on the maximum number of security groups to which an ENI can be added. For more information, see the [Security group limits](~~25412#SecurityGroupQuota~~) section of the "Limits and quotas" topic. * The new security groups take effect after a short delay.
public ModifyNetworkInterfaceAttributeRequest.Builder txQueueSize(Integer txQueueSize)
Take note of the following items: * The Tx queue depth of an ENI must be the same as the Rx queue depth of the ENI. Valid values: powers of 2 in the range of 8192 to 16384. * A larger Tx queue depth yields higher outbound throughput but consumes more memory.
public ModifyNetworkInterfaceAttributeRequest build()
Copyright © 2024. All rights reserved.