Class Endpoint
java.lang.Object
com.amazonaws.services.elasticache.model.Endpoint
- All Implemented Interfaces:
Serializable, Cloneable
Represents the information required for client programs to connect to a cache node.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe DNS hostname of the cache node.getPort()The port number that the cache engine is listening on.inthashCode()voidsetAddress(String address) The DNS hostname of the cache node.voidThe port number that the cache engine is listening on.toString()Returns a string representation of this object; useful for testing and debugging.withAddress(String address) The DNS hostname of the cache node.The port number that the cache engine is listening on.
-
Constructor Details
-
Endpoint
public Endpoint()
-
-
Method Details
-
setAddress
The DNS hostname of the cache node.
- Parameters:
address- The DNS hostname of the cache node.
-
getAddress
The DNS hostname of the cache node.
- Returns:
- The DNS hostname of the cache node.
-
withAddress
-
setPort
The port number that the cache engine is listening on.
- Parameters:
port- The port number that the cache engine is listening on.
-
getPort
The port number that the cache engine is listening on.
- Returns:
- The port number that the cache engine is listening on.
-
withPort
-
toString
-
equals
-
hashCode
-
clone
-