public class SecurityGroupPolicySet extends AbstractModel
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 policy.
|
SecurityGroupPolicy[] |
getIngress()
Get Inbound policy.
|
String |
getVersion()
Get The version of the security group policy.
|
void |
setEgress(SecurityGroupPolicy[] Egress)
Set Outbound policy.
|
void |
setIngress(SecurityGroupPolicy[] Ingress)
Set Inbound policy.
|
void |
setVersion(String Version)
Set The version of the security group policy.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public SecurityGroupPolicySet()
public SecurityGroupPolicySet(SecurityGroupPolicySet source)
public String getVersion()
public void setVersion(String Version)
Version
- The version of the security group policy. The version number is automatically increased by one each time users update the security policy, to prevent the expiration of updated routing policies. Conflict is ignored if it is left empty.public SecurityGroupPolicy[] getEgress()
public void setEgress(SecurityGroupPolicy[] Egress)
Egress
- Outbound policy.public SecurityGroupPolicy[] getIngress()
public void setIngress(SecurityGroupPolicy[] Ingress)
Ingress
- Inbound policy.Copyright © 2021. All rights reserved.