Constructor and Description |
---|
PortForwardingRule(String externalIP,
int externalPort,
String internalIP,
int internalPort,
NatProtocol protocol) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getExternalIP()
IP address to which this NAT rule maps the IP address specified in the InternalIp element.
|
int |
getExternalPort()
network port to which this NAT rule maps the port number specified in the InternalPort element
|
String |
getInternalIP()
IP address to which this NAT rule maps the IP address specified in the ExternalIp element.
|
int |
getInternalPort()
network port to which this NAT rule maps the port number specified in the ExternalPort
element.
|
NatProtocol |
getProtocol()
specifies the network protocol to which this rule applies
|
int |
hashCode() |
String |
toString() |
public PortForwardingRule(String externalIP, int externalPort, String internalIP, int internalPort, NatProtocol protocol)
public String getExternalIP()
getExternalIP
in interface NatRule
public int getExternalPort()
public String getInternalIP()
public int getInternalPort()
public NatProtocol getProtocol()
Copyright © 2009-2013 jclouds. All Rights Reserved.