@Generated(value="software.amazon.awssdk:codegen") public final class Endpoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Endpoint.Builder,Endpoint>
Represents the information required for client programs to connect to a cache node.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Endpoint.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
address()
The DNS hostname of the cache node.
|
static Endpoint.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 that the cache engine is listening on.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Endpoint.Builder> |
serializableBuilderClass() |
Endpoint.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String address()
The DNS hostname of the cache node.
public final Integer port()
The port number that the cache engine is listening on.
public Endpoint.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Endpoint.Builder,Endpoint>public static Endpoint.Builder builder()
public static Class<? extends Endpoint.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.