@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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()  | 
String | 
getUsername()  | 
int | 
hashCode()  | 
void | 
setPassword(String password)  | 
void | 
setUsername(String username)  | 
String | 
toString()
Returns a string representation of this object; useful for testing and debugging. 
 | 
RedshiftDatabaseCredentials | 
withPassword(String password)  | 
RedshiftDatabaseCredentials | 
withUsername(String username)  | 
public void setUsername(String username)
username - public String getUsername()
public RedshiftDatabaseCredentials withUsername(String username)
username - public void setPassword(String password)
password - public String getPassword()
public RedshiftDatabaseCredentials withPassword(String password)
password - public String toString()
toString in class ObjectObject.toString()public RedshiftDatabaseCredentials clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.