Class RedshiftDatabaseCredentials
java.lang.Object
com.amazonaws.services.machinelearning.model.RedshiftDatabaseCredentials
- All Implemented Interfaces:
Serializable, Cloneable
Describes the database credentials for connecting to a database on an Amazon Redshift cluster.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()voidsetPassword(String password) voidsetUsername(String username) toString()Returns a string representation of this object; useful for testing and debugging.withPassword(String password) withUsername(String username)
-
Constructor Details
-
RedshiftDatabaseCredentials
public RedshiftDatabaseCredentials()
-
-
Method Details
-
setUsername
- Parameters:
username-
-
getUsername
- Returns:
-
withUsername
- Parameters:
username-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPassword
- Parameters:
password-
-
getPassword
- Returns:
-
withPassword
- Parameters:
password-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-