public class RedshiftDatabase extends Object implements Serializable, Cloneable
Describes the database details required to connect to an Amazon Redshift database.
Constructor and Description |
---|
RedshiftDatabase() |
Modifier and Type | Method and Description |
---|---|
RedshiftDatabase |
clone() |
boolean |
equals(Object obj) |
String |
getClusterIdentifier()
Returns the value of the ClusterIdentifier property for this object.
|
String |
getDatabaseName()
Returns the value of the DatabaseName property for this object.
|
int |
hashCode() |
void |
setClusterIdentifier(String clusterIdentifier)
Sets the value of the ClusterIdentifier property for this object.
|
void |
setDatabaseName(String databaseName)
Sets the value of the DatabaseName property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RedshiftDatabase |
withClusterIdentifier(String clusterIdentifier)
Sets the value of the ClusterIdentifier property for this object.
|
RedshiftDatabase |
withDatabaseName(String databaseName)
Sets the value of the DatabaseName property for this object.
|
public void setDatabaseName(String databaseName)
databaseName
- The new value for the DatabaseName property for this object.public String getDatabaseName()
public RedshiftDatabase withDatabaseName(String databaseName)
databaseName
- The new value for the DatabaseName property for this object.public void setClusterIdentifier(String clusterIdentifier)
clusterIdentifier
- The new value for the ClusterIdentifier property for this object.public String getClusterIdentifier()
public RedshiftDatabase withClusterIdentifier(String clusterIdentifier)
clusterIdentifier
- The new value for the ClusterIdentifier property for this object.public String toString()
toString
in class Object
Object.toString()
public RedshiftDatabase clone()
Copyright © 2015. All rights reserved.