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()
void
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
toString()
-
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)