Class CfnProcessingJob.AthenaDatasetDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnProcessingJob.AthenaDatasetDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProcessingJob.AthenaDatasetDefinitionProperty>
- Enclosing interface:
CfnProcessingJob.AthenaDatasetDefinitionProperty
@Stability(Stable)
public static final class CfnProcessingJob.AthenaDatasetDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProcessingJob.AthenaDatasetDefinitionProperty>
A builder for
CfnProcessingJob.AthenaDatasetDefinitionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnProcessingJob.AthenaDatasetDefinitionProperty.getCatalog()Sets the value ofCfnProcessingJob.AthenaDatasetDefinitionProperty.getDatabase()Sets the value ofCfnProcessingJob.AthenaDatasetDefinitionProperty.getKmsKeyId()outputCompression(String outputCompression) Sets the value ofCfnProcessingJob.AthenaDatasetDefinitionProperty.getOutputCompression()outputFormat(String outputFormat) Sets the value ofCfnProcessingJob.AthenaDatasetDefinitionProperty.getOutputFormat()outputS3Uri(String outputS3Uri) Sets the value ofCfnProcessingJob.AthenaDatasetDefinitionProperty.getOutputS3Uri()queryString(String queryString) Sets the value ofCfnProcessingJob.AthenaDatasetDefinitionProperty.getQueryString()Sets the value ofCfnProcessingJob.AthenaDatasetDefinitionProperty.getWorkGroup()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
catalog
@Stability(Stable) public CfnProcessingJob.AthenaDatasetDefinitionProperty.Builder catalog(String catalog) Sets the value ofCfnProcessingJob.AthenaDatasetDefinitionProperty.getCatalog()- Parameters:
catalog- The name of the data catalog used in Athena query execution. This parameter is required.- Returns:
this
-
database
@Stability(Stable) public CfnProcessingJob.AthenaDatasetDefinitionProperty.Builder database(String database) Sets the value ofCfnProcessingJob.AthenaDatasetDefinitionProperty.getDatabase()- Parameters:
database- The name of the database used in the Athena query execution. This parameter is required.- Returns:
this
-
outputFormat
@Stability(Stable) public CfnProcessingJob.AthenaDatasetDefinitionProperty.Builder outputFormat(String outputFormat) Sets the value ofCfnProcessingJob.AthenaDatasetDefinitionProperty.getOutputFormat()- Parameters:
outputFormat- The data storage format for Athena query results. This parameter is required.- Returns:
this
-
outputS3Uri
@Stability(Stable) public CfnProcessingJob.AthenaDatasetDefinitionProperty.Builder outputS3Uri(String outputS3Uri) Sets the value ofCfnProcessingJob.AthenaDatasetDefinitionProperty.getOutputS3Uri()- Parameters:
outputS3Uri- The location in Amazon S3 where Athena query results are stored. This parameter is required.- Returns:
this
-
queryString
@Stability(Stable) public CfnProcessingJob.AthenaDatasetDefinitionProperty.Builder queryString(String queryString) Sets the value ofCfnProcessingJob.AthenaDatasetDefinitionProperty.getQueryString()- Parameters:
queryString- The SQL query statements, to be executed. This parameter is required.- Returns:
this
-
kmsKeyId
@Stability(Stable) public CfnProcessingJob.AthenaDatasetDefinitionProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnProcessingJob.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 CfnProcessingJob.AthenaDatasetDefinitionProperty.Builder outputCompression(String outputCompression) Sets the value ofCfnProcessingJob.AthenaDatasetDefinitionProperty.getOutputCompression()- Parameters:
outputCompression- The compression used for Athena query results.- Returns:
this
-
workGroup
@Stability(Stable) public CfnProcessingJob.AthenaDatasetDefinitionProperty.Builder workGroup(String workGroup) Sets the value ofCfnProcessingJob.AthenaDatasetDefinitionProperty.getWorkGroup()- 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<CfnProcessingJob.AthenaDatasetDefinitionProperty>- Returns:
- a new instance of
CfnProcessingJob.AthenaDatasetDefinitionProperty - Throws:
NullPointerException- if any required attribute was not provided
-