Class FloatingIPPortForwarding
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.ext.FloatingIPPortForwarding
-
- All Implemented Interfaces:
Serializable,Buildable<PortForwardingBuilder>,ModelEntity,PortForwarding
public class FloatingIPPortForwarding extends Object implements PortForwarding
A floating IP port forwarding.- Author:
- zjluo
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFloatingIPPortForwarding.PortForwardingConcreteBuilderstatic classFloatingIPPortForwarding.PortForwardings-
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 FloatingIPPortForwarding()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PortForwardingBuilderbuilder()booleanequals(Object o)StringgetDescription()intgetExternalPort()StringgetId()StringgetInternalIpAddress()intgetInternalPort()StringgetInternalPortId()StringgetProtocol()inthashCode()PortForwardingBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static PortForwardingBuilder builder()
-
toBuilder
public PortForwardingBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<PortForwardingBuilder>
-
getId
public String getId()
- Specified by:
getIdin interfacePortForwarding- Returns:
- the id of the floating IP port forwarding.
-
getProtocol
public String getProtocol()
- Specified by:
getProtocolin interfacePortForwarding- Returns:
- the IP protocol used in the floating IP port forwarding.
-
getInternalIpAddress
public String getInternalIpAddress()
- Specified by:
getInternalIpAddressin interfacePortForwarding- Returns:
- the fixed IPv4 address of the Neutron port associated to the floating IP port forwarding.
-
getInternalPort
public int getInternalPort()
- Specified by:
getInternalPortin interfacePortForwarding- Returns:
- the TCP/UDP/other protocol port number of the Neutron port fixed IP address associated to the floating ip port forwarding.
-
getInternalPortId
public String getInternalPortId()
- Specified by:
getInternalPortIdin interfacePortForwarding- Returns:
- the ID of the Neutron port associated to the floating IP port forwarding.
-
getExternalPort
public int getExternalPort()
- Specified by:
getExternalPortin interfacePortForwarding- Returns:
- the TCP/UDP/other protocol port number of the port forwarding’s floating IP address.
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfacePortForwarding- Returns:
- a text describing the rule, which helps users to manage/find easily theirs rules.
-
-