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()
The ID of an Amazon Redshift cluster.
|
String |
getDatabaseName()
The name of a database hosted on an Amazon Redshift cluster.
|
int |
hashCode() |
void |
setClusterIdentifier(String clusterIdentifier)
The ID of an Amazon Redshift cluster.
|
void |
setDatabaseName(String databaseName)
The name of a database hosted on an Amazon Redshift cluster.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RedshiftDatabase |
withClusterIdentifier(String clusterIdentifier)
The ID of an Amazon Redshift cluster.
|
RedshiftDatabase |
withDatabaseName(String databaseName)
The name of a database hosted on an Amazon Redshift cluster.
|
public String getDatabaseName()
Constraints:
Length: 1 - 64
Pattern: [a-z0-9]+
public void setDatabaseName(String databaseName)
Constraints:
Length: 1 - 64
Pattern: [a-z0-9]+
databaseName
- The name of a database hosted on an Amazon Redshift cluster.public RedshiftDatabase withDatabaseName(String databaseName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-z0-9]+
databaseName
- The name of a database hosted on an Amazon Redshift cluster.public String getClusterIdentifier()
Constraints:
Length: 1 - 63
Pattern: [a-z0-9-]+
public void setClusterIdentifier(String clusterIdentifier)
Constraints:
Length: 1 - 63
Pattern: [a-z0-9-]+
clusterIdentifier
- The ID of an Amazon Redshift cluster.public RedshiftDatabase withClusterIdentifier(String clusterIdentifier)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 63
Pattern: [a-z0-9-]+
clusterIdentifier
- The ID of an Amazon Redshift cluster.public String toString()
toString
in class Object
Object.toString()
public RedshiftDatabase clone()
Copyright © 2015. All rights reserved.