ToCopyableBuilder<Endpoint.Builder,Endpoint>
@Generated("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 | Description |
---|---|---|
static interface |
Endpoint.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
address() |
The DNS hostname of the cache node.
|
static Endpoint.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
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() |
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.