@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 RedshiftDatabaseCredentials()
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 Object Object.toString() public RedshiftDatabaseCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo ProtocolMarshaller.marshall in interface StructuredPojo protocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.