Class RedshiftDatabaseCredentials

java.lang.Object
com.amazonaws.services.machinelearning.model.RedshiftDatabaseCredentials
All Implemented Interfaces:
Serializable, Cloneable

public class RedshiftDatabaseCredentials extends Object implements Serializable, Cloneable

Describes the database credentials for connecting to a database on an Amazon Redshift cluster.

See Also:
  • Constructor Details

    • RedshiftDatabaseCredentials

      public RedshiftDatabaseCredentials()
  • Method Details

    • setUsername

      public void setUsername(String username)
      Parameters:
      username -
    • getUsername

      public String getUsername()
      Returns:
    • withUsername

      public RedshiftDatabaseCredentials withUsername(String username)
      Parameters:
      username -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPassword

      public void setPassword(String password)
      Parameters:
      password -
    • getPassword

      public String getPassword()
      Returns:
    • withPassword

      public RedshiftDatabaseCredentials withPassword(String password)
      Parameters:
      password -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object