@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RedshiftDatabaseCredentials extends Object implements Serializable, Cloneable, StructuredPojo
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 | 
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. 
 | 
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.