Class NeutronSecurityGroupRule
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.NeutronSecurityGroupRule
-
- All Implemented Interfaces:
Serializable,Buildable<NetSecurityGroupRuleBuilder>,ModelEntity,SecurityGroupRule
public class NeutronSecurityGroupRule extends Object implements SecurityGroupRule
An OpenStack Neutron Security Group Rule model.- Author:
- Nathan Anderson
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNeutronSecurityGroupRule.SecurityGroupRuleConcreteBuilderThe Class SecurityGroupRuleConcreteBuilder.static classNeutronSecurityGroupRule.SecurityGroupRulesThe Class SecurityGroupRules.-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description NeutronSecurityGroupRule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NetSecurityGroupRuleBuilderbuilder()booleanequals(Object obj)StringgetDescription()Gets A human-readable description.StringgetDirection()Gets the direction.StringgetEtherType()Gets the ether type.StringgetId()Gets the id.IntegergetPortRangeMax()Gets the port range max.IntegergetPortRangeMin()Gets the port range min.StringgetProtocol()Gets the protocol.StringgetRemoteGroupId()Gets the remote group id.StringgetRemoteIpPrefix()Gets the remote ip prefix.StringgetSecurityGroupId()Gets the security group id.StringgetTenantId()Gets the tenant id.inthashCode()NetSecurityGroupRuleBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static NetSecurityGroupRuleBuilder builder()
-
toBuilder
public NetSecurityGroupRuleBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<NetSecurityGroupRuleBuilder>
-
getId
public String getId()
Gets the id.- Specified by:
getIdin interfaceSecurityGroupRule- Returns:
- the id
-
getTenantId
public String getTenantId()
Gets the tenant id.- Specified by:
getTenantIdin interfaceSecurityGroupRule- Returns:
- the tenant id
-
getDirection
public String getDirection()
Gets the direction.- Specified by:
getDirectionin interfaceSecurityGroupRule- Returns:
- the direction
-
getEtherType
public String getEtherType()
Gets the ether type.- Specified by:
getEtherTypein interfaceSecurityGroupRule- Returns:
- the ether type
-
getPortRangeMax
public Integer getPortRangeMax()
Gets the port range max.- Specified by:
getPortRangeMaxin interfaceSecurityGroupRule- Returns:
- the port range max
-
getPortRangeMin
public Integer getPortRangeMin()
Gets the port range min.- Specified by:
getPortRangeMinin interfaceSecurityGroupRule- Returns:
- the port range min
-
getProtocol
public String getProtocol()
Gets the protocol.- Specified by:
getProtocolin interfaceSecurityGroupRule- Returns:
- the protocol
-
getRemoteGroupId
public String getRemoteGroupId()
Gets the remote group id.- Specified by:
getRemoteGroupIdin interfaceSecurityGroupRule- Returns:
- the remote group id
-
getRemoteIpPrefix
public String getRemoteIpPrefix()
Gets the remote ip prefix.- Specified by:
getRemoteIpPrefixin interfaceSecurityGroupRule- Returns:
- the remote ip prefix
-
getSecurityGroupId
public String getSecurityGroupId()
Gets the security group id.- Specified by:
getSecurityGroupIdin interfaceSecurityGroupRule- Returns:
- the security group id
-
getDescription
public String getDescription()
Gets A human-readable description.- Specified by:
getDescriptionin interfaceSecurityGroupRule- Returns:
- the description
-
-