Interface PortForwarding
-
- All Superinterfaces:
Buildable<PortForwardingBuilder>,ModelEntity,Serializable
- All Known Implementing Classes:
FloatingIPPortForwarding
public interface PortForwarding extends ModelEntity, Buildable<PortForwardingBuilder>
A floating IP port forwarding.- Author:
- zjluo
-
-
Nested Class Summary
-
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 Modifier and Type Method Description StringgetDescription()intgetExternalPort()StringgetId()StringgetInternalIpAddress()intgetInternalPort()StringgetInternalPortId()StringgetProtocol()
-
-
-
Method Detail
-
getId
String getId()
- Returns:
- the id of the floating IP port forwarding.
-
getProtocol
String getProtocol()
- Returns:
- the IP protocol used in the floating IP port forwarding.
-
getInternalIpAddress
String getInternalIpAddress()
- Returns:
- the fixed IPv4 address of the Neutron port associated to the floating IP port forwarding.
-
getInternalPort
int getInternalPort()
- Returns:
- the TCP/UDP/other protocol port number of the Neutron port fixed IP address associated to the floating ip port forwarding.
-
getInternalPortId
String getInternalPortId()
- Returns:
- the ID of the Neutron port associated to the floating IP port forwarding.
-
getExternalPort
int getExternalPort()
- Returns:
- the TCP/UDP/other protocol port number of the port forwarding’s floating IP address.
-
getDescription
String getDescription()
- Returns:
- a text describing the rule, which helps users to manage/find easily theirs rules.
-
-