@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsRdsDbInstanceEndpoint extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the connection endpoint.
Constructor and Description |
---|
AwsRdsDbInstanceEndpoint() |
Modifier and Type | Method and Description |
---|---|
AwsRdsDbInstanceEndpoint |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
AwsRdsDbInstanceEndpoint |
withAddress(String address)
Specifies the DNS address of the DB instance.
|
AwsRdsDbInstanceEndpoint |
withHostedZoneId(String hostedZoneId)
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
|
AwsRdsDbInstanceEndpoint |
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 AwsRdsDbInstanceEndpoint 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 AwsRdsDbInstanceEndpoint 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 AwsRdsDbInstanceEndpoint 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()
public AwsRdsDbInstanceEndpoint clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.