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()
A username to be used by Amazon Machine Learning (Amazon ML)to connect
to a database on an Amazon Redshift cluster.
|
RedshiftDatabase |
getRedshiftDatabase()
Describes the database details required to connect to an Amazon
Redshift database.
|
String |
getSelectSqlQuery()
The SQL query that is specified during
CreateDataSourceFromRedshift.
|
int |
hashCode() |
void |
setDatabaseUserName(String databaseUserName)
A username to be used by Amazon Machine Learning (Amazon ML)to connect
to a database on an Amazon Redshift cluster.
|
void |
setRedshiftDatabase(RedshiftDatabase redshiftDatabase)
Describes the database details required to connect to an Amazon
Redshift database.
|
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)
A username to be used by Amazon Machine Learning (Amazon ML)to connect
to a database on an Amazon Redshift cluster.
|
RedshiftMetadata |
withRedshiftDatabase(RedshiftDatabase redshiftDatabase)
Describes the database details required to connect to an Amazon
Redshift database.
|
RedshiftMetadata |
withSelectSqlQuery(String selectSqlQuery)
The SQL query that is specified during
CreateDataSourceFromRedshift.
|
public RedshiftDatabase getRedshiftDatabase()
public void setRedshiftDatabase(RedshiftDatabase redshiftDatabase)
redshiftDatabase
- Describes the database details required to connect to an Amazon
Redshift database.public RedshiftMetadata withRedshiftDatabase(RedshiftDatabase redshiftDatabase)
Returns a reference to this object so that method calls can be chained together.
redshiftDatabase
- Describes the database details required to connect to an Amazon
Redshift database.public String getDatabaseUserName()
RedshiftSelectSqlQuery
query. The username should be
valid for an Amazon Redshift USER.
Constraints:
Length: 1 - 128
RedshiftSelectSqlQuery
query. The username should be
valid for an Amazon Redshift USER.public void setDatabaseUserName(String databaseUserName)
RedshiftSelectSqlQuery
query. The username should be
valid for an Amazon Redshift USER.
Constraints:
Length: 1 - 128
databaseUserName
- A username to be used by Amazon Machine Learning (Amazon ML)to connect
to a database on an Amazon Redshift cluster. The username should have
sufficient permissions to execute the
RedshiftSelectSqlQuery
query. The username should be
valid for an Amazon Redshift USER.public RedshiftMetadata withDatabaseUserName(String databaseUserName)
RedshiftSelectSqlQuery
query. The username should be
valid for an Amazon Redshift USER.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
databaseUserName
- A username to be used by Amazon Machine Learning (Amazon ML)to connect
to a database on an Amazon Redshift cluster. The username should have
sufficient permissions to execute the
RedshiftSelectSqlQuery
query. The username should be
valid for an Amazon Redshift USER.public String getSelectSqlQuery()
Verbose
is true in GetDataSourceInput.
Constraints:
Length: 1 - 16777216
Verbose
is true in GetDataSourceInput.public void setSelectSqlQuery(String selectSqlQuery)
Verbose
is true in GetDataSourceInput.
Constraints:
Length: 1 - 16777216
selectSqlQuery
- The SQL query that is specified during
CreateDataSourceFromRedshift. Returns only if
Verbose
is true in GetDataSourceInput.public RedshiftMetadata withSelectSqlQuery(String selectSqlQuery)
Verbose
is true in GetDataSourceInput.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 16777216
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.