Interface RedshiftDatasetDefinition.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<RedshiftDatasetDefinition.Builder,RedshiftDatasetDefinition>
,SdkBuilder<RedshiftDatasetDefinition.Builder,RedshiftDatasetDefinition>
,SdkPojo
- Enclosing class:
- RedshiftDatasetDefinition
public static interface RedshiftDatasetDefinition.Builder extends SdkPojo, CopyableBuilder<RedshiftDatasetDefinition.Builder,RedshiftDatasetDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RedshiftDatasetDefinition.Builder
clusterId(String clusterId)
Sets the value of the ClusterId property for this object.RedshiftDatasetDefinition.Builder
clusterRoleArn(String clusterRoleArn)
The IAM role attached to your Redshift cluster that Amazon SageMaker uses to generate datasets.RedshiftDatasetDefinition.Builder
database(String database)
Sets the value of the Database property for this object.RedshiftDatasetDefinition.Builder
dbUser(String dbUser)
Sets the value of the DbUser property for this object.RedshiftDatasetDefinition.Builder
kmsKeyId(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.Builder
outputCompression(String outputCompression)
Sets the value of the OutputCompression property for this object.RedshiftDatasetDefinition.Builder
outputCompression(RedshiftResultCompressionType outputCompression)
Sets the value of the OutputCompression property for this object.RedshiftDatasetDefinition.Builder
outputFormat(String outputFormat)
Sets the value of the OutputFormat property for this object.RedshiftDatasetDefinition.Builder
outputFormat(RedshiftResultFormat outputFormat)
Sets the value of the OutputFormat property for this object.RedshiftDatasetDefinition.Builder
outputS3Uri(String outputS3Uri)
The location in Amazon S3 where the Redshift query results are stored.RedshiftDatasetDefinition.Builder
queryString(String queryString)
Sets the value of the QueryString property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
clusterId
RedshiftDatasetDefinition.Builder clusterId(String clusterId)
Sets the value of the ClusterId property for this object.- Parameters:
clusterId
- The new value for the ClusterId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
RedshiftDatasetDefinition.Builder database(String database)
Sets the value of the Database property for this object.- Parameters:
database
- The new value for the Database property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbUser
RedshiftDatasetDefinition.Builder dbUser(String dbUser)
Sets the value of the DbUser property for this object.- Parameters:
dbUser
- The new value for the DbUser property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryString
RedshiftDatasetDefinition.Builder queryString(String queryString)
Sets the value of the QueryString property for this object.- Parameters:
queryString
- The new value for the QueryString property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterRoleArn
RedshiftDatasetDefinition.Builder clusterRoleArn(String clusterRoleArn)
The IAM role attached to your Redshift cluster that Amazon SageMaker uses to generate datasets.
- Parameters:
clusterRoleArn
- The IAM role attached to your Redshift cluster that Amazon SageMaker uses to generate datasets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputS3Uri
RedshiftDatasetDefinition.Builder outputS3Uri(String outputS3Uri)
The location in Amazon S3 where the Redshift query results are stored.
- Parameters:
outputS3Uri
- The location in Amazon S3 where the Redshift query results are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
RedshiftDatasetDefinition.Builder kmsKeyId(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.
- Parameters:
kmsKeyId
- The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data from a Redshift execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputFormat
RedshiftDatasetDefinition.Builder outputFormat(String outputFormat)
Sets the value of the OutputFormat property for this object.- Parameters:
outputFormat
- The new value for the OutputFormat property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RedshiftResultFormat
,RedshiftResultFormat
-
outputFormat
RedshiftDatasetDefinition.Builder outputFormat(RedshiftResultFormat outputFormat)
Sets the value of the OutputFormat property for this object.- Parameters:
outputFormat
- The new value for the OutputFormat property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RedshiftResultFormat
,RedshiftResultFormat
-
outputCompression
RedshiftDatasetDefinition.Builder outputCompression(String outputCompression)
Sets the value of the OutputCompression property for this object.- Parameters:
outputCompression
- The new value for the OutputCompression property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RedshiftResultCompressionType
,RedshiftResultCompressionType
-
outputCompression
RedshiftDatasetDefinition.Builder outputCompression(RedshiftResultCompressionType outputCompression)
Sets the value of the OutputCompression property for this object.- Parameters:
outputCompression
- The new value for the OutputCompression property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RedshiftResultCompressionType
,RedshiftResultCompressionType
-
-