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 classNovaSecGroupExtension.SecurityGroupRule.RuleConcreteBuilderDeprecated.static classNovaSecGroupExtension.SecurityGroupRule.RuleGroupDeprecated.static classNovaSecGroupExtension.SecurityGroupRule.RuleIpRangeDeprecated.-
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 SecurityGroupRuleBuilderbuilder()Deprecated.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.SecurityGroupRuleBuildertoBuilder()Deprecated.StringtoString()Deprecated.
-
-
-
Method Detail
-
builder
public static SecurityGroupRuleBuilder builder()
Deprecated.
-
getIPProtocol
public IPProtocol getIPProtocol()
Deprecated.- Specified by:
getIPProtocolin interfaceSecGroupExtension.Rule- Returns:
- the IPProtocol for this rule
-
getGroup
public SecGroupExtension.Rule.Group getGroup()
Deprecated.- Specified by:
getGroupin interfaceSecGroupExtension.Rule- Returns:
- the referenced security group which contains the name and tenant identifier
-
getRange
public SecGroupExtension.Rule.IpRange getRange()
Deprecated.- Specified by:
getRangein interfaceSecGroupExtension.Rule- Returns:
- the IP Range
-
getToPort
public int getToPort()
Deprecated.- Specified by:
getToPortin interfaceSecGroupExtension.Rule- Returns:
- the port at the start of the range
-
getFromPort
public int getFromPort()
Deprecated.- Specified by:
getFromPortin interfaceSecGroupExtension.Rule- Returns:
- the port at the end of the range
-
getParentGroupId
public String getParentGroupId()
Deprecated.Gets the parent group id.- Specified by:
getParentGroupIdin interfaceSecGroupExtension.Rule- Returns:
- the parent group id
-
getName
public String getName()
Deprecated.- Specified by:
getNamein interfaceSecGroupExtension.Rule- Returns:
- the name of the rule
-
getId
public String getId()
Deprecated.- Specified by:
getIdin interfaceSecGroupExtension.Rule- Returns:
- the identifier for the rule
-
toBuilder
public SecurityGroupRuleBuilder toBuilder()
Deprecated.- Specified by:
toBuilderin interfaceBuildable<SecurityGroupRuleBuilder>
-
-