#[non_exhaustive]pub struct DataLakeAccessPropertiesBuilder { /* private fields */ }Expand description
A builder for DataLakeAccessProperties.
Implementations§
Source§impl DataLakeAccessPropertiesBuilder
impl DataLakeAccessPropertiesBuilder
Sourcepub fn data_lake_access(self, input: bool) -> Self
pub fn data_lake_access(self, input: bool) -> Self
Turns on or off data lake access for Apache Spark applications that access Amazon Redshift databases in the Data Catalog from any non-Redshift engine, such as Amazon Athena, Amazon EMR, or Glue ETL.
Sourcepub fn set_data_lake_access(self, input: Option<bool>) -> Self
pub fn set_data_lake_access(self, input: Option<bool>) -> Self
Turns on or off data lake access for Apache Spark applications that access Amazon Redshift databases in the Data Catalog from any non-Redshift engine, such as Amazon Athena, Amazon EMR, or Glue ETL.
Sourcepub fn get_data_lake_access(&self) -> &Option<bool>
pub fn get_data_lake_access(&self) -> &Option<bool>
Turns on or off data lake access for Apache Spark applications that access Amazon Redshift databases in the Data Catalog from any non-Redshift engine, such as Amazon Athena, Amazon EMR, or Glue ETL.
Sourcepub fn data_transfer_role(self, input: impl Into<String>) -> Self
pub fn data_transfer_role(self, input: impl Into<String>) -> Self
A role that will be assumed by Glue for transferring data into/out of the staging bucket during a query.
Sourcepub fn set_data_transfer_role(self, input: Option<String>) -> Self
pub fn set_data_transfer_role(self, input: Option<String>) -> Self
A role that will be assumed by Glue for transferring data into/out of the staging bucket during a query.
Sourcepub fn get_data_transfer_role(&self) -> &Option<String>
pub fn get_data_transfer_role(&self) -> &Option<String>
A role that will be assumed by Glue for transferring data into/out of the staging bucket during a query.
Sourcepub fn kms_key(self, input: impl Into<String>) -> Self
pub fn kms_key(self, input: impl Into<String>) -> Self
An encryption key that will be used for the staging bucket that will be created along with the catalog.
Sourcepub fn set_kms_key(self, input: Option<String>) -> Self
pub fn set_kms_key(self, input: Option<String>) -> Self
An encryption key that will be used for the staging bucket that will be created along with the catalog.
Sourcepub fn get_kms_key(&self) -> &Option<String>
pub fn get_kms_key(&self) -> &Option<String>
An encryption key that will be used for the staging bucket that will be created along with the catalog.
Sourcepub fn catalog_type(self, input: impl Into<String>) -> Self
pub fn catalog_type(self, input: impl Into<String>) -> Self
Specifies a federated catalog type for the native catalog resource. The currently supported type is aws:redshift.
Sourcepub fn set_catalog_type(self, input: Option<String>) -> Self
pub fn set_catalog_type(self, input: Option<String>) -> Self
Specifies a federated catalog type for the native catalog resource. The currently supported type is aws:redshift.
Sourcepub fn get_catalog_type(&self) -> &Option<String>
pub fn get_catalog_type(&self) -> &Option<String>
Specifies a federated catalog type for the native catalog resource. The currently supported type is aws:redshift.
Sourcepub fn build(self) -> DataLakeAccessProperties
pub fn build(self) -> DataLakeAccessProperties
Consumes the builder and constructs a DataLakeAccessProperties.
Trait Implementations§
Source§impl Clone for DataLakeAccessPropertiesBuilder
impl Clone for DataLakeAccessPropertiesBuilder
Source§fn clone(&self) -> DataLakeAccessPropertiesBuilder
fn clone(&self) -> DataLakeAccessPropertiesBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for DataLakeAccessPropertiesBuilder
impl Default for DataLakeAccessPropertiesBuilder
Source§fn default() -> DataLakeAccessPropertiesBuilder
fn default() -> DataLakeAccessPropertiesBuilder
Source§impl PartialEq for DataLakeAccessPropertiesBuilder
impl PartialEq for DataLakeAccessPropertiesBuilder
Source§fn eq(&self, other: &DataLakeAccessPropertiesBuilder) -> bool
fn eq(&self, other: &DataLakeAccessPropertiesBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DataLakeAccessPropertiesBuilder
Auto Trait Implementations§
impl Freeze for DataLakeAccessPropertiesBuilder
impl RefUnwindSafe for DataLakeAccessPropertiesBuilder
impl Send for DataLakeAccessPropertiesBuilder
impl Sync for DataLakeAccessPropertiesBuilder
impl Unpin for DataLakeAccessPropertiesBuilder
impl UnsafeUnpin for DataLakeAccessPropertiesBuilder
impl UnwindSafe for DataLakeAccessPropertiesBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more