public static final class ModifyNetworkInterfaceAttributeRequest.NetworkInterfaceTrafficConfig.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
ModifyNetworkInterfaceAttributeRequest.NetworkInterfaceTrafficConfig |
build() |
ModifyNetworkInterfaceAttributeRequest.NetworkInterfaceTrafficConfig.Builder |
networkInterfaceTrafficMode(String networkInterfaceTrafficMode)
The communication mode of the ENI.
|
ModifyNetworkInterfaceAttributeRequest.NetworkInterfaceTrafficConfig.Builder |
queueNumber(Integer queueNumber)
The number of queues supported by the ENI.
|
ModifyNetworkInterfaceAttributeRequest.NetworkInterfaceTrafficConfig.Builder |
queuePairNumber(Integer queuePairNumber)
The number of queues supported by the ERI.
|
ModifyNetworkInterfaceAttributeRequest.NetworkInterfaceTrafficConfig.Builder |
rxQueueSize(Integer rxQueueSize)
The receive (Rx) queue depth of the ENI.
|
ModifyNetworkInterfaceAttributeRequest.NetworkInterfaceTrafficConfig.Builder |
txQueueSize(Integer txQueueSize)
The Tx queue depth of the ENI.
|
public ModifyNetworkInterfaceAttributeRequest.NetworkInterfaceTrafficConfig.Builder networkInterfaceTrafficMode(String networkInterfaceTrafficMode)
* Standard: uses the TCP communication mode. * HighPerformance: uses the remote direct memory access (RDMA) communication mode with Elastic RDMA Interface (ERI) enabled. When the ENI is in the InUse state, take note of the following items: * The total number of ERIs attached to the instance cannot exceed the ERI quota for the instance type. To query the ERI quota for an instance type, call the DescribeInstanceTypes operation and check the EriQuantity value in the response. > This parameter is in invitational preview and is not publicly available.
public ModifyNetworkInterfaceAttributeRequest.NetworkInterfaceTrafficConfig.Builder queueNumber(Integer queueNumber)
* The value of this parameter cannot exceed the maximum number of queues allowed per ENI for the instance type. * The total number of queues for all ENIs on the instance cannot exceed the queue quota for the instance type. To query the maximum number of queues per ENI and the queue quota for an instance type, call the DescribeInstanceTypes operation and check the MaximumQueueNumberPerEnig and TotalEniQueueQuantity values in the response. > This parameter is in invitational preview and is not publicly available.
public ModifyNetworkInterfaceAttributeRequest.NetworkInterfaceTrafficConfig.Builder queuePairNumber(Integer queuePairNumber)
* The value of this parameter cannot exceed the maximum number of queues allowed per ERI for the instance type. To query the maximum number of queues allowed per ERI for an instance type, call the DescribeInstanceTypes operation and check the QueuePairNumber value in the response. > This parameter is in invitational preview and is not publicly available.
public ModifyNetworkInterfaceAttributeRequest.NetworkInterfaceTrafficConfig.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. > This parameter is in invitational preview and is not publicly available.
public ModifyNetworkInterfaceAttributeRequest.NetworkInterfaceTrafficConfig.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. > This parameter is in invitational preview and is not publicly available.
public ModifyNetworkInterfaceAttributeRequest.NetworkInterfaceTrafficConfig build()
Copyright © 2024. All rights reserved.