public static class AssociateNetworkAclRequest.AssociateNetworkAclRequestResource
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
resourceId
The ID of the associated resource.
|
String |
resourceType
The type of resource with which you want to associate the network ACL.
|
构造器和说明 |
---|
AssociateNetworkAclRequestResource() |
限定符和类型 | 方法和说明 |
---|---|
static AssociateNetworkAclRequest.AssociateNetworkAclRequestResource |
build(Map<String,?> map) |
String |
getResourceId() |
String |
getResourceType() |
AssociateNetworkAclRequest.AssociateNetworkAclRequestResource |
setResourceId(String resourceId) |
AssociateNetworkAclRequest.AssociateNetworkAclRequestResource |
setResourceType(String resourceType) |
@NameInMap(value="ResourceId") public String resourceId
The ID of the associated resource.
example:vsw-bp1de348lntdw****
@NameInMap(value="ResourceType") public String resourceType
The type of resource with which you want to associate the network ACL. Set the value to VSwitch.
Valid values of N: 0 to 29. You can associate a network ACL with up to 30 vSwitches.
example:VSwitch
public static AssociateNetworkAclRequest.AssociateNetworkAclRequestResource build(Map<String,?> map) throws Exception
Exception
public AssociateNetworkAclRequest.AssociateNetworkAclRequestResource setResourceId(String resourceId)
public String getResourceId()
public AssociateNetworkAclRequest.AssociateNetworkAclRequestResource setResourceType(String resourceType)
public String getResourceType()
Copyright © 2024. All rights reserved.