@Generated(value="software.amazon.awssdk:codegen") public final class LocalPortDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LocalPortDetails.Builder,LocalPortDetails>
Contains information about the port for the local connection.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LocalPortDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LocalPortDetails.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
port()
The port number of the local connection.
|
String |
portName()
The port name of the local connection.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LocalPortDetails.Builder> |
serializableBuilderClass() |
LocalPortDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer port()
The port number of the local connection.
public final String portName()
The port name of the local connection.
public LocalPortDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LocalPortDetails.Builder,LocalPortDetails>public static LocalPortDetails.Builder builder()
public static Class<? extends LocalPortDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.