public class RedshiftMetadata extends Object implements Serializable, Cloneable
Describes the DataSource
details specific to Amazon Redshift.
Constructor and Description |
---|
RedshiftMetadata() |
Modifier and Type | Method and Description |
---|---|
RedshiftMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getDatabaseUserName()
Returns the value of the DatabaseUserName property for this object.
|
RedshiftDatabase |
getRedshiftDatabase()
Returns the value of the RedshiftDatabase property for this object.
|
String |
getSelectSqlQuery()
The SQL query that is specified during
CreateDataSourceFromRedshift.
|
int |
hashCode() |
void |
setDatabaseUserName(String databaseUserName)
Sets the value of the DatabaseUserName property for this object.
|
void |
setRedshiftDatabase(RedshiftDatabase redshiftDatabase)
Sets the value of the RedshiftDatabase property for this object.
|
void |
setSelectSqlQuery(String selectSqlQuery)
The SQL query that is specified during
CreateDataSourceFromRedshift.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RedshiftMetadata |
withDatabaseUserName(String databaseUserName)
Sets the value of the DatabaseUserName property for this object.
|
RedshiftMetadata |
withRedshiftDatabase(RedshiftDatabase redshiftDatabase)
Sets the value of the RedshiftDatabase property for this object.
|
RedshiftMetadata |
withSelectSqlQuery(String selectSqlQuery)
The SQL query that is specified during
CreateDataSourceFromRedshift.
|
public void setRedshiftDatabase(RedshiftDatabase redshiftDatabase)
redshiftDatabase
- The new value for the RedshiftDatabase property for this object.public RedshiftDatabase getRedshiftDatabase()
public RedshiftMetadata withRedshiftDatabase(RedshiftDatabase redshiftDatabase)
redshiftDatabase
- The new value for the RedshiftDatabase property for this object.public void setDatabaseUserName(String databaseUserName)
databaseUserName
- The new value for the DatabaseUserName property for this object.public String getDatabaseUserName()
public RedshiftMetadata withDatabaseUserName(String databaseUserName)
databaseUserName
- The new value for the DatabaseUserName property for this object.public void setSelectSqlQuery(String selectSqlQuery)
The SQL query that is specified during
CreateDataSourceFromRedshift. Returns only if Verbose
is true in GetDataSourceInput.
selectSqlQuery
- The SQL query that is specified during
CreateDataSourceFromRedshift. Returns only if
Verbose
is true in GetDataSourceInput.public String getSelectSqlQuery()
The SQL query that is specified during
CreateDataSourceFromRedshift. Returns only if Verbose
is true in GetDataSourceInput.
Verbose
is true in GetDataSourceInput.public RedshiftMetadata withSelectSqlQuery(String selectSqlQuery)
The SQL query that is specified during
CreateDataSourceFromRedshift. Returns only if Verbose
is true in GetDataSourceInput.
selectSqlQuery
- The SQL query that is specified during
CreateDataSourceFromRedshift. Returns only if
Verbose
is true in GetDataSourceInput.public String toString()
toString
in class Object
Object.toString()
public RedshiftMetadata clone()
Copyright © 2015. All rights reserved.