public class SecurityGroupSimplifyRule extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| SecurityGroupSimplifyRule() | 
| SecurityGroupSimplifyRule(SecurityGroupSimplifyRule 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 | getDescription()Get 描述 | 
| String | getDestContent()Get 访问目的示例:
net:IP/CIDR(192.168.0.2)
template:参数模板(ipm-dyodhpby)
instance:资产实例(ins-123456)
resourcegroup:资产分组(/全部分组/分组1/子分组1)
tag:资源标签({"Key":"标签key值","Value":"标签Value值"})
region:地域(ap-gaungzhou) | 
| String | getProtocol()Get 协议;TCP/UDP/ICMP/ANY | 
| Long | getRuleUuid()Get 规则对应的唯一id | 
| Long | getSequence()Get 规则序号 | 
| String | getSourceContent()Get 访问源示例:
net:IP/CIDR(192.168.0.2)
template:参数模板(ipm-dyodhpby)
instance:资产实例(ins-123456)
resourcegroup:资产分组(/全部分组/分组1/子分组1)
tag:资源标签({"Key":"标签key值","Value":"标签Value值"})
region:地域(ap-gaungzhou) | 
| void | setDescription(String Description)Set 描述 | 
| void | setDestContent(String DestContent)Set 访问目的示例:
net:IP/CIDR(192.168.0.2)
template:参数模板(ipm-dyodhpby)
instance:资产实例(ins-123456)
resourcegroup:资产分组(/全部分组/分组1/子分组1)
tag:资源标签({"Key":"标签key值","Value":"标签Value值"})
region:地域(ap-gaungzhou) | 
| void | setProtocol(String Protocol)Set 协议;TCP/UDP/ICMP/ANY | 
| void | setRuleUuid(Long RuleUuid)Set 规则对应的唯一id | 
| void | setSequence(Long Sequence)Set 规则序号 | 
| void | setSourceContent(String SourceContent)Set 访问源示例:
net:IP/CIDR(192.168.0.2)
template:参数模板(ipm-dyodhpby)
instance:资产实例(ins-123456)
resourcegroup:资产分组(/全部分组/分组1/子分组1)
tag:资源标签({"Key":"标签key值","Value":"标签Value值"})
region:地域(ap-gaungzhou) | 
| 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 SecurityGroupSimplifyRule()
public SecurityGroupSimplifyRule(SecurityGroupSimplifyRule source)
public String getSourceContent()
public void setSourceContent(String SourceContent)
SourceContent - 访问源示例:
net:IP/CIDR(192.168.0.2)
template:参数模板(ipm-dyodhpby)
instance:资产实例(ins-123456)
resourcegroup:资产分组(/全部分组/分组1/子分组1)
tag:资源标签({"Key":"标签key值","Value":"标签Value值"})
region:地域(ap-gaungzhou)public String getDestContent()
public void setDestContent(String DestContent)
DestContent - 访问目的示例:
net:IP/CIDR(192.168.0.2)
template:参数模板(ipm-dyodhpby)
instance:资产实例(ins-123456)
resourcegroup:资产分组(/全部分组/分组1/子分组1)
tag:资源标签({"Key":"标签key值","Value":"标签Value值"})
region:地域(ap-gaungzhou)public String getProtocol()
public void setProtocol(String Protocol)
Protocol - 协议;TCP/UDP/ICMP/ANYpublic String getDescription()
public void setDescription(String Description)
Description - 描述public Long getRuleUuid()
public void setRuleUuid(Long RuleUuid)
RuleUuid - 规则对应的唯一idpublic Long getSequence()
public void setSequence(Long Sequence)
Sequence - 规则序号Copyright © 2025. All rights reserved.