Struct aws_sdk_sagemaker::model::athena_dataset_definition::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for AthenaDatasetDefinition
Implementations
sourceimpl 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
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more