public class PortMapping
extends java.lang.Object
Constructor and Description |
---|
PortMapping(java.lang.String publicIpId,
com.google.common.net.HostAndPort publicEndpoint,
Location target,
int privatePort) |
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() |
com.google.common.net.HostAndPort |
getPublicEndpoint() |
int |
getPublicPort() |
Location |
getTarget() |
int |
hashCode() |
java.lang.String |
toString() |
public PortMapping(java.lang.String publicIpId, com.google.common.net.HostAndPort publicEndpoint, Location target, int privatePort)
public PortMapping(java.lang.String publicIpId, int publicPort, Location target, int privatePort)
@Beta @Nullable public com.google.common.net.HostAndPort getPublicEndpoint()
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