public class SecurityGroupRuleForCreate extends Object implements Serializable
| Constructor and Description |
|---|
SecurityGroupRuleForCreate() |
SecurityGroupRuleForCreate(Integer parentGroupId,
String ipProtocol,
Integer fromPort,
Integer toPort,
Integer sourceGroupId) |
SecurityGroupRuleForCreate(Integer parentSecurityGroupId,
String ipProtocol,
Integer fromPort,
Integer toPort,
String cidr) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCidr() |
Integer |
getFromPort() |
Integer |
getGroupId() |
String |
getIpProtocol() |
Integer |
getParentGroupId() |
Integer |
getToPort() |
void |
setCidr(String cidr) |
void |
setFromPort(Integer fromPort) |
void |
setGroupId(Integer groupId) |
void |
setIpProtocol(String ipProtocol) |
void |
setParentGroupId(Integer parentGroupId) |
void |
setToPort(Integer toPort) |
String |
toString() |
public SecurityGroupRuleForCreate()
public SecurityGroupRuleForCreate(Integer parentSecurityGroupId, String ipProtocol, Integer fromPort, Integer toPort, String cidr)
public Integer getParentGroupId()
public void setParentGroupId(Integer parentGroupId)
parentGroupId - the parentGroupId to setpublic Integer getFromPort()
public void setFromPort(Integer fromPort)
fromPort - the fromPort to setpublic Integer getToPort()
public void setToPort(Integer toPort)
toPort - the toPort to setpublic String getIpProtocol()
public void setIpProtocol(String ipProtocol)
ipProtocol - the ipProtocol to setpublic String getCidr()
public void setCidr(String cidr)
cidr - the cidr to setpublic Integer getGroupId()
public void setGroupId(Integer groupId)
groupId - the groupId to setCopyright © 2012–2015. All rights reserved.