Class CfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty>
- Enclosing interface:
CfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty
@Stability(Stable)
public static final class CfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty.getCatalog()Sets the value ofCfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty.getDatabase()Sets the value ofCfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty.getKmsKeyId()outputCompression(String outputCompression) outputFormat(String outputFormat) outputS3Uri(String outputS3Uri) queryString(String queryString)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalog
@Stability(Stable) public CfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty.Builder catalog(String catalog) Sets the value ofCfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty.getCatalog()- Parameters:
catalog- The name of the data catalog used in Athena query execution.- Returns:
this
-
database
@Stability(Stable) public CfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty.Builder database(String database) Sets the value ofCfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty.getDatabase()- Parameters:
database- The name of the database used in the Athena query execution.- Returns:
this
-
kmsKeyId
@Stability(Stable) public CfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty.getKmsKeyId()- Parameters:
kmsKeyId- The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt data generated from an Athena query execution.- Returns:
this
-
outputCompression
@Stability(Stable) public CfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty.Builder outputCompression(String outputCompression) - Parameters:
outputCompression- The compression used for Athena query results.- Returns:
this
-
outputFormat
@Stability(Stable) public CfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty.Builder outputFormat(String outputFormat) - Parameters:
outputFormat- The data storage format for Athena query results.- Returns:
this
-
outputS3Uri
@Stability(Stable) public CfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty.Builder outputS3Uri(String outputS3Uri) - Parameters:
outputS3Uri- The location in Amazon S3 where Athena query results are stored.- Returns:
this
-
queryString
@Stability(Stable) public CfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty.Builder queryString(String queryString) - Parameters:
queryString- The SQL query statements, to be executed.- Returns:
this
-
workGroup
@Stability(Stable) public CfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty.Builder workGroup(String workGroup) - Parameters:
workGroup- The name of the workgroup in which the Athena query is being started.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty>- Returns:
- a new instance of
CfnProcessingJobPropsMixin.AthenaDatasetDefinitionProperty - Throws:
NullPointerException- if any required attribute was not provided
-