@Generated(value="org.immutables.processor.ProxyProcessor") public final class PortMapping extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PortMapping.Builder
Builds instances of type
PortMapping. |
| Modifier and Type | Method and Description |
|---|---|
static PortMapping.Builder |
builder()
Creates a builder for
PortMapping. |
boolean |
equals(Object another)
This instance is equal to all instances of
PortMapping that have equal attribute values. |
Integer |
getExternal()
The external port
|
Integer |
getExternalTlsProxyPort()
The external TLS proxy port
|
Integer |
getInternal()
The internal port
|
Integer |
getInternalTlsProxyPort()
The internal TLS proxy port
|
int |
hashCode()
Computes a hash code from attributes:
external, externalTlsProxyPort, internal, internalTlsProxyPort. |
String |
toString()
Prints the immutable value
PortMapping with attribute values. |
public Integer getExternal()
public Integer getExternalTlsProxyPort()
public Integer getInternal()
public Integer getInternalTlsProxyPort()
public boolean equals(Object another)
PortMapping that have equal attribute values.public int hashCode()
external, externalTlsProxyPort, internal, internalTlsProxyPort.public String toString()
PortMapping with attribute values.public static PortMapping.Builder builder()
PortMapping.
PortMapping.builder()
.external(Integer) // required external
.externalTlsProxyPort(Integer | null) // nullable externalTlsProxyPort
.internal(Integer) // required internal
.internalTlsProxyPort(Integer | null) // nullable internalTlsProxyPort
.build();
Copyright © 2020. All rights reserved.