public class SecurityGroupRuleForCreate extends Object implements Serializable
Constructor and Description |
---|
SecurityGroupRuleForCreate() |
SecurityGroupRuleForCreate(Integer parentGroupId,
String ipProtocol,
Integer fromPort,
Integer toPort,
Integer sourceGroupId)
Deprecated.
Ids in some installs have shown to use strings .Use
SecurityGroupRuleForCreate(String, String, String, Integer, Integer) |
SecurityGroupRuleForCreate(Integer parentSecurityGroupId,
String ipProtocol,
Integer fromPort,
Integer toPort,
String cidr)
Deprecated.
Ids in some installs have shown to use strings .Use
SecurityGroupRuleForCreate(String, String, Integer, Integer, String) |
SecurityGroupRuleForCreate(String parentSecurityGroupId,
String ipProtocol,
Integer fromPort,
Integer toPort,
String cidr) |
SecurityGroupRuleForCreate(String parentGroupId,
String sourceGroupId,
String ipProtocol,
Integer fromPort,
Integer toPort) |
Modifier and Type | Method and Description |
---|---|
String |
getCidr() |
Integer |
getFromPort() |
String |
getGroupId() |
String |
getIpProtocol() |
String |
getParentGroupId() |
Integer |
getToPort() |
void |
setCidr(String cidr) |
void |
setFromPort(Integer fromPort) |
void |
setGroupId(Integer groupId)
Deprecated.
|
void |
setGroupId(String groupId) |
void |
setIpProtocol(String ipProtocol) |
void |
setParentGroupId(Integer parentGroupId)
Deprecated.
|
void |
setParentGroupId(String parentGroupId) |
void |
setToPort(Integer toPort) |
String |
toString() |
public SecurityGroupRuleForCreate()
@Deprecated public SecurityGroupRuleForCreate(Integer parentSecurityGroupId, String ipProtocol, Integer fromPort, Integer toPort, String cidr)
SecurityGroupRuleForCreate(String, String, Integer, Integer, String)
parentSecurityGroupId
- ipProtocol
- fromPort
- toPort
- cidr
- @Deprecated public SecurityGroupRuleForCreate(Integer parentGroupId, String ipProtocol, Integer fromPort, Integer toPort, Integer sourceGroupId)
SecurityGroupRuleForCreate(String, String, String, Integer, Integer)
parentGroupId
- ipProtocol
- fromPort
- toPort
- sourceGroupId
- public SecurityGroupRuleForCreate(String parentSecurityGroupId, String ipProtocol, Integer fromPort, Integer toPort, String cidr)
public String getParentGroupId()
public void setParentGroupId(Integer parentGroupId)
setParentGroupId(String)
parentGroupId
- the parentGroupId to setpublic void setParentGroupId(String 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 String getGroupId()
public void setGroupId(Integer groupId)
setGroupId(String)
groupId
- the groupId to setpublic void setGroupId(String groupId)
groupId
- the groupId to setCopyright © 2012-2019. All Rights Reserved.