Class CreateDataSourceFromRedshiftRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The compute statistics for aDataSource
.A user-supplied ID that uniquely identifies theDataSource
.A user-supplied name or description of theDataSource
.The data specification of an Amazon RedshiftDataSource
:A fully specified role Amazon Resource Name (ARN).int
hashCode()
The compute statistics for aDataSource
.void
setComputeStatistics
(Boolean computeStatistics) The compute statistics for aDataSource
.void
setDataSourceId
(String dataSourceId) A user-supplied ID that uniquely identifies theDataSource
.void
setDataSourceName
(String dataSourceName) A user-supplied name or description of theDataSource
.void
setDataSpec
(RedshiftDataSpec dataSpec) The data specification of an Amazon RedshiftDataSource
:void
setRoleARN
(String roleARN) A fully specified role Amazon Resource Name (ARN).toString()
Returns a string representation of this object; useful for testing and debugging.withComputeStatistics
(Boolean computeStatistics) The compute statistics for aDataSource
.withDataSourceId
(String dataSourceId) A user-supplied ID that uniquely identifies theDataSource
.withDataSourceName
(String dataSourceName) A user-supplied name or description of theDataSource
.withDataSpec
(RedshiftDataSpec dataSpec) The data specification of an Amazon RedshiftDataSource
:withRoleARN
(String roleARN) A fully specified role Amazon Resource Name (ARN).Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateDataSourceFromRedshiftRequest
public CreateDataSourceFromRedshiftRequest()
-
-
Method Details
-
setDataSourceId
A user-supplied ID that uniquely identifies the
DataSource
.- Parameters:
dataSourceId
- A user-supplied ID that uniquely identifies theDataSource
.
-
getDataSourceId
A user-supplied ID that uniquely identifies the
DataSource
.- Returns:
- A user-supplied ID that uniquely identifies the
DataSource
.
-
withDataSourceId
A user-supplied ID that uniquely identifies the
DataSource
.- Parameters:
dataSourceId
- A user-supplied ID that uniquely identifies theDataSource
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDataSourceName
A user-supplied name or description of the
DataSource
.- Parameters:
dataSourceName
- A user-supplied name or description of theDataSource
.
-
getDataSourceName
A user-supplied name or description of the
DataSource
.- Returns:
- A user-supplied name or description of the
DataSource
.
-
withDataSourceName
A user-supplied name or description of the
DataSource
.- Parameters:
dataSourceName
- A user-supplied name or description of theDataSource
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDataSpec
The data specification of an Amazon Redshift
DataSource
:-
DatabaseInformation -
-
DatabaseName
- Name of the Amazon Redshift database. -
ClusterIdentifier
- Unique ID for the Amazon Redshift cluster.
-
-
DatabaseCredentials - AWS Identity abd Access Management (IAM) credentials that are used to connect to the Amazon Redshift database.
-
SelectSqlQuery - Query that is used to retrieve the observation data for the
Datasource
. -
S3StagingLocation - Amazon Simple Storage Service (Amazon S3) location for staging Amazon Redshift data. The data retrieved from Amazon Relational Database Service (Amazon RDS) using
SelectSqlQuery
is stored in this location. -
DataSchemaUri - Amazon S3 location of the
DataSchema
. -
DataSchema - A JSON string representing the schema. This is not required if
DataSchemaUri
is specified. -
DataRearrangement - A JSON string representing the splitting requirement of a
Datasource
.
Sample -
"{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"
- Parameters:
dataSpec
- The data specification of an Amazon RedshiftDataSource
:-
DatabaseInformation -
-
DatabaseName
- Name of the Amazon Redshift database. -
ClusterIdentifier
- Unique ID for the Amazon Redshift cluster.
-
-
DatabaseCredentials - AWS Identity abd Access Management (IAM) credentials that are used to connect to the Amazon Redshift database.
-
SelectSqlQuery - Query that is used to retrieve the observation data for the
Datasource
. -
S3StagingLocation - Amazon Simple Storage Service (Amazon S3) location for staging Amazon Redshift data. The data retrieved from Amazon Relational Database Service (Amazon RDS) using
SelectSqlQuery
is stored in this location. -
DataSchemaUri - Amazon S3 location of the
DataSchema
. -
DataSchema - A JSON string representing the schema. This is not required if
DataSchemaUri
is specified. -
DataRearrangement - A JSON string representing the splitting requirement of a
Datasource
.
Sample -
"{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"
-
-
-
getDataSpec
The data specification of an Amazon Redshift
DataSource
:-
DatabaseInformation -
-
DatabaseName
- Name of the Amazon Redshift database. -
ClusterIdentifier
- Unique ID for the Amazon Redshift cluster.
-
-
DatabaseCredentials - AWS Identity abd Access Management (IAM) credentials that are used to connect to the Amazon Redshift database.
-
SelectSqlQuery - Query that is used to retrieve the observation data for the
Datasource
. -
S3StagingLocation - Amazon Simple Storage Service (Amazon S3) location for staging Amazon Redshift data. The data retrieved from Amazon Relational Database Service (Amazon RDS) using
SelectSqlQuery
is stored in this location. -
DataSchemaUri - Amazon S3 location of the
DataSchema
. -
DataSchema - A JSON string representing the schema. This is not required if
DataSchemaUri
is specified. -
DataRearrangement - A JSON string representing the splitting requirement of a
Datasource
.
Sample -
"{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"
- Returns:
- The data specification of an Amazon Redshift
DataSource
:-
DatabaseInformation -
-
DatabaseName
- Name of the Amazon Redshift database. -
ClusterIdentifier
- Unique ID for the Amazon Redshift cluster.
-
-
DatabaseCredentials - AWS Identity abd Access Management (IAM) credentials that are used to connect to the Amazon Redshift database.
-
SelectSqlQuery - Query that is used to retrieve the observation data for the
Datasource
. -
S3StagingLocation - Amazon Simple Storage Service (Amazon S3) location for staging Amazon Redshift data. The data retrieved from Amazon Relational Database Service (Amazon RDS) using
SelectSqlQuery
is stored in this location. -
DataSchemaUri - Amazon S3 location of the
DataSchema
. -
DataSchema - A JSON string representing the schema. This is not required if
DataSchemaUri
is specified. -
DataRearrangement - A JSON string representing the splitting requirement of a
Datasource
.
Sample -
"{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"
-
-
-
withDataSpec
The data specification of an Amazon Redshift
DataSource
:-
DatabaseInformation -
-
DatabaseName
- Name of the Amazon Redshift database. -
ClusterIdentifier
- Unique ID for the Amazon Redshift cluster.
-
-
DatabaseCredentials - AWS Identity abd Access Management (IAM) credentials that are used to connect to the Amazon Redshift database.
-
SelectSqlQuery - Query that is used to retrieve the observation data for the
Datasource
. -
S3StagingLocation - Amazon Simple Storage Service (Amazon S3) location for staging Amazon Redshift data. The data retrieved from Amazon Relational Database Service (Amazon RDS) using
SelectSqlQuery
is stored in this location. -
DataSchemaUri - Amazon S3 location of the
DataSchema
. -
DataSchema - A JSON string representing the schema. This is not required if
DataSchemaUri
is specified. -
DataRearrangement - A JSON string representing the splitting requirement of a
Datasource
.
Sample -
"{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"
- Parameters:
dataSpec
- The data specification of an Amazon RedshiftDataSource
:-
DatabaseInformation -
-
DatabaseName
- Name of the Amazon Redshift database. -
ClusterIdentifier
- Unique ID for the Amazon Redshift cluster.
-
-
DatabaseCredentials - AWS Identity abd Access Management (IAM) credentials that are used to connect to the Amazon Redshift database.
-
SelectSqlQuery - Query that is used to retrieve the observation data for the
Datasource
. -
S3StagingLocation - Amazon Simple Storage Service (Amazon S3) location for staging Amazon Redshift data. The data retrieved from Amazon Relational Database Service (Amazon RDS) using
SelectSqlQuery
is stored in this location. -
DataSchemaUri - Amazon S3 location of the
DataSchema
. -
DataSchema - A JSON string representing the schema. This is not required if
DataSchemaUri
is specified. -
DataRearrangement - A JSON string representing the splitting requirement of a
Datasource
.
Sample -
"{\"splitting\":{\"percentBegin\":10,\"percentEnd\":60}}"
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
setRoleARN
A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the role on behalf of the user to create the following:
-
A security group to allow Amazon ML to execute the
SelectSqlQuery
query on an Amazon Redshift cluster -
An Amazon S3 bucket policy to grant Amazon ML read/write permissions on the
S3StagingLocation
- Parameters:
roleARN
- A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the role on behalf of the user to create the following:-
A security group to allow Amazon ML to execute the
SelectSqlQuery
query on an Amazon Redshift cluster -
An Amazon S3 bucket policy to grant Amazon ML read/write permissions on the
S3StagingLocation
-
-
-
getRoleARN
A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the role on behalf of the user to create the following:
-
A security group to allow Amazon ML to execute the
SelectSqlQuery
query on an Amazon Redshift cluster -
An Amazon S3 bucket policy to grant Amazon ML read/write permissions on the
S3StagingLocation
- Returns:
- A fully specified role Amazon Resource Name (ARN). Amazon ML
assumes the role on behalf of the user to create the following:
-
A security group to allow Amazon ML to execute the
SelectSqlQuery
query on an Amazon Redshift cluster -
An Amazon S3 bucket policy to grant Amazon ML read/write permissions on the
S3StagingLocation
-
-
-
withRoleARN
A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the role on behalf of the user to create the following:
-
A security group to allow Amazon ML to execute the
SelectSqlQuery
query on an Amazon Redshift cluster -
An Amazon S3 bucket policy to grant Amazon ML read/write permissions on the
S3StagingLocation
- Parameters:
roleARN
- A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the role on behalf of the user to create the following:-
A security group to allow Amazon ML to execute the
SelectSqlQuery
query on an Amazon Redshift cluster -
An Amazon S3 bucket policy to grant Amazon ML read/write permissions on the
S3StagingLocation
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
setComputeStatistics
The compute statistics for a
DataSource
. The statistics are generated from the observation data referenced by aDataSource
. Amazon ML uses the statistics internally duringMLModel
training. This parameter must be set totrue
if theDataSource
needs to be used for
MLModel
training- Parameters:
computeStatistics
- The compute statistics for aDataSource
. The statistics are generated from the observation data referenced by aDataSource
. Amazon ML uses the statistics internally duringMLModel
training. This parameter must be set totrue
if theDataSource
needs to be used for
MLModel
training
-
getComputeStatistics
The compute statistics for a
DataSource
. The statistics are generated from the observation data referenced by aDataSource
. Amazon ML uses the statistics internally duringMLModel
training. This parameter must be set totrue
if theDataSource
needs to be used for
MLModel
training- Returns:
- The compute statistics for a
DataSource
. The statistics are generated from the observation data referenced by aDataSource
. Amazon ML uses the statistics internally duringMLModel
training. This parameter must be set totrue
if theDataSource
needs to be used for
MLModel
training
-
withComputeStatistics
The compute statistics for a
DataSource
. The statistics are generated from the observation data referenced by aDataSource
. Amazon ML uses the statistics internally duringMLModel
training. This parameter must be set totrue
if theDataSource
needs to be used for
MLModel
training- Parameters:
computeStatistics
- The compute statistics for aDataSource
. The statistics are generated from the observation data referenced by aDataSource
. Amazon ML uses the statistics internally duringMLModel
training. This parameter must be set totrue
if theDataSource
needs to be used for
MLModel
training- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isComputeStatistics
The compute statistics for a
DataSource
. The statistics are generated from the observation data referenced by aDataSource
. Amazon ML uses the statistics internally duringMLModel
training. This parameter must be set totrue
if theDataSource
needs to be used for
MLModel
training- Returns:
- The compute statistics for a
DataSource
. The statistics are generated from the observation data referenced by aDataSource
. Amazon ML uses the statistics internally duringMLModel
training. This parameter must be set totrue
if theDataSource
needs to be used for
MLModel
training
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-