Class Endpoint
- java.lang.Object
-
- software.amazon.awssdk.services.elasticache.model.Endpoint
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Endpoint.Builder,Endpoint>
@Generated("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. This value is read-only.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Endpoint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends Endpoint.Builder>
serializableBuilderClass()
Endpoint.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
address
public final String address()
The DNS hostname of the cache node.
- Returns:
- The DNS hostname of the cache node.
-
port
public final Integer port()
The port number that the cache engine is listening on.
- Returns:
- The port number that the cache engine is listening on.
-
toBuilder
public Endpoint.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<Endpoint.Builder,Endpoint>
-
builder
public static Endpoint.Builder builder()
-
serializableBuilderClass
public static Class<? extends Endpoint.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-