@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Endpoint extends Object implements Serializable, Cloneable
Describes a connection endpoint.
Constructor and Description |
---|
Endpoint() |
Modifier and Type | Method and Description |
---|---|
Endpoint |
clone() |
boolean |
equals(Object obj) |
String |
getAddress()
The DNS address of the Cluster.
|
Integer |
getPort()
The port that the database engine is listening on.
|
int |
hashCode() |
void |
setAddress(String address)
The DNS address of the Cluster.
|
void |
setPort(Integer port)
The port that the database engine is listening on.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Endpoint |
withAddress(String address)
The DNS address of the Cluster.
|
Endpoint |
withPort(Integer port)
The port that the database engine is listening on.
|
public void setAddress(String address)
The DNS address of the Cluster.
address
- The DNS address of the Cluster.public String getAddress()
The DNS address of the Cluster.
public Endpoint withAddress(String address)
The DNS address of the Cluster.
address
- The DNS address of the Cluster.public void setPort(Integer port)
The port that the database engine is listening on.
port
- The port that the database engine is listening on.public Integer getPort()
The port that the database engine is listening on.
public Endpoint withPort(Integer port)
The port that the database engine is listening on.
port
- The port that the database engine is listening on.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.