public class DescribeSecurityGroupPoliciesRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DescribeSecurityGroupPoliciesRequest() | 
| DescribeSecurityGroupPoliciesRequest(DescribeSecurityGroupPoliciesRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Filter[] | getFilters()Get 过滤条件。
security-group-id - String - 规则中的安全组ID。
ip - String - IP,支持IPV4和IPV6模糊匹配。
address-module - String - IP地址模板或IP地址组模板ID。
service-module - String - 协议端口模板或协议端口组模板ID。
protocol-type - String - 安全组策略支持的协议,可选值:`TCP`, `UDP`, `ICMP`, `ICMPV6`, `GRE`, `ALL`。
port - String - 是否必填:否 -协议端口,支持模糊匹配,值为`ALL`时,查询所有的端口。
poly - String - 协议策略,可选值:`ALL`,所有策略;`ACCEPT`,允许;`DROP`,拒绝。
direction - String - 协议规则,可选值:`ALL`,所有策略;`INBOUND`,入站规则;`OUTBOUND`,出站规则。
description - String - 协议描述,该过滤条件支持模糊匹配。 | 
| String | getSecurityGroupId()Get 安全组实例ID,例如:sg-33ocnj9n,可通过DescribeSecurityGroups获取。 | 
| void | setFilters(Filter[] Filters)Set 过滤条件。
security-group-id - String - 规则中的安全组ID。
ip - String - IP,支持IPV4和IPV6模糊匹配。
address-module - String - IP地址模板或IP地址组模板ID。
service-module - String - 协议端口模板或协议端口组模板ID。
protocol-type - String - 安全组策略支持的协议,可选值:`TCP`, `UDP`, `ICMP`, `ICMPV6`, `GRE`, `ALL`。
port - String - 是否必填:否 -协议端口,支持模糊匹配,值为`ALL`时,查询所有的端口。
poly - String - 协议策略,可选值:`ALL`,所有策略;`ACCEPT`,允许;`DROP`,拒绝。
direction - String - 协议规则,可选值:`ALL`,所有策略;`INBOUND`,入站规则;`OUTBOUND`,出站规则。
description - String - 协议描述,该过滤条件支持模糊匹配。 | 
| void | setSecurityGroupId(String SecurityGroupId)Set 安全组实例ID,例如:sg-33ocnj9n,可通过DescribeSecurityGroups获取。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DescribeSecurityGroupPoliciesRequest()
public DescribeSecurityGroupPoliciesRequest(DescribeSecurityGroupPoliciesRequest source)
public String getSecurityGroupId()
public void setSecurityGroupId(String SecurityGroupId)
SecurityGroupId - 安全组实例ID,例如:sg-33ocnj9n,可通过DescribeSecurityGroups获取。public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters - 过滤条件。
Copyright © 2025. All rights reserved.