@Generated(value="software.amazon.awssdk:codegen") public final class PortMapping extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PortMapping.Builder,PortMapping>
An object representing a port mapping.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PortMapping.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
applicationPort()
The port number on the application.
|
static PortMapping.Builder |
builder() |
Boolean |
enableOnPublicIp()
A Boolean indicating whether to enable this port mapping on public IP.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
jobPort()
The port number on the simulation job instance to use as a remote connection point.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PortMapping.Builder> |
serializableBuilderClass() |
PortMapping.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Integer jobPort()
The port number on the simulation job instance to use as a remote connection point.
public Integer applicationPort()
The port number on the application.
public Boolean enableOnPublicIp()
A Boolean indicating whether to enable this port mapping on public IP.
public PortMapping.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PortMapping.Builder,PortMapping>public static PortMapping.Builder builder()
public static Class<? extends PortMapping.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.