public class UsgPolicy extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| UsgPolicy() | 
| UsgPolicy(UsgPolicy 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 | 
|---|---|
| String | getAction()Get 匹配后行为:ACCEPT/DROP | 
| String | getAddressModule()Get 地址组id代表的地址集合 | 
| String | getDesc()Get 备注 | 
| String | getId()Get 安全组id代表的地址集合 | 
| String | getIp()Get cidr格式地址 | 
| String | getPort()Get 端口 | 
| String | getProto()Get 协议 | 
| String | getServiceModule()Get 服务组id代表的协议和端口集合 | 
| void | setAction(String Action)Set 匹配后行为:ACCEPT/DROP | 
| void | setAddressModule(String AddressModule)Set 地址组id代表的地址集合 | 
| void | setDesc(String Desc)Set 备注 | 
| void | setId(String Id)Set 安全组id代表的地址集合 | 
| void | setIp(String Ip)Set cidr格式地址 | 
| void | setPort(String Port)Set 端口 | 
| void | setProto(String Proto)Set 协议 | 
| void | setServiceModule(String ServiceModule)Set 服务组id代表的协议和端口集合 | 
| 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 UsgPolicy()
public UsgPolicy(UsgPolicy source)
public String getIp()
public void setIp(String Ip)
Ip - cidr格式地址public String getId()
public void setId(String Id)
Id - 安全组id代表的地址集合public String getAddressModule()
public void setAddressModule(String AddressModule)
AddressModule - 地址组id代表的地址集合public String getProto()
public void setProto(String Proto)
Proto - 协议public String getPort()
public void setPort(String Port)
Port - 端口public String getServiceModule()
public void setServiceModule(String ServiceModule)
ServiceModule - 服务组id代表的协议和端口集合public String getDesc()
public void setDesc(String Desc)
Desc - 备注public String getAction()
public void setAction(String Action)
Action - 匹配后行为:ACCEPT/DROPCopyright © 2025. All rights reserved.