Package cloud.localstack.docker
Class PortMapping
java.lang.Object
cloud.localstack.docker.PortMapping
public class PortMapping
extends java.lang.Object
Keeps track of the external to internal port mapping for a container
-
Constructor Summary
Constructors Constructor Description PortMapping(java.lang.String ip, java.lang.String externalPort, java.lang.String internalPort) -
Method Summary
Modifier and Type Method Description intgetExternalPort()intgetInternalPort()java.lang.StringgetIp()java.lang.StringtoString()
-
Constructor Details
-
PortMapping
public PortMapping(java.lang.String ip, java.lang.String externalPort, java.lang.String internalPort)
-
-
Method Details
-
getIp
public java.lang.String getIp() -
getExternalPort
public int getExternalPort() -
getInternalPort
public int getInternalPort() -
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-