@Generated(value={"Immutables.generator","_PortMapping"}) 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 |
getInternal()
The internal port
|
int |
hashCode()
Computes a hash code from attributes:
external, internal. |
String |
toString()
Prints the immutable value
PortMapping with attribute values. |
public Integer getExternal()
public Integer getInternal()
public boolean equals(Object another)
PortMapping that have equal attribute values.public int hashCode()
external, internal.public String toString()
PortMapping with attribute values.public static PortMapping.Builder builder()
PortMapping.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.