Class RedshiftDatabase
- java.lang.Object
-
- com.amazonaws.services.machinelearning.model.RedshiftDatabase
-
- All Implemented Interfaces:
Serializable,Cloneable
public class RedshiftDatabase extends Object implements Serializable, Cloneable
Describes the database details required to connect to an Amazon Redshift database.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RedshiftDatabase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RedshiftDatabaseclone()booleanequals(Object obj)StringgetClusterIdentifier()StringgetDatabaseName()inthashCode()voidsetClusterIdentifier(String clusterIdentifier)voidsetDatabaseName(String databaseName)StringtoString()Returns a string representation of this object; useful for testing and debugging.RedshiftDatabasewithClusterIdentifier(String clusterIdentifier)RedshiftDatabasewithDatabaseName(String databaseName)
-
-
-
Method Detail
-
setDatabaseName
public void setDatabaseName(String databaseName)
- Parameters:
databaseName-
-
getDatabaseName
public String getDatabaseName()
- Returns:
-
withDatabaseName
public RedshiftDatabase withDatabaseName(String databaseName)
- Parameters:
databaseName-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setClusterIdentifier
public void setClusterIdentifier(String clusterIdentifier)
- Parameters:
clusterIdentifier-
-
getClusterIdentifier
public String getClusterIdentifier()
- Returns:
-
withClusterIdentifier
public RedshiftDatabase withClusterIdentifier(String clusterIdentifier)
- Parameters:
clusterIdentifier-- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RedshiftDatabase clone()
-
-