@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MySQLSettings extends Object implements Serializable, Cloneable, StructuredPojo
Provides information that defines a MySQL endpoint.
Constructor and Description |
---|
MySQLSettings() |
Modifier and Type | Method and Description |
---|---|
MySQLSettings |
clone() |
boolean |
equals(Object obj) |
String |
getDatabaseName()
Database name for the endpoint.
|
String |
getPassword()
Endpoint connection password.
|
Integer |
getPort()
Endpoint TCP port.
|
String |
getServerName()
Fully qualified domain name of the endpoint.
|
String |
getUsername()
Endpoint connection user name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDatabaseName(String databaseName)
Database name for the endpoint.
|
void |
setPassword(String password)
Endpoint connection password.
|
void |
setPort(Integer port)
Endpoint TCP port.
|
void |
setServerName(String serverName)
Fully qualified domain name of the endpoint.
|
void |
setUsername(String username)
Endpoint connection user name.
|
String |
toString()
Returns a string representation of this object.
|
MySQLSettings |
withDatabaseName(String databaseName)
Database name for the endpoint.
|
MySQLSettings |
withPassword(String password)
Endpoint connection password.
|
MySQLSettings |
withPort(Integer port)
Endpoint TCP port.
|
MySQLSettings |
withServerName(String serverName)
Fully qualified domain name of the endpoint.
|
MySQLSettings |
withUsername(String username)
Endpoint connection user name.
|
public void setDatabaseName(String databaseName)
Database name for the endpoint.
databaseName
- Database name for the endpoint.public String getDatabaseName()
Database name for the endpoint.
public MySQLSettings withDatabaseName(String databaseName)
Database name for the endpoint.
databaseName
- Database name for the endpoint.public void setPassword(String password)
Endpoint connection password.
password
- Endpoint connection password.public String getPassword()
Endpoint connection password.
public MySQLSettings withPassword(String password)
Endpoint connection password.
password
- Endpoint connection password.public void setPort(Integer port)
Endpoint TCP port.
port
- Endpoint TCP port.public Integer getPort()
Endpoint TCP port.
public MySQLSettings withPort(Integer port)
Endpoint TCP port.
port
- Endpoint TCP port.public void setServerName(String serverName)
Fully qualified domain name of the endpoint.
serverName
- Fully qualified domain name of the endpoint.public String getServerName()
Fully qualified domain name of the endpoint.
public MySQLSettings withServerName(String serverName)
Fully qualified domain name of the endpoint.
serverName
- Fully qualified domain name of the endpoint.public void setUsername(String username)
Endpoint connection user name.
username
- Endpoint connection user name.public String getUsername()
Endpoint connection user name.
public MySQLSettings withUsername(String username)
Endpoint connection user name.
username
- Endpoint connection user name.public String toString()
toString
in class Object
Object.toString()
public MySQLSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.