public class RedshiftDatabaseCredentials extends Object implements Serializable, Cloneable
Describes the database credentials for connecting to a database on an Amazon Redshift cluster.
| Constructor and Description |
|---|
RedshiftDatabaseCredentials() |
| Modifier and Type | Method and Description |
|---|---|
RedshiftDatabaseCredentials |
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.
|
RedshiftDatabaseCredentials |
withPassword(String password)
Sets the value of the Password property for this object.
|
RedshiftDatabaseCredentials |
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 RedshiftDatabaseCredentials 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 RedshiftDatabaseCredentials withPassword(String password)
password - The new value for the Password property for this object.public String toString()
toString in class ObjectObject.toString()public RedshiftDatabaseCredentials clone()
Copyright © 2015. All rights reserved.