Struct aws_sdk_sagemaker::model::athena_dataset_definition::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AthenaDatasetDefinition
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn catalog(self, input: impl Into<String>) -> Self
pub fn catalog(self, input: impl Into<String>) -> Self
The name of the data catalog used in Athena query execution.
sourcepub fn set_catalog(self, input: Option<String>) -> Self
pub fn set_catalog(self, input: Option<String>) -> Self
The name of the data catalog used in Athena query execution.
sourcepub fn database(self, input: impl Into<String>) -> Self
pub fn database(self, input: impl Into<String>) -> Self
The name of the database used in the Athena query execution.
sourcepub fn set_database(self, input: Option<String>) -> Self
pub fn set_database(self, input: Option<String>) -> Self
The name of the database used in the Athena query execution.
sourcepub fn query_string(self, input: impl Into<String>) -> Self
pub fn query_string(self, input: impl Into<String>) -> Self
The SQL query statements, to be executed.
sourcepub fn set_query_string(self, input: Option<String>) -> Self
pub fn set_query_string(self, input: Option<String>) -> Self
The SQL query statements, to be executed.
sourcepub fn work_group(self, input: impl Into<String>) -> Self
pub fn work_group(self, input: impl Into<String>) -> Self
The name of the workgroup in which the Athena query is being started.
sourcepub fn set_work_group(self, input: Option<String>) -> Self
pub fn set_work_group(self, input: Option<String>) -> Self
The name of the workgroup in which the Athena query is being started.
sourcepub fn output_s3_uri(self, input: impl Into<String>) -> Self
pub fn output_s3_uri(self, input: impl Into<String>) -> Self
The location in Amazon S3 where Athena query results are stored.
sourcepub fn set_output_s3_uri(self, input: Option<String>) -> Self
pub fn set_output_s3_uri(self, input: Option<String>) -> Self
The location in Amazon S3 where Athena query results are stored.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data generated from an Athena query execution.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data generated from an Athena query execution.
sourcepub fn output_format(self, input: AthenaResultFormat) -> Self
pub fn output_format(self, input: AthenaResultFormat) -> Self
The data storage format for Athena query results.
sourcepub fn set_output_format(self, input: Option<AthenaResultFormat>) -> Self
pub fn set_output_format(self, input: Option<AthenaResultFormat>) -> Self
The data storage format for Athena query results.
sourcepub fn output_compression(self, input: AthenaResultCompressionType) -> Self
pub fn output_compression(self, input: AthenaResultCompressionType) -> Self
The compression used for Athena query results.
sourcepub fn set_output_compression(
self,
input: Option<AthenaResultCompressionType>
) -> Self
pub fn set_output_compression(
self,
input: Option<AthenaResultCompressionType>
) -> Self
The compression used for Athena query results.
sourcepub fn build(self) -> AthenaDatasetDefinition
pub fn build(self) -> AthenaDatasetDefinition
Consumes the builder and constructs a AthenaDatasetDefinition
.