|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.elasticache.model.Endpoint
public class Endpoint
An endpoint completely specifies enough information to connect to a Cache Node.
| Constructor Summary | |
|---|---|
Endpoint()
Default constructor for a new Endpoint object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getAddress()
Specifies the DNS address of the Cache Node. |
Integer |
getPort()
Specifies the port that the cache engine is listening on. |
int |
hashCode()
|
void |
setAddress(String address)
Specifies the DNS address of the Cache Node. |
void |
setPort(Integer port)
Specifies the port that the cache engine is listening on. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Endpoint |
withAddress(String address)
Specifies the DNS address of the Cache Node. |
Endpoint |
withPort(Integer port)
Specifies the port that the cache engine is listening on. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Endpoint()
| Method Detail |
|---|
public String getAddress()
public void setAddress(String address)
address - Specifies the DNS address of the Cache Node.public Endpoint withAddress(String address)
Returns a reference to this object so that method calls can be chained together.
address - Specifies the DNS address of the Cache Node.
public Integer getPort()
public void setPort(Integer port)
port - Specifies the port that the cache engine is listening on.public Endpoint withPort(Integer port)
Returns a reference to this object so that method calls can be chained together.
port - Specifies the port that the cache engine is listening on.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||