public class RDSDatabaseCredentials extends Object implements Serializable, Cloneable
The database credentials to connect to a database on an RDS DB instance.
Constructor and Description |
---|
RDSDatabaseCredentials() |
Modifier and Type | Method and Description |
---|---|
RDSDatabaseCredentials |
clone() |
boolean |
equals(Object obj) |
String |
getPassword()
The password to be used by Amazon ML to connect to a database on an
RDS DB instance.
|
String |
getUsername()
The username to be used by Amazon ML to connect to database on an
Amazon RDS instance.
|
int |
hashCode() |
void |
setPassword(String password)
The password to be used by Amazon ML to connect to a database on an
RDS DB instance.
|
void |
setUsername(String username)
The username to be used by Amazon ML to connect to database on an
Amazon RDS instance.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RDSDatabaseCredentials |
withPassword(String password)
The password to be used by Amazon ML to connect to a database on an
RDS DB instance.
|
RDSDatabaseCredentials |
withUsername(String username)
The username to be used by Amazon ML to connect to database on an
Amazon RDS instance.
|
public String getUsername()
RDSSelectSqlQuery
query.
Constraints:
Length: 1 - 128
RDSSelectSqlQuery
query.public void setUsername(String username)
RDSSelectSqlQuery
query.
Constraints:
Length: 1 - 128
username
- The username to be used by Amazon ML to connect to database on an
Amazon RDS instance. The username should have sufficient permissions
to execute an RDSSelectSqlQuery
query.public RDSDatabaseCredentials withUsername(String username)
RDSSelectSqlQuery
query.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
username
- The username to be used by Amazon ML to connect to database on an
Amazon RDS instance. The username should have sufficient permissions
to execute an RDSSelectSqlQuery
query.public String getPassword()
RDSSelectQuery
query.
Constraints:
Length: 8 - 128
RDSSelectQuery
query.public void setPassword(String password)
RDSSelectQuery
query.
Constraints:
Length: 8 - 128
password
- The password to be used by Amazon ML to connect to a database on an
RDS DB instance. The password should have sufficient permissions to
execute the RDSSelectQuery
query.public RDSDatabaseCredentials withPassword(String password)
RDSSelectQuery
query.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 8 - 128
password
- The password to be used by Amazon ML to connect to a database on an
RDS DB instance. The password should have sufficient permissions to
execute the RDSSelectQuery
query.public String toString()
toString
in class Object
Object.toString()
public RDSDatabaseCredentials clone()
Copyright © 2015. All rights reserved.