public class UpdateNetworkAclEntriesRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
UpdateNetworkAclEntriesRequest.UpdateNetworkAclEntriesRequestEgressAclEntries |
static class |
UpdateNetworkAclEntriesRequest.UpdateNetworkAclEntriesRequestIngressAclEntries |
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
dryRun
Specifies whether to perform only a dry run, without performing the actual request.
|
List<UpdateNetworkAclEntriesRequest.UpdateNetworkAclEntriesRequestEgressAclEntries> |
egressAclEntries
The information about the outbound rules.
|
List<UpdateNetworkAclEntriesRequest.UpdateNetworkAclEntriesRequestIngressAclEntries> |
ingressAclEntries
The information about the inbound rule.
|
String |
networkAclId
The ID of the network ACL.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the network ACL.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
Boolean |
updateEgressAclEntries
Specifies whether to update outbound rules.
|
Boolean |
updateIngressAclEntries
Specifies whether to update inbound rules.
|
构造器和说明 |
---|
UpdateNetworkAclEntriesRequest() |
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request.
You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
example:If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
123e4567-e89b-12d3-a456-426655440000
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
DryRunOperation
error code is returned.true
@NameInMap(value="EgressAclEntries") public List<UpdateNetworkAclEntriesRequest.UpdateNetworkAclEntriesRequestEgressAclEntries> egressAclEntries
The information about the outbound rules.
@NameInMap(value="IngressAclEntries") public List<UpdateNetworkAclEntriesRequest.UpdateNetworkAclEntriesRequestIngressAclEntries> ingressAclEntries
The information about the inbound rule.
@NameInMap(value="NetworkAclId") public String networkAclId
The ID of the network ACL.
This parameter is required.
example:nacl-bp1lhl0taikrzxsc****
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the network ACL.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="UpdateEgressAclEntries") public Boolean updateEgressAclEntries
Specifies whether to update outbound rules. Valid values:
example:This parameter cannot be used to add outbound rules to ACLs. If you want to add more outbound rules to ACLs, specify both the existing rule and the rule that you want to add when you call this API operation. If you specify only the rule that you want to add, it overwrites the existing rule.
false
@NameInMap(value="UpdateIngressAclEntries") public Boolean updateIngressAclEntries
Specifies whether to update inbound rules. Valid values:
example:This parameter cannot be used to add inbound rules to ACLs. If you want to add more inbound rules to ACLs, you must specify both the existing rule and the rule that you want to add when you call this API operation. If you specify only the rule that you want to add, it overwrites the existing rule.
false
public static UpdateNetworkAclEntriesRequest build(Map<String,?> map) throws Exception
Exception
public UpdateNetworkAclEntriesRequest setClientToken(String clientToken)
public String getClientToken()
public UpdateNetworkAclEntriesRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public UpdateNetworkAclEntriesRequest setEgressAclEntries(List<UpdateNetworkAclEntriesRequest.UpdateNetworkAclEntriesRequestEgressAclEntries> egressAclEntries)
public List<UpdateNetworkAclEntriesRequest.UpdateNetworkAclEntriesRequestEgressAclEntries> getEgressAclEntries()
public UpdateNetworkAclEntriesRequest setIngressAclEntries(List<UpdateNetworkAclEntriesRequest.UpdateNetworkAclEntriesRequestIngressAclEntries> ingressAclEntries)
public List<UpdateNetworkAclEntriesRequest.UpdateNetworkAclEntriesRequestIngressAclEntries> getIngressAclEntries()
public UpdateNetworkAclEntriesRequest setNetworkAclId(String networkAclId)
public String getNetworkAclId()
public UpdateNetworkAclEntriesRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public UpdateNetworkAclEntriesRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public UpdateNetworkAclEntriesRequest setRegionId(String regionId)
public String getRegionId()
public UpdateNetworkAclEntriesRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public UpdateNetworkAclEntriesRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public UpdateNetworkAclEntriesRequest setUpdateEgressAclEntries(Boolean updateEgressAclEntries)
public Boolean getUpdateEgressAclEntries()
public UpdateNetworkAclEntriesRequest setUpdateIngressAclEntries(Boolean updateIngressAclEntries)
public Boolean getUpdateIngressAclEntries()
Copyright © 2024. All rights reserved.