@Generated(value="software.amazon.awssdk:codegen") public class Endpoint extends Object implements 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.
|
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() |
copypublic 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()
ToCopyableBuildertoBuilder 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.