Package com.woorea.openstack.nova.model
Class SecurityGroupRuleForCreate
java.lang.Object
com.woorea.openstack.nova.model.SecurityGroupRuleForCreate
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSecurityGroupRuleForCreate(Integer parentGroupId, String ipProtocol, Integer fromPort, Integer toPort, Integer sourceGroupId) Deprecated.SecurityGroupRuleForCreate(Integer parentSecurityGroupId, String ipProtocol, Integer fromPort, Integer toPort, String cidr) Deprecated.Ids in some installs have shown to use strings .UseSecurityGroupRuleForCreate(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) -
Method Summary
Modifier and TypeMethodDescriptiongetCidr()voidvoidsetFromPort(Integer fromPort) voidsetGroupId(Integer groupId) Deprecated.voidsetGroupId(String groupId) voidsetIpProtocol(String ipProtocol) voidsetParentGroupId(Integer parentGroupId) Deprecated.voidsetParentGroupId(String parentGroupId) voidtoString()
-
Field Details
-
parentGroupId
-
ipProtocol
-
fromPort
-
toPort
-
cidr
-
groupId
-
-
Constructor Details
-
SecurityGroupRuleForCreate
public SecurityGroupRuleForCreate() -
SecurityGroupRuleForCreate
@Deprecated public SecurityGroupRuleForCreate(Integer parentSecurityGroupId, String ipProtocol, Integer fromPort, Integer toPort, String cidr) Deprecated.Ids in some installs have shown to use strings .UseSecurityGroupRuleForCreate(String, String, Integer, Integer, String)- Parameters:
parentSecurityGroupId-ipProtocol-fromPort-toPort-cidr-
-
SecurityGroupRuleForCreate
@Deprecated public SecurityGroupRuleForCreate(Integer parentGroupId, String ipProtocol, Integer fromPort, Integer toPort, Integer sourceGroupId) Deprecated.Ids in some installs have shown to use strings .UseSecurityGroupRuleForCreate(String, String, String, Integer, Integer)- Parameters:
parentGroupId-ipProtocol-fromPort-toPort-sourceGroupId-
-
SecurityGroupRuleForCreate
-
SecurityGroupRuleForCreate
-
-
Method Details
-
getParentGroupId
- Returns:
- the parentGroupId
-
setParentGroupId
Deprecated.- Parameters:
parentGroupId- the parentGroupId to set
-
setParentGroupId
- Parameters:
parentGroupId- the parentGroupId to set
-
getFromPort
- Returns:
- the fromPort
-
setFromPort
- Parameters:
fromPort- the fromPort to set
-
getToPort
- Returns:
- the toPort
-
setToPort
- Parameters:
toPort- the toPort to set
-
getIpProtocol
- Returns:
- the ipProtocol
-
setIpProtocol
- Parameters:
ipProtocol- the ipProtocol to set
-
getCidr
- Returns:
- the cidr
-
setCidr
- Parameters:
cidr- the cidr to set
-
getGroupId
- Returns:
- the groupId
-
setGroupId
Deprecated.- Parameters:
groupId- the groupId to set
-
setGroupId
- Parameters:
groupId- the groupId to set
-
toString
-
SecurityGroupRuleForCreate(String, String, String, Integer, Integer)