Package org.openstack4j.model.compute
Interface SecGroupExtension.Rule
-
- All Superinterfaces:
Buildable<SecurityGroupRuleBuilder>,ModelEntity,Serializable
- All Known Implementing Classes:
NovaSecGroupExtension.SecurityGroupRule
- Enclosing interface:
- SecGroupExtension
@Deprecated public static interface SecGroupExtension.Rule extends ModelEntity, Buildable<SecurityGroupRuleBuilder>
Deprecated.Security Group Rule
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSecGroupExtension.Rule.GroupDeprecated.static interfaceSecGroupExtension.Rule.IpRangeDeprecated.-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description intgetFromPort()Deprecated.SecGroupExtension.Rule.GroupgetGroup()Deprecated.StringgetId()Deprecated.IPProtocolgetIPProtocol()Deprecated.StringgetName()Deprecated.StringgetParentGroupId()Deprecated.Gets the parent group id.SecGroupExtension.Rule.IpRangegetRange()Deprecated.intgetToPort()Deprecated.
-
-
-
Method Detail
-
getIPProtocol
IPProtocol getIPProtocol()
Deprecated.- Returns:
- the IPProtocol for this rule
-
getGroup
SecGroupExtension.Rule.Group getGroup()
Deprecated.- Returns:
- the referenced security group which contains the name and tenant identifier
-
getRange
SecGroupExtension.Rule.IpRange getRange()
Deprecated.- Returns:
- the IP Range
-
getToPort
int getToPort()
Deprecated.- Returns:
- the port at the start of the range
-
getFromPort
int getFromPort()
Deprecated.- Returns:
- the port at the end of the range
-
getParentGroupId
String getParentGroupId()
Deprecated.Gets the parent group id.- Returns:
- the parent group id
-
getName
String getName()
Deprecated.- Returns:
- the name of the rule
-
getId
String getId()
Deprecated.- Returns:
- the identifier for the rule
-
-