public class ModifyNetworkInterfaceAttributeRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
description
The description of the ENI.
|
String |
networkInterfaceId
The ID of the ENI.
|
String |
networkInterfaceName
The name of the ENI.
|
String |
ownerAccount |
Long |
ownerId |
Integer |
queueNumber
The number of queues per ENI.
|
String |
regionId
The region ID of the ENI.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
List<String> |
securityGroupId
The list of security group IDs.
|
构造器和说明 |
---|
ModifyNetworkInterfaceAttributeRequest() |
@NameInMap(value="Description") public String description
The description of the ENI. The description must be 2 to 255 characters in length and cannot start with http:// or https://.
This parameter is empty by default.
@NameInMap(value="NetworkInterfaceId") public String networkInterfaceId
The ID of the ENI.
@NameInMap(value="NetworkInterfaceName") public String networkInterfaceName
The name of the ENI. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (\_), and hyphens (-).
This parameter is empty by default.
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="QueueNumber") public Integer queueNumber
The number of queues per ENI. Valid values: 1 to 2048.
* 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.
@NameInMap(value="RegionId") public String regionId
The region ID of the ENI. You can call the [DescribeRegions](~~25609~~) operation to query thecurrent list of regions.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="SecurityGroupId") public List<String> securityGroupId
The list of security group IDs. You can specify up to 5 security group IDs.
- 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 static ModifyNetworkInterfaceAttributeRequest build(Map<String,?> map) throws Exception
Exception
public ModifyNetworkInterfaceAttributeRequest setDescription(String description)
public String getDescription()
public ModifyNetworkInterfaceAttributeRequest setNetworkInterfaceId(String networkInterfaceId)
public String getNetworkInterfaceId()
public ModifyNetworkInterfaceAttributeRequest setNetworkInterfaceName(String networkInterfaceName)
public String getNetworkInterfaceName()
public ModifyNetworkInterfaceAttributeRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ModifyNetworkInterfaceAttributeRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifyNetworkInterfaceAttributeRequest setQueueNumber(Integer queueNumber)
public Integer getQueueNumber()
public ModifyNetworkInterfaceAttributeRequest setRegionId(String regionId)
public String getRegionId()
public ModifyNetworkInterfaceAttributeRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifyNetworkInterfaceAttributeRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ModifyNetworkInterfaceAttributeRequest setSecurityGroupId(List<String> securityGroupId)
Copyright © 2023. All rights reserved.