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 RedshiftDatabase
clone()
boolean
equals(Object obj)
String
getClusterIdentifier()
String
getDatabaseName()
int
hashCode()
void
setClusterIdentifier(String clusterIdentifier)
void
setDatabaseName(String databaseName)
String
toString()
Returns a string representation of this object; useful for testing and debugging.RedshiftDatabase
withClusterIdentifier(String clusterIdentifier)
RedshiftDatabase
withDatabaseName(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RedshiftDatabase clone()
-
-