public class PortMapping
extends java.lang.Object
Constructor and Description |
---|
PortMapping(java.lang.String publicIpId,
int publicPort,
Location target,
int privatePort) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getPrivatePort() |
int |
getPublicPort() |
Location |
getTarget() |
int |
hashCode() |
java.lang.String |
toString() |
public PortMapping(java.lang.String publicIpId, int publicPort, Location target, int privatePort)
public int getPublicPort()
public Location getTarget()
public int getPrivatePort()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object