Class Endpoint
- java.lang.Object
-
- software.amazon.awssdk.services.dax.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 the endpoint for a DAX cluster.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEndpoint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaddress()The DNS hostname of the endpoint.static Endpoint.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerport()The port number that applications should use to connect to the endpoint.List<SdkField<?>>sdkFields()static Class<? extends Endpoint.Builder>serializableBuilderClass()Endpoint.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringurl()The URL that applications should use to connect to the endpoint.-
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 endpoint.
- Returns:
- The DNS hostname of the endpoint.
-
port
public final Integer port()
The port number that applications should use to connect to the endpoint.
- Returns:
- The port number that applications should use to connect to the endpoint.
-
url
public final String url()
The URL that applications should use to connect to the endpoint. The default ports are 8111 for the "dax" protocol and 9111 for the "daxs" protocol.
- Returns:
- The URL that applications should use to connect to the endpoint. The default ports are 8111 for the "dax" protocol and 9111 for the "daxs" protocol.
-
toBuilder
public Endpoint.Builder toBuilder()
- Specified by:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
-