public class SecurityGroupPolicySet extends AbstractModel
header, skipSign
Constructor and Description |
---|
SecurityGroupPolicySet() |
SecurityGroupPolicySet(SecurityGroupPolicySet 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 |
---|---|
SecurityGroupPolicy[] |
getEgress()
Get Outbound rule.
|
SecurityGroupPolicy[] |
getIngress()
Get Inbound rule.
|
String |
getVersion()
Get The version number of the security group policy, which will automatically increase by one each time you update the security group policy, so as to prevent expiration of the updated routing policies.
|
void |
setEgress(SecurityGroupPolicy[] Egress)
Set Outbound rule.
|
void |
setIngress(SecurityGroupPolicy[] Ingress)
Set Inbound rule.
|
void |
setVersion(String Version)
Set The version number of the security group policy, which will automatically increase by one each time you update the security group policy, so as to prevent expiration of the updated routing policies.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SecurityGroupPolicySet()
public SecurityGroupPolicySet(SecurityGroupPolicySet source)
public String getVersion()
public void setVersion(String Version)
Version
- The version number of the security group policy, which will automatically increase by one each time you update the security group policy, so as to prevent expiration of the updated routing policies. If it is left empty, any conflicts will be ignored.public SecurityGroupPolicy[] getEgress()
public void setEgress(SecurityGroupPolicy[] Egress)
Egress
- Outbound rule. You must select either an outbound rule or inbound rule.public SecurityGroupPolicy[] getIngress()
public void setIngress(SecurityGroupPolicy[] Ingress)
Ingress
- Inbound rule. You must select either outbound rule or inbound rule.Copyright © 2024. All rights reserved.