@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Endpoint extends Object implements Serializable, Cloneable
This data type is used as a response element in the following actions:
Constructor and Description |
---|
Endpoint() |
Modifier and Type | Method and Description |
---|---|
Endpoint |
clone() |
boolean |
equals(Object obj) |
String |
getAddress()
Specifies the DNS address of the DB instance.
|
String |
getHostedZoneId()
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
|
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 |
setHostedZoneId(String hostedZoneId)
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
|
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 |
withHostedZoneId(String hostedZoneId)
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
|
Endpoint |
withPort(Integer port)
Specifies the port that the database engine is listening on.
|
public void setAddress(String address)
Specifies the DNS address of the DB instance.
address
- Specifies the DNS address of the DB instance.public String getAddress()
Specifies the DNS address of the DB instance.
public Endpoint withAddress(String address)
Specifies the DNS address of the DB instance.
address
- Specifies the DNS address of the DB instance.public void setPort(Integer port)
Specifies the port that the database engine is listening on.
port
- Specifies the port that the database engine is listening on.public Integer getPort()
Specifies the port that the database engine is listening on.
public Endpoint withPort(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(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 String getHostedZoneId()
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
public Endpoint withHostedZoneId(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.