Class RedshiftMetadata
- java.lang.Object
-
- com.amazonaws.services.machinelearning.model.RedshiftMetadata
-
- All Implemented Interfaces:
Serializable,Cloneable
public class RedshiftMetadata extends Object implements Serializable, Cloneable
Describes the
DataSourcedetails specific to Amazon Redshift.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RedshiftMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RedshiftMetadataclone()booleanequals(Object obj)StringgetDatabaseUserName()RedshiftDatabasegetRedshiftDatabase()StringgetSelectSqlQuery()The 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.StringtoString()Returns a string representation of this object; useful for testing and debugging.RedshiftMetadatawithDatabaseUserName(String databaseUserName)RedshiftMetadatawithRedshiftDatabase(RedshiftDatabase redshiftDatabase)RedshiftMetadatawithSelectSqlQuery(String selectSqlQuery)The SQL query that is specified during CreateDataSourceFromRedshift.
-
-
-
Method Detail
-
setRedshiftDatabase
public void setRedshiftDatabase(RedshiftDatabase redshiftDatabase)
- Parameters:
redshiftDatabase-
-
getRedshiftDatabase
public RedshiftDatabase getRedshiftDatabase()
- Returns:
-
withRedshiftDatabase
public RedshiftMetadata withRedshiftDatabase(RedshiftDatabase redshiftDatabase)
- Parameters:
redshiftDatabase-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDatabaseUserName
public void setDatabaseUserName(String databaseUserName)
- Parameters:
databaseUserName-
-
getDatabaseUserName
public String getDatabaseUserName()
- Returns:
-
withDatabaseUserName
public RedshiftMetadata withDatabaseUserName(String databaseUserName)
- Parameters:
databaseUserName-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSelectSqlQuery
public void setSelectSqlQuery(String selectSqlQuery)
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
public String 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
public RedshiftMetadata withSelectSqlQuery(String selectSqlQuery)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public RedshiftMetadata clone()
-
-