Package com.woorea.openstack.nova.model
Class SecurityGroup.Rule
- java.lang.Object
-
- com.woorea.openstack.nova.model.SecurityGroup.Rule
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SecurityGroup
public static final class SecurityGroup.Rule extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSecurityGroup.Rule.Groupstatic classSecurityGroup.Rule.IpRange
-
Constructor Summary
Constructors Constructor Description Rule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetFromPort()SecurityGroup.Rule.GroupgetGroup()StringgetId()StringgetIpProtocol()SecurityGroup.Rule.IpRangegetIpRange()StringgetName()StringgetParentGroupId()IntegergetToPort()StringtoString()
-
-
-
Method Detail
-
getId
public String getId()
- Returns:
- the id
-
getName
public String getName()
- Returns:
- the name
-
getParentGroupId
public String getParentGroupId()
- Returns:
- the parentGroupId
-
getFromPort
public Integer getFromPort()
- Returns:
- the fromPort
-
getToPort
public Integer getToPort()
- Returns:
- the toPort
-
getIpProtocol
public String getIpProtocol()
- Returns:
- the ipProtocol
-
getIpRange
public SecurityGroup.Rule.IpRange getIpRange()
- Returns:
- the ipRange
-
getGroup
public SecurityGroup.Rule.Group getGroup()
- Returns:
- the group
-
-