@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RelationalDatabaseEndpoint extends Object implements Serializable, Cloneable, StructuredPojo
Describes an endpoint for a database.
Constructor and Description |
---|
RelationalDatabaseEndpoint() |
Modifier and Type | Method and Description |
---|---|
RelationalDatabaseEndpoint |
clone() |
boolean |
equals(Object obj) |
String |
getAddress()
Specifies the DNS address of the database.
|
Integer |
getPort()
Specifies the port that the database 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 database.
|
void |
setPort(Integer port)
Specifies the port that the database is listening on.
|
String |
toString()
Returns a string representation of this object.
|
RelationalDatabaseEndpoint |
withAddress(String address)
Specifies the DNS address of the database.
|
RelationalDatabaseEndpoint |
withPort(Integer port)
Specifies the port that the database is listening on.
|
public void setPort(Integer port)
Specifies the port that the database is listening on.
port
- Specifies the port that the database is listening on.public Integer getPort()
Specifies the port that the database is listening on.
public RelationalDatabaseEndpoint withPort(Integer port)
Specifies the port that the database is listening on.
port
- Specifies the port that the database is listening on.public void setAddress(String address)
Specifies the DNS address of the database.
address
- Specifies the DNS address of the database.public String getAddress()
Specifies the DNS address of the database.
public RelationalDatabaseEndpoint withAddress(String address)
Specifies the DNS address of the database.
address
- Specifies the DNS address of the database.public String toString()
toString
in class Object
Object.toString()
public RelationalDatabaseEndpoint clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.