Struct aws_sdk_glue::model::redshift_source::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for RedshiftSource.
Implementations§
source§impl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Amazon Redshift data store.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the Amazon Redshift data store.
sourcepub fn set_database(self, input: Option<String>) -> Self
pub fn set_database(self, input: Option<String>) -> Self
The database to read from.
sourcepub fn redshift_tmp_dir(self, input: impl Into<String>) -> Self
pub fn redshift_tmp_dir(self, input: impl Into<String>) -> Self
The Amazon S3 path where temporary data can be staged when copying out of the database.
sourcepub fn set_redshift_tmp_dir(self, input: Option<String>) -> Self
pub fn set_redshift_tmp_dir(self, input: Option<String>) -> Self
The Amazon S3 path where temporary data can be staged when copying out of the database.
sourcepub fn tmp_dir_iam_role(self, input: impl Into<String>) -> Self
pub fn tmp_dir_iam_role(self, input: impl Into<String>) -> Self
The IAM role with permissions.
sourcepub fn set_tmp_dir_iam_role(self, input: Option<String>) -> Self
pub fn set_tmp_dir_iam_role(self, input: Option<String>) -> Self
The IAM role with permissions.
sourcepub fn build(self) -> RedshiftSource
pub fn build(self) -> RedshiftSource
Consumes the builder and constructs a RedshiftSource.