public class DescribeSecurityGroupAttributeRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
direction
The direction in which the security group rule is applied.
|
Integer |
maxResults
The maximum number of entries per page.
|
String |
nextToken
The pagination token that is used in the next request to retrieve a new page of results.
|
String |
nicType
The network interface controller (NIC) type of the security group rule.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the security group.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
securityGroupId
The ID of the security group.
|
构造器和说明 |
---|
DescribeSecurityGroupAttributeRequest() |
@NameInMap(value="Direction") public String direction
The direction in which the security group rule is applied. Valid values:
Default value: all.
example:all
@NameInMap(value="MaxResults") public Integer maxResults
The maximum number of entries per page.
Default value: 500.
example:500
@NameInMap(value="NextToken") public String nextToken
The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.
example:AAAAAdDWBF2****
@NameInMap(value="NicType") public String nicType
The network interface controller (NIC) type of the security group rule.
Valid values for rules of security groups in the classic network:
**
Note You can query security group rules of only one NIC type in a single call. To query security group rules of both NIC types, call the operation twice.
When the security group is in a virtual private cloud (VPC), set the value to intranet, which is the default value for rules of security groups in VPCs.
**
Note If you set this parameter to internet or leave this parameter empty, a value of intranet is automatically used.
intranet
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the security group. 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="SecurityGroupId") public String securityGroupId
The ID of the security group.
This parameter is required.
example:sg-bp1gxw6bznjjvhu3****
public static DescribeSecurityGroupAttributeRequest build(Map<String,?> map) throws Exception
Exception
public DescribeSecurityGroupAttributeRequest setDirection(String direction)
public String getDirection()
public DescribeSecurityGroupAttributeRequest setMaxResults(Integer maxResults)
public Integer getMaxResults()
public DescribeSecurityGroupAttributeRequest setNextToken(String nextToken)
public String getNextToken()
public DescribeSecurityGroupAttributeRequest setNicType(String nicType)
public String getNicType()
public DescribeSecurityGroupAttributeRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeSecurityGroupAttributeRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeSecurityGroupAttributeRequest setRegionId(String regionId)
public String getRegionId()
public DescribeSecurityGroupAttributeRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeSecurityGroupAttributeRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeSecurityGroupAttributeRequest setSecurityGroupId(String securityGroupId)
public String getSecurityGroupId()
Copyright © 2024. All rights reserved.