public class Endpoint extends Object implements Serializable
This data type is used as a response element in the following actions:
| Constructor and Description |
|---|
Endpoint()
Default constructor for a new Endpoint object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAddress()
Specifies the DNS address of the DB instance.
|
Integer |
getPort()
Specifies the port that the database engine is listening on.
|
int |
hashCode() |
void |
setAddress(String address)
Specifies the DNS address of the DB instance.
|
void |
setPort(Integer port)
Specifies 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)
Specifies the DNS address of the DB instance.
|
Endpoint |
withPort(Integer port)
Specifies the port that the database engine is listening on.
|
public Endpoint()
public String getAddress()
public void setAddress(String address)
address - Specifies the DNS address of the DB instance.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 DB instance.public Integer getPort()
public void setPort(Integer port)
port - Specifies the port that the database 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 database engine is listening on.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.