@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RDSDatabaseCredentials extends Object implements Serializable, Cloneable, StructuredPojo
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() |
String |
getUsername() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPassword(String password) |
void |
setUsername(String username) |
String |
toString()
Returns a string representation of this object.
|
RDSDatabaseCredentials |
withPassword(String password) |
RDSDatabaseCredentials |
withUsername(String username) |
public void setUsername(String username)
username
- public String getUsername()
public RDSDatabaseCredentials withUsername(String username)
username
- public void setPassword(String password)
password
- public String getPassword()
public RDSDatabaseCredentials withPassword(String password)
password
- public String toString()
toString
in class Object
Object.toString()
public RDSDatabaseCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.