Class RedshiftMetadata
java.lang.Object
com.amazonaws.services.machinelearning.model.RedshiftMetadata
- All Implemented Interfaces:
Serializable, Cloneable
Describes the DataSource details specific to Amazon Redshift.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe SQL query that is specified during CreateDataSourceFromRedshift.inthashCode()voidsetDatabaseUserName(String databaseUserName) voidsetRedshiftDatabase(RedshiftDatabase redshiftDatabase) voidsetSelectSqlQuery(String selectSqlQuery) The SQL query that is specified during CreateDataSourceFromRedshift.toString()Returns a string representation of this object; useful for testing and debugging.withDatabaseUserName(String databaseUserName) withRedshiftDatabase(RedshiftDatabase redshiftDatabase) withSelectSqlQuery(String selectSqlQuery) The SQL query that is specified during CreateDataSourceFromRedshift.
-
Constructor Details
-
RedshiftMetadata
public RedshiftMetadata()
-
-
Method Details
-
setRedshiftDatabase
- Parameters:
redshiftDatabase-
-
getRedshiftDatabase
- Returns:
-
withRedshiftDatabase
- Parameters:
redshiftDatabase-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDatabaseUserName
- Parameters:
databaseUserName-
-
getDatabaseUserName
- Returns:
-
withDatabaseUserName
- Parameters:
databaseUserName-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSelectSqlQuery
The SQL query that is specified during CreateDataSourceFromRedshift. Returns only if
Verboseis true in GetDataSourceInput.- Parameters:
selectSqlQuery- The SQL query that is specified during CreateDataSourceFromRedshift. Returns only ifVerboseis true in GetDataSourceInput.
-
getSelectSqlQuery
The SQL query that is specified during CreateDataSourceFromRedshift. Returns only if
Verboseis true in GetDataSourceInput.- Returns:
- The SQL query that is specified during
CreateDataSourceFromRedshift. Returns only if
Verboseis true in GetDataSourceInput.
-
withSelectSqlQuery
The SQL query that is specified during CreateDataSourceFromRedshift. Returns only if
Verboseis true in GetDataSourceInput.- Parameters:
selectSqlQuery- The SQL query that is specified during CreateDataSourceFromRedshift. Returns only ifVerboseis true in GetDataSourceInput.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-