Struct aws_sdk_glue::types::builders::AmazonRedshiftNodeDataBuilder
source · #[non_exhaustive]pub struct AmazonRedshiftNodeDataBuilder { /* private fields */ }Expand description
A builder for AmazonRedshiftNodeData.
Implementations§
source§impl AmazonRedshiftNodeDataBuilder
impl AmazonRedshiftNodeDataBuilder
sourcepub fn access_type(self, input: impl Into<String>) -> Self
pub fn access_type(self, input: impl Into<String>) -> Self
The access type for the Redshift connection. Can be a direct connection or catalog connections.
sourcepub fn set_access_type(self, input: Option<String>) -> Self
pub fn set_access_type(self, input: Option<String>) -> Self
The access type for the Redshift connection. Can be a direct connection or catalog connections.
sourcepub fn get_access_type(&self) -> &Option<String>
pub fn get_access_type(&self) -> &Option<String>
The access type for the Redshift connection. Can be a direct connection or catalog connections.
sourcepub fn source_type(self, input: impl Into<String>) -> Self
pub fn source_type(self, input: impl Into<String>) -> Self
The source type to specify whether a specific table is the source or a custom query.
sourcepub fn set_source_type(self, input: Option<String>) -> Self
pub fn set_source_type(self, input: Option<String>) -> Self
The source type to specify whether a specific table is the source or a custom query.
sourcepub fn get_source_type(&self) -> &Option<String>
pub fn get_source_type(&self) -> &Option<String>
The source type to specify whether a specific table is the source or a custom query.
sourcepub fn connection(self, input: Option) -> Self
pub fn connection(self, input: Option) -> Self
The Glue connection to the Redshift cluster.
sourcepub fn set_connection(self, input: Option<Option>) -> Self
pub fn set_connection(self, input: Option<Option>) -> Self
The Glue connection to the Redshift cluster.
sourcepub fn get_connection(&self) -> &Option<Option>
pub fn get_connection(&self) -> &Option<Option>
The Glue connection to the Redshift cluster.
sourcepub fn schema(self, input: Option) -> Self
pub fn schema(self, input: Option) -> Self
The Redshift schema name when working with a direct connection.
sourcepub fn set_schema(self, input: Option<Option>) -> Self
pub fn set_schema(self, input: Option<Option>) -> Self
The Redshift schema name when working with a direct connection.
sourcepub fn get_schema(&self) -> &Option<Option>
pub fn get_schema(&self) -> &Option<Option>
The Redshift schema name when working with a direct connection.
sourcepub fn table(self, input: Option) -> Self
pub fn table(self, input: Option) -> Self
The Redshift table name when working with a direct connection.
sourcepub fn set_table(self, input: Option<Option>) -> Self
pub fn set_table(self, input: Option<Option>) -> Self
The Redshift table name when working with a direct connection.
sourcepub fn get_table(&self) -> &Option<Option>
pub fn get_table(&self) -> &Option<Option>
The Redshift table name when working with a direct connection.
sourcepub fn catalog_database(self, input: Option) -> Self
pub fn catalog_database(self, input: Option) -> Self
The name of the Glue Data Catalog database when working with a data catalog.
sourcepub fn set_catalog_database(self, input: Option<Option>) -> Self
pub fn set_catalog_database(self, input: Option<Option>) -> Self
The name of the Glue Data Catalog database when working with a data catalog.
sourcepub fn get_catalog_database(&self) -> &Option<Option>
pub fn get_catalog_database(&self) -> &Option<Option>
The name of the Glue Data Catalog database when working with a data catalog.
sourcepub fn catalog_table(self, input: Option) -> Self
pub fn catalog_table(self, input: Option) -> Self
The Glue Data Catalog table name when working with a data catalog.
sourcepub fn set_catalog_table(self, input: Option<Option>) -> Self
pub fn set_catalog_table(self, input: Option<Option>) -> Self
The Glue Data Catalog table name when working with a data catalog.
sourcepub fn get_catalog_table(&self) -> &Option<Option>
pub fn get_catalog_table(&self) -> &Option<Option>
The Glue Data Catalog table name when working with a data catalog.
sourcepub fn catalog_redshift_schema(self, input: impl Into<String>) -> Self
pub fn catalog_redshift_schema(self, input: impl Into<String>) -> Self
The Redshift schema name when working with a data catalog.
sourcepub fn set_catalog_redshift_schema(self, input: Option<String>) -> Self
pub fn set_catalog_redshift_schema(self, input: Option<String>) -> Self
The Redshift schema name when working with a data catalog.
sourcepub fn get_catalog_redshift_schema(&self) -> &Option<String>
pub fn get_catalog_redshift_schema(&self) -> &Option<String>
The Redshift schema name when working with a data catalog.
sourcepub fn catalog_redshift_table(self, input: impl Into<String>) -> Self
pub fn catalog_redshift_table(self, input: impl Into<String>) -> Self
The database table to read from.
sourcepub fn set_catalog_redshift_table(self, input: Option<String>) -> Self
pub fn set_catalog_redshift_table(self, input: Option<String>) -> Self
The database table to read from.
sourcepub fn get_catalog_redshift_table(&self) -> &Option<String>
pub fn get_catalog_redshift_table(&self) -> &Option<String>
The database table to read from.
sourcepub fn temp_dir(self, input: impl Into<String>) -> Self
pub fn temp_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_temp_dir(self, input: Option<String>) -> Self
pub fn set_temp_dir(self, input: Option<String>) -> Self
The Amazon S3 path where temporary data can be staged when copying out of the database.
sourcepub fn get_temp_dir(&self) -> &Option<String>
pub fn get_temp_dir(&self) -> &Option<String>
The Amazon S3 path where temporary data can be staged when copying out of the database.
sourcepub fn iam_role(self, input: Option) -> Self
pub fn iam_role(self, input: Option) -> Self
Optional. The role name use when connection to S3. The IAM role ill default to the role on the job when left blank.
sourcepub fn set_iam_role(self, input: Option<Option>) -> Self
pub fn set_iam_role(self, input: Option<Option>) -> Self
Optional. The role name use when connection to S3. The IAM role ill default to the role on the job when left blank.
sourcepub fn get_iam_role(&self) -> &Option<Option>
pub fn get_iam_role(&self) -> &Option<Option>
Optional. The role name use when connection to S3. The IAM role ill default to the role on the job when left blank.
sourcepub fn advanced_options(self, input: AmazonRedshiftAdvancedOption) -> Self
pub fn advanced_options(self, input: AmazonRedshiftAdvancedOption) -> Self
Appends an item to advanced_options.
To override the contents of this collection use set_advanced_options.
Optional values when connecting to the Redshift cluster.
sourcepub fn set_advanced_options(
self,
input: Option<Vec<AmazonRedshiftAdvancedOption>>
) -> Self
pub fn set_advanced_options( self, input: Option<Vec<AmazonRedshiftAdvancedOption>> ) -> Self
Optional values when connecting to the Redshift cluster.
sourcepub fn get_advanced_options(&self) -> &Option<Vec<AmazonRedshiftAdvancedOption>>
pub fn get_advanced_options(&self) -> &Option<Vec<AmazonRedshiftAdvancedOption>>
Optional values when connecting to the Redshift cluster.
sourcepub fn sample_query(self, input: impl Into<String>) -> Self
pub fn sample_query(self, input: impl Into<String>) -> Self
The SQL used to fetch the data from a Redshift sources when the SourceType is 'query'.
sourcepub fn set_sample_query(self, input: Option<String>) -> Self
pub fn set_sample_query(self, input: Option<String>) -> Self
The SQL used to fetch the data from a Redshift sources when the SourceType is 'query'.
sourcepub fn get_sample_query(&self) -> &Option<String>
pub fn get_sample_query(&self) -> &Option<String>
The SQL used to fetch the data from a Redshift sources when the SourceType is 'query'.
sourcepub fn pre_action(self, input: impl Into<String>) -> Self
pub fn pre_action(self, input: impl Into<String>) -> Self
The SQL used before a MERGE or APPEND with upsert is run.
sourcepub fn set_pre_action(self, input: Option<String>) -> Self
pub fn set_pre_action(self, input: Option<String>) -> Self
The SQL used before a MERGE or APPEND with upsert is run.
sourcepub fn get_pre_action(&self) -> &Option<String>
pub fn get_pre_action(&self) -> &Option<String>
The SQL used before a MERGE or APPEND with upsert is run.
sourcepub fn post_action(self, input: impl Into<String>) -> Self
pub fn post_action(self, input: impl Into<String>) -> Self
The SQL used before a MERGE or APPEND with upsert is run.
sourcepub fn set_post_action(self, input: Option<String>) -> Self
pub fn set_post_action(self, input: Option<String>) -> Self
The SQL used before a MERGE or APPEND with upsert is run.
sourcepub fn get_post_action(&self) -> &Option<String>
pub fn get_post_action(&self) -> &Option<String>
The SQL used before a MERGE or APPEND with upsert is run.
sourcepub fn action(self, input: impl Into<String>) -> Self
pub fn action(self, input: impl Into<String>) -> Self
Specifies how writing to a Redshift cluser will occur.
sourcepub fn set_action(self, input: Option<String>) -> Self
pub fn set_action(self, input: Option<String>) -> Self
Specifies how writing to a Redshift cluser will occur.
sourcepub fn get_action(&self) -> &Option<String>
pub fn get_action(&self) -> &Option<String>
Specifies how writing to a Redshift cluser will occur.
sourcepub fn table_prefix(self, input: impl Into<String>) -> Self
pub fn table_prefix(self, input: impl Into<String>) -> Self
Specifies the prefix to a table.
sourcepub fn set_table_prefix(self, input: Option<String>) -> Self
pub fn set_table_prefix(self, input: Option<String>) -> Self
Specifies the prefix to a table.
sourcepub fn get_table_prefix(&self) -> &Option<String>
pub fn get_table_prefix(&self) -> &Option<String>
Specifies the prefix to a table.
sourcepub fn upsert(self, input: bool) -> Self
pub fn upsert(self, input: bool) -> Self
The action used on Redshift sinks when doing an APPEND.
sourcepub fn set_upsert(self, input: Option<bool>) -> Self
pub fn set_upsert(self, input: Option<bool>) -> Self
The action used on Redshift sinks when doing an APPEND.
sourcepub fn get_upsert(&self) -> &Option<bool>
pub fn get_upsert(&self) -> &Option<bool>
The action used on Redshift sinks when doing an APPEND.
sourcepub fn merge_action(self, input: impl Into<String>) -> Self
pub fn merge_action(self, input: impl Into<String>) -> Self
The action used when to detemine how a MERGE in a Redshift sink will be handled.
sourcepub fn set_merge_action(self, input: Option<String>) -> Self
pub fn set_merge_action(self, input: Option<String>) -> Self
The action used when to detemine how a MERGE in a Redshift sink will be handled.
sourcepub fn get_merge_action(&self) -> &Option<String>
pub fn get_merge_action(&self) -> &Option<String>
The action used when to detemine how a MERGE in a Redshift sink will be handled.
sourcepub fn merge_when_matched(self, input: impl Into<String>) -> Self
pub fn merge_when_matched(self, input: impl Into<String>) -> Self
The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record matches a new record.
sourcepub fn set_merge_when_matched(self, input: Option<String>) -> Self
pub fn set_merge_when_matched(self, input: Option<String>) -> Self
The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record matches a new record.
sourcepub fn get_merge_when_matched(&self) -> &Option<String>
pub fn get_merge_when_matched(&self) -> &Option<String>
The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record matches a new record.
sourcepub fn merge_when_not_matched(self, input: impl Into<String>) -> Self
pub fn merge_when_not_matched(self, input: impl Into<String>) -> Self
The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record doesn't match a new record.
sourcepub fn set_merge_when_not_matched(self, input: Option<String>) -> Self
pub fn set_merge_when_not_matched(self, input: Option<String>) -> Self
The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record doesn't match a new record.
sourcepub fn get_merge_when_not_matched(&self) -> &Option<String>
pub fn get_merge_when_not_matched(&self) -> &Option<String>
The action used when to detemine how a MERGE in a Redshift sink will be handled when an existing record doesn't match a new record.
sourcepub fn merge_clause(self, input: impl Into<String>) -> Self
pub fn merge_clause(self, input: impl Into<String>) -> Self
The SQL used in a custom merge to deal with matching records.
sourcepub fn set_merge_clause(self, input: Option<String>) -> Self
pub fn set_merge_clause(self, input: Option<String>) -> Self
The SQL used in a custom merge to deal with matching records.
sourcepub fn get_merge_clause(&self) -> &Option<String>
pub fn get_merge_clause(&self) -> &Option<String>
The SQL used in a custom merge to deal with matching records.
sourcepub fn crawler_connection(self, input: impl Into<String>) -> Self
pub fn crawler_connection(self, input: impl Into<String>) -> Self
Specifies the name of the connection that is associated with the catalog table used.
sourcepub fn set_crawler_connection(self, input: Option<String>) -> Self
pub fn set_crawler_connection(self, input: Option<String>) -> Self
Specifies the name of the connection that is associated with the catalog table used.
sourcepub fn get_crawler_connection(&self) -> &Option<String>
pub fn get_crawler_connection(&self) -> &Option<String>
Specifies the name of the connection that is associated with the catalog table used.
sourcepub fn table_schema(self, input: Option) -> Self
pub fn table_schema(self, input: Option) -> Self
Appends an item to table_schema.
To override the contents of this collection use set_table_schema.
The array of schema output for a given node.
sourcepub fn set_table_schema(self, input: Option<Vec<Option>>) -> Self
pub fn set_table_schema(self, input: Option<Vec<Option>>) -> Self
The array of schema output for a given node.
sourcepub fn get_table_schema(&self) -> &Option<Vec<Option>>
pub fn get_table_schema(&self) -> &Option<Vec<Option>>
The array of schema output for a given node.
sourcepub fn staging_table(self, input: impl Into<String>) -> Self
pub fn staging_table(self, input: impl Into<String>) -> Self
The name of the temporary staging table that is used when doing a MERGE or APPEND with upsert.
sourcepub fn set_staging_table(self, input: Option<String>) -> Self
pub fn set_staging_table(self, input: Option<String>) -> Self
The name of the temporary staging table that is used when doing a MERGE or APPEND with upsert.
sourcepub fn get_staging_table(&self) -> &Option<String>
pub fn get_staging_table(&self) -> &Option<String>
The name of the temporary staging table that is used when doing a MERGE or APPEND with upsert.
sourcepub fn selected_columns(self, input: Option) -> Self
pub fn selected_columns(self, input: Option) -> Self
Appends an item to selected_columns.
To override the contents of this collection use set_selected_columns.
The list of column names used to determine a matching record when doing a MERGE or APPEND with upsert.
sourcepub fn set_selected_columns(self, input: Option<Vec<Option>>) -> Self
pub fn set_selected_columns(self, input: Option<Vec<Option>>) -> Self
The list of column names used to determine a matching record when doing a MERGE or APPEND with upsert.
sourcepub fn get_selected_columns(&self) -> &Option<Vec<Option>>
pub fn get_selected_columns(&self) -> &Option<Vec<Option>>
The list of column names used to determine a matching record when doing a MERGE or APPEND with upsert.
sourcepub fn build(self) -> AmazonRedshiftNodeData
pub fn build(self) -> AmazonRedshiftNodeData
Consumes the builder and constructs a AmazonRedshiftNodeData.
Trait Implementations§
source§impl Clone for AmazonRedshiftNodeDataBuilder
impl Clone for AmazonRedshiftNodeDataBuilder
source§fn clone(&self) -> AmazonRedshiftNodeDataBuilder
fn clone(&self) -> AmazonRedshiftNodeDataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AmazonRedshiftNodeDataBuilder
impl Default for AmazonRedshiftNodeDataBuilder
source§fn default() -> AmazonRedshiftNodeDataBuilder
fn default() -> AmazonRedshiftNodeDataBuilder
source§impl PartialEq for AmazonRedshiftNodeDataBuilder
impl PartialEq for AmazonRedshiftNodeDataBuilder
source§fn eq(&self, other: &AmazonRedshiftNodeDataBuilder) -> bool
fn eq(&self, other: &AmazonRedshiftNodeDataBuilder) -> bool
self and other values to be equal, and is used
by ==.