@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String address()
The DNS hostname of the cache node.
public Integer port()
The port number that the cache engine is listening on.
public Endpoint.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Endpoint.Builder,Endpoint>
public static Endpoint.Builder builder()
public static Class<? extends Endpoint.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.