@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RedshiftDatasetDefinition extends Object implements Serializable, Cloneable, StructuredPojo
Configuration for Redshift Dataset Definition input.
| Constructor and Description |
|---|
RedshiftDatasetDefinition() |
| Modifier and Type | Method and Description |
|---|---|
RedshiftDatasetDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getClusterId() |
String |
getClusterRoleArn()
The IAM role attached to your Redshift cluster that Amazon SageMaker uses to generate datasets.
|
String |
getDatabase() |
String |
getDbUser() |
String |
getKmsKeyId()
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to
encrypt data from a Redshift execution.
|
String |
getOutputCompression() |
String |
getOutputFormat() |
String |
getOutputS3Uri()
The location in Amazon S3 where the Redshift query results are stored.
|
String |
getQueryString() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setClusterId(String clusterId) |
void |
setClusterRoleArn(String clusterRoleArn)
The IAM role attached to your Redshift cluster that Amazon SageMaker uses to generate datasets.
|
void |
setDatabase(String database) |
void |
setDbUser(String dbUser) |
void |
setKmsKeyId(String kmsKeyId)
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to
encrypt data from a Redshift execution.
|
void |
setOutputCompression(String outputCompression) |
void |
setOutputFormat(String outputFormat) |
void |
setOutputS3Uri(String outputS3Uri)
The location in Amazon S3 where the Redshift query results are stored.
|
void |
setQueryString(String queryString) |
String |
toString()
Returns a string representation of this object.
|
RedshiftDatasetDefinition |
withClusterId(String clusterId) |
RedshiftDatasetDefinition |
withClusterRoleArn(String clusterRoleArn)
The IAM role attached to your Redshift cluster that Amazon SageMaker uses to generate datasets.
|
RedshiftDatasetDefinition |
withDatabase(String database) |
RedshiftDatasetDefinition |
withDbUser(String dbUser) |
RedshiftDatasetDefinition |
withKmsKeyId(String kmsKeyId)
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to
encrypt data from a Redshift execution.
|
RedshiftDatasetDefinition |
withOutputCompression(RedshiftResultCompressionType outputCompression) |
RedshiftDatasetDefinition |
withOutputCompression(String outputCompression) |
RedshiftDatasetDefinition |
withOutputFormat(RedshiftResultFormat outputFormat) |
RedshiftDatasetDefinition |
withOutputFormat(String outputFormat) |
RedshiftDatasetDefinition |
withOutputS3Uri(String outputS3Uri)
The location in Amazon S3 where the Redshift query results are stored.
|
RedshiftDatasetDefinition |
withQueryString(String queryString) |
public void setClusterId(String clusterId)
clusterId - public String getClusterId()
public RedshiftDatasetDefinition withClusterId(String clusterId)
clusterId - public void setDatabase(String database)
database - public String getDatabase()
public RedshiftDatasetDefinition withDatabase(String database)
database - public void setDbUser(String dbUser)
dbUser - public String getDbUser()
public RedshiftDatasetDefinition withDbUser(String dbUser)
dbUser - public void setQueryString(String queryString)
queryString - public String getQueryString()
public RedshiftDatasetDefinition withQueryString(String queryString)
queryString - public void setClusterRoleArn(String clusterRoleArn)
The IAM role attached to your Redshift cluster that Amazon SageMaker uses to generate datasets.
clusterRoleArn - The IAM role attached to your Redshift cluster that Amazon SageMaker uses to generate datasets.public String getClusterRoleArn()
The IAM role attached to your Redshift cluster that Amazon SageMaker uses to generate datasets.
public RedshiftDatasetDefinition withClusterRoleArn(String clusterRoleArn)
The IAM role attached to your Redshift cluster that Amazon SageMaker uses to generate datasets.
clusterRoleArn - The IAM role attached to your Redshift cluster that Amazon SageMaker uses to generate datasets.public void setOutputS3Uri(String outputS3Uri)
The location in Amazon S3 where the Redshift query results are stored.
outputS3Uri - The location in Amazon S3 where the Redshift query results are stored.public String getOutputS3Uri()
The location in Amazon S3 where the Redshift query results are stored.
public RedshiftDatasetDefinition withOutputS3Uri(String outputS3Uri)
The location in Amazon S3 where the Redshift query results are stored.
outputS3Uri - The location in Amazon S3 where the Redshift query results are stored.public void setKmsKeyId(String kmsKeyId)
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data from a Redshift execution.
kmsKeyId - The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to
encrypt data from a Redshift execution.public String getKmsKeyId()
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data from a Redshift execution.
public RedshiftDatasetDefinition withKmsKeyId(String kmsKeyId)
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data from a Redshift execution.
kmsKeyId - The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to
encrypt data from a Redshift execution.public void setOutputFormat(String outputFormat)
outputFormat - RedshiftResultFormatpublic String getOutputFormat()
RedshiftResultFormatpublic RedshiftDatasetDefinition withOutputFormat(String outputFormat)
outputFormat - RedshiftResultFormatpublic RedshiftDatasetDefinition withOutputFormat(RedshiftResultFormat outputFormat)
outputFormat - RedshiftResultFormatpublic void setOutputCompression(String outputCompression)
outputCompression - RedshiftResultCompressionTypepublic String getOutputCompression()
RedshiftResultCompressionTypepublic RedshiftDatasetDefinition withOutputCompression(String outputCompression)
outputCompression - RedshiftResultCompressionTypepublic RedshiftDatasetDefinition withOutputCompression(RedshiftResultCompressionType outputCompression)
outputCompression - RedshiftResultCompressionTypepublic String toString()
toString in class ObjectObject.toString()public RedshiftDatasetDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.