public class RedshiftDataSpec extends Object implements Serializable, Cloneable
 Describes the data specification of an Amazon Redshift
 DataSource .
 
| Constructor and Description | 
|---|
| RedshiftDataSpec() | 
| Modifier and Type | Method and Description | 
|---|---|
| RedshiftDataSpec | clone() | 
| boolean | equals(Object obj) | 
| RedshiftDatabaseCredentials | getDatabaseCredentials()Describes AWS Identity and Access Management (IAM) credentials that
 are used connect to the Amazon Redshift database. | 
| RedshiftDatabase | getDatabaseInformation()Describes the  DatabaseNameandClusterIdentifierfor an Amazon RedshiftDataSource. | 
| String | getDataRearrangement()Describes the splitting specifications for a  DataSource. | 
| String | getDataSchema()Describes the schema for an Amazon Redshift  DataSource. | 
| String | getDataSchemaUri()Describes the schema location for an Amazon Redshift
  DataSource. | 
| String | getS3StagingLocation()Describes an Amazon S3 location to store the result set of the
  SelectSqlQueryquery. | 
| String | getSelectSqlQuery()Describes the SQL Query to execute on an Amazon Redshift database for
 an Amazon Redshift  DataSource. | 
| int | hashCode() | 
| void | setDatabaseCredentials(RedshiftDatabaseCredentials databaseCredentials)Describes AWS Identity and Access Management (IAM) credentials that
 are used connect to the Amazon Redshift database. | 
| void | setDatabaseInformation(RedshiftDatabase databaseInformation)Describes the  DatabaseNameandClusterIdentifierfor an Amazon RedshiftDataSource. | 
| void | setDataRearrangement(String dataRearrangement)Describes the splitting specifications for a  DataSource. | 
| void | setDataSchema(String dataSchema)Describes the schema for an Amazon Redshift  DataSource. | 
| void | setDataSchemaUri(String dataSchemaUri)Describes the schema location for an Amazon Redshift
  DataSource. | 
| void | setS3StagingLocation(String s3StagingLocation)Describes an Amazon S3 location to store the result set of the
  SelectSqlQueryquery. | 
| void | setSelectSqlQuery(String selectSqlQuery)Describes the SQL Query to execute on an Amazon Redshift database for
 an Amazon Redshift  DataSource. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| RedshiftDataSpec | withDatabaseCredentials(RedshiftDatabaseCredentials databaseCredentials)Describes AWS Identity and Access Management (IAM) credentials that
 are used connect to the Amazon Redshift database. | 
| RedshiftDataSpec | withDatabaseInformation(RedshiftDatabase databaseInformation)Describes the  DatabaseNameandClusterIdentifierfor an Amazon RedshiftDataSource. | 
| RedshiftDataSpec | withDataRearrangement(String dataRearrangement)Describes the splitting specifications for a  DataSource. | 
| RedshiftDataSpec | withDataSchema(String dataSchema)Describes the schema for an Amazon Redshift  DataSource. | 
| RedshiftDataSpec | withDataSchemaUri(String dataSchemaUri)Describes the schema location for an Amazon Redshift
  DataSource. | 
| RedshiftDataSpec | withS3StagingLocation(String s3StagingLocation)Describes an Amazon S3 location to store the result set of the
  SelectSqlQueryquery. | 
| RedshiftDataSpec | withSelectSqlQuery(String selectSqlQuery)Describes the SQL Query to execute on an Amazon Redshift database for
 an Amazon Redshift  DataSource. | 
public RedshiftDatabase getDatabaseInformation()
DatabaseName and
 ClusterIdentifier for an Amazon Redshift
 DataSource.DatabaseName and
         ClusterIdentifier for an Amazon Redshift
         DataSource.public void setDatabaseInformation(RedshiftDatabase databaseInformation)
DatabaseName and
 ClusterIdentifier for an Amazon Redshift
 DataSource.databaseInformation - Describes the DatabaseName and
         ClusterIdentifier for an Amazon Redshift
         DataSource.public RedshiftDataSpec withDatabaseInformation(RedshiftDatabase databaseInformation)
DatabaseName and
 ClusterIdentifier for an Amazon Redshift
 DataSource.
 Returns a reference to this object so that method calls can be chained together.
databaseInformation - Describes the DatabaseName and
         ClusterIdentifier for an Amazon Redshift
         DataSource.public String getSelectSqlQuery()
DataSource.
 
 Constraints:
 Length: 1 - 16777216
DataSource.public void setSelectSqlQuery(String selectSqlQuery)
DataSource.
 
 Constraints:
 Length: 1 - 16777216
selectSqlQuery - Describes the SQL Query to execute on an Amazon Redshift database for
         an Amazon Redshift DataSource.public RedshiftDataSpec withSelectSqlQuery(String selectSqlQuery)
DataSource.
 Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 16777216
selectSqlQuery - Describes the SQL Query to execute on an Amazon Redshift database for
         an Amazon Redshift DataSource.public RedshiftDatabaseCredentials getDatabaseCredentials()
public void setDatabaseCredentials(RedshiftDatabaseCredentials databaseCredentials)
databaseCredentials - Describes AWS Identity and Access Management (IAM) credentials that
         are used connect to the Amazon Redshift database.public RedshiftDataSpec withDatabaseCredentials(RedshiftDatabaseCredentials databaseCredentials)
Returns a reference to this object so that method calls can be chained together.
databaseCredentials - Describes AWS Identity and Access Management (IAM) credentials that
         are used connect to the Amazon Redshift database.public String getS3StagingLocation()
SelectSqlQuery query.
 
 Constraints:
 Length: 0 - 2048
 Pattern: s3://([^/]+)(/.*)?
SelectSqlQuery query.public void setS3StagingLocation(String s3StagingLocation)
SelectSqlQuery query.
 
 Constraints:
 Length: 0 - 2048
 Pattern: s3://([^/]+)(/.*)?
s3StagingLocation - Describes an Amazon S3 location to store the result set of the
         SelectSqlQuery query.public RedshiftDataSpec withS3StagingLocation(String s3StagingLocation)
SelectSqlQuery query.
 Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 2048
 Pattern: s3://([^/]+)(/.*)?
s3StagingLocation - Describes an Amazon S3 location to store the result set of the
         SelectSqlQuery query.public String getDataRearrangement()
DataSource.DataSource.public void setDataRearrangement(String dataRearrangement)
DataSource.dataRearrangement - Describes the splitting specifications for a DataSource.public RedshiftDataSpec withDataRearrangement(String dataRearrangement)
DataSource.
 Returns a reference to this object so that method calls can be chained together.
dataRearrangement - Describes the splitting specifications for a DataSource.public String getDataSchema()
DataSource.
 
 Constraints:
 Length: 0 - 131071
DataSource.public void setDataSchema(String dataSchema)
DataSource.
 
 Constraints:
 Length: 0 - 131071
dataSchema - Describes the schema for an Amazon Redshift DataSource.public RedshiftDataSpec withDataSchema(String dataSchema)
DataSource.
 Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 131071
dataSchema - Describes the schema for an Amazon Redshift DataSource.public String getDataSchemaUri()
DataSource.
 
 Constraints:
 Length: 0 - 2048
 Pattern: s3://([^/]+)(/.*)?
DataSource.public void setDataSchemaUri(String dataSchemaUri)
DataSource.
 
 Constraints:
 Length: 0 - 2048
 Pattern: s3://([^/]+)(/.*)?
dataSchemaUri - Describes the schema location for an Amazon Redshift
         DataSource.public RedshiftDataSpec withDataSchemaUri(String dataSchemaUri)
DataSource.
 Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 2048
 Pattern: s3://([^/]+)(/.*)?
dataSchemaUri - Describes the schema location for an Amazon Redshift
         DataSource.public String toString()
toString in class ObjectObject.toString()public RedshiftDataSpec clone()
Copyright © 2015. All rights reserved.