public class Endpoint
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
This data type is used as a response element in the following actions:
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
address
Specifies the DNS address of the DB instance.
|
private java.lang.String |
hostedZoneId
Specifies the ID that Amazon Route 53 assigns when you create a hosted
zone.
|
private java.lang.Integer |
port
Specifies the port that the database engine is listening on.
|
Constructor and Description |
---|
Endpoint() |
Modifier and Type | Method and Description |
---|---|
Endpoint |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAddress()
Specifies the DNS address of the DB instance.
|
java.lang.String |
getHostedZoneId()
Specifies the ID that Amazon Route 53 assigns when you create a hosted
zone.
|
java.lang.Integer |
getPort()
Specifies the port that the database engine is listening on.
|
int |
hashCode() |
void |
setAddress(java.lang.String address)
Specifies the DNS address of the DB instance.
|
void |
setHostedZoneId(java.lang.String hostedZoneId)
Specifies the ID that Amazon Route 53 assigns when you create a hosted
zone.
|
void |
setPort(java.lang.Integer port)
Specifies the port that the database engine is listening on.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Endpoint |
withAddress(java.lang.String address)
Specifies the DNS address of the DB instance.
|
Endpoint |
withHostedZoneId(java.lang.String hostedZoneId)
Specifies the ID that Amazon Route 53 assigns when you create a hosted
zone.
|
Endpoint |
withPort(java.lang.Integer port)
Specifies the port that the database engine is listening on.
|
private java.lang.String address
Specifies the DNS address of the DB instance.
private java.lang.Integer port
Specifies the port that the database engine is listening on.
private java.lang.String hostedZoneId
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
public void setAddress(java.lang.String address)
Specifies the DNS address of the DB instance.
address
- Specifies the DNS address of the DB instance.public java.lang.String getAddress()
Specifies the DNS address of the DB instance.
public Endpoint withAddress(java.lang.String address)
Specifies the DNS address of the DB instance.
address
- Specifies the DNS address of the DB instance.public void setPort(java.lang.Integer port)
Specifies the port that the database engine is listening on.
port
- Specifies the port that the database engine is listening on.public java.lang.Integer getPort()
Specifies the port that the database engine is listening on.
public Endpoint withPort(java.lang.Integer port)
Specifies the port that the database engine is listening on.
port
- Specifies the port that the database engine is listening on.public void setHostedZoneId(java.lang.String hostedZoneId)
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
hostedZoneId
- Specifies the ID that Amazon Route 53 assigns when you create a
hosted zone.public java.lang.String getHostedZoneId()
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
public Endpoint withHostedZoneId(java.lang.String hostedZoneId)
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
hostedZoneId
- Specifies the ID that Amazon Route 53 assigns when you create a
hosted zone.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Endpoint clone()
clone
in class java.lang.Object