Class NovaSecGroupExtension.SecurityGroupRule
- java.lang.Object
-
- org.openstack4j.openstack.compute.domain.NovaSecGroupExtension.SecurityGroupRule
-
- All Implemented Interfaces:
Serializable
,Buildable<SecurityGroupRuleBuilder>
,SecGroupExtension.Rule
,ModelEntity
- Enclosing class:
- NovaSecGroupExtension
@Deprecated public static class NovaSecGroupExtension.SecurityGroupRule extends Object implements SecGroupExtension.Rule
Deprecated.Security Group Rule- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NovaSecGroupExtension.SecurityGroupRule.RuleConcreteBuilder
Deprecated.static class
NovaSecGroupExtension.SecurityGroupRule.RuleGroup
Deprecated.static class
NovaSecGroupExtension.SecurityGroupRule.RuleIpRange
Deprecated.-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
Nested classes/interfaces inherited from interface org.openstack4j.model.compute.SecGroupExtension.Rule
SecGroupExtension.Rule.Group, SecGroupExtension.Rule.IpRange
-
-
Constructor Summary
Constructors Constructor Description SecurityGroupRule()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SecurityGroupRuleBuilder
builder()
Deprecated.int
getFromPort()
Deprecated.SecGroupExtension.Rule.Group
getGroup()
Deprecated.String
getId()
Deprecated.IPProtocol
getIPProtocol()
Deprecated.String
getName()
Deprecated.String
getParentGroupId()
Deprecated.Gets the parent group id.SecGroupExtension.Rule.IpRange
getRange()
Deprecated.int
getToPort()
Deprecated.SecurityGroupRuleBuilder
toBuilder()
Deprecated.String
toString()
Deprecated.
-
-
-
Method Detail
-
builder
public static SecurityGroupRuleBuilder builder()
Deprecated.
-
getIPProtocol
public IPProtocol getIPProtocol()
Deprecated.- Specified by:
getIPProtocol
in interfaceSecGroupExtension.Rule
- Returns:
- the IPProtocol for this rule
-
getGroup
public SecGroupExtension.Rule.Group getGroup()
Deprecated.- Specified by:
getGroup
in interfaceSecGroupExtension.Rule
- Returns:
- the referenced security group which contains the name and tenant identifier
-
getRange
public SecGroupExtension.Rule.IpRange getRange()
Deprecated.- Specified by:
getRange
in interfaceSecGroupExtension.Rule
- Returns:
- the IP Range
-
getToPort
public int getToPort()
Deprecated.- Specified by:
getToPort
in interfaceSecGroupExtension.Rule
- Returns:
- the port at the start of the range
-
getFromPort
public int getFromPort()
Deprecated.- Specified by:
getFromPort
in interfaceSecGroupExtension.Rule
- Returns:
- the port at the end of the range
-
getParentGroupId
public String getParentGroupId()
Deprecated.Gets the parent group id.- Specified by:
getParentGroupId
in interfaceSecGroupExtension.Rule
- Returns:
- the parent group id
-
getName
public String getName()
Deprecated.- Specified by:
getName
in interfaceSecGroupExtension.Rule
- Returns:
- the name of the rule
-
getId
public String getId()
Deprecated.- Specified by:
getId
in interfaceSecGroupExtension.Rule
- Returns:
- the identifier for the rule
-
toBuilder
public SecurityGroupRuleBuilder toBuilder()
Deprecated.- Specified by:
toBuilder
in interfaceBuildable<SecurityGroupRuleBuilder>
-
-