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()
boolean
The DNS hostname of the cache node.getPort()
The port number that the cache engine is listening on.int
hashCode()
void
setAddress
(String address) The DNS hostname of the cache node.void
The 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
The DNS hostname of the cache node.
- Parameters:
address
- The DNS hostname of the cache node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The port number that the cache engine is listening on.
- Parameters:
port
- The port number that the cache engine is listening on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-