Struct aws_sdk_glue::model::redshift_target::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for RedshiftTarget.
Implementations§
source§impl Builder
impl Builder
sourcepub fn inputs(self, input: impl Into<String>) -> Self
pub fn inputs(self, input: impl Into<String>) -> Self
Appends an item to inputs.
To override the contents of this collection use set_inputs.
The nodes that are inputs to the data target.
sourcepub fn set_inputs(self, input: Option<Vec<String>>) -> Self
pub fn set_inputs(self, input: Option<Vec<String>>) -> Self
The nodes that are inputs to the data target.
sourcepub fn set_database(self, input: Option<String>) -> Self
pub fn set_database(self, input: Option<String>) -> Self
The name of the database to write to.
sourcepub fn table(self, input: impl Into<String>) -> Self
pub fn table(self, input: impl Into<String>) -> Self
The name of the table in the database to write to.
sourcepub fn set_table(self, input: Option<String>) -> Self
pub fn set_table(self, input: Option<String>) -> Self
The name of the table in the database to write to.
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 upsert_redshift_options(self, input: UpsertRedshiftTargetOptions) -> Self
pub fn upsert_redshift_options(self, input: UpsertRedshiftTargetOptions) -> Self
The set of options to configure an upsert operation when writing to a Redshift target.
sourcepub fn set_upsert_redshift_options(
self,
input: Option<UpsertRedshiftTargetOptions>
) -> Self
pub fn set_upsert_redshift_options(
self,
input: Option<UpsertRedshiftTargetOptions>
) -> Self
The set of options to configure an upsert operation when writing to a Redshift target.
sourcepub fn build(self) -> RedshiftTarget
pub fn build(self) -> RedshiftTarget
Consumes the builder and constructs a RedshiftTarget.