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()
Returns the value of the Password property for this object.
|
String |
getUsername()
Returns the value of the Username property for this object.
|
int |
hashCode() |
void |
setPassword(String password)
Sets the value of the Password property for this object.
|
void |
setUsername(String username)
Sets the value of the Username property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RDSDatabaseCredentials |
withPassword(String password)
Sets the value of the Password property for this object.
|
RDSDatabaseCredentials |
withUsername(String username)
Sets the value of the Username property for this object.
|
public void setUsername(String username)
username - The new value for the Username property for this object.public String getUsername()
public RDSDatabaseCredentials withUsername(String username)
username - The new value for the Username property for this object.public void setPassword(String password)
password - The new value for the Password property for this object.public String getPassword()
public RDSDatabaseCredentials withPassword(String password)
password - The new value for the Password property for this object.public String toString()
toString in class ObjectObject.toString()public RDSDatabaseCredentials clone()
Copyright © 2015. All rights reserved.