#[non_exhaustive]
pub struct AmazonRedshiftNodeDataBuilder { /* private fields */ }
Expand description

A builder for AmazonRedshiftNodeData.

Implementations§

source§

impl AmazonRedshiftNodeDataBuilder

source

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.

source

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.

source

pub fn get_access_type(&self) -> &Option<String>

The access type for the Redshift connection. Can be a direct connection or catalog connections.

source

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.

source

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.

source

pub fn get_source_type(&self) -> &Option<String>

The source type to specify whether a specific table is the source or a custom query.

source

pub fn connection(self, input: Option) -> Self

The Glue connection to the Redshift cluster.

source

pub fn set_connection(self, input: Option<Option>) -> Self

The Glue connection to the Redshift cluster.

source

pub fn get_connection(&self) -> &Option<Option>

The Glue connection to the Redshift cluster.

source

pub fn schema(self, input: Option) -> Self

The Redshift schema name when working with a direct connection.

source

pub fn set_schema(self, input: Option<Option>) -> Self

The Redshift schema name when working with a direct connection.

source

pub fn get_schema(&self) -> &Option<Option>

The Redshift schema name when working with a direct connection.

source

pub fn table(self, input: Option) -> Self

The Redshift table name when working with a direct connection.

source

pub fn set_table(self, input: Option<Option>) -> Self

The Redshift table name when working with a direct connection.

source

pub fn get_table(&self) -> &Option<Option>

The Redshift table name when working with a direct connection.

source

pub fn catalog_database(self, input: Option) -> Self

The name of the Glue Data Catalog database when working with a data catalog.

source

pub fn set_catalog_database(self, input: Option<Option>) -> Self

The name of the Glue Data Catalog database when working with a data catalog.

source

pub fn get_catalog_database(&self) -> &Option<Option>

The name of the Glue Data Catalog database when working with a data catalog.

source

pub fn catalog_table(self, input: Option) -> Self

The Glue Data Catalog table name when working with a data catalog.

source

pub fn set_catalog_table(self, input: Option<Option>) -> Self

The Glue Data Catalog table name when working with a data catalog.

source

pub fn get_catalog_table(&self) -> &Option<Option>

The Glue Data Catalog table name when working with a data catalog.

source

pub fn catalog_redshift_schema(self, input: impl Into<String>) -> Self

The Redshift schema name when working with a data catalog.

source

pub fn set_catalog_redshift_schema(self, input: Option<String>) -> Self

The Redshift schema name when working with a data catalog.

source

pub fn get_catalog_redshift_schema(&self) -> &Option<String>

The Redshift schema name when working with a data catalog.

source

pub fn catalog_redshift_table(self, input: impl Into<String>) -> Self

The database table to read from.

source

pub fn set_catalog_redshift_table(self, input: Option<String>) -> Self

The database table to read from.

source

pub fn get_catalog_redshift_table(&self) -> &Option<String>

The database table to read from.

source

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.

source

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.

source

pub fn get_temp_dir(&self) -> &Option<String>

The Amazon S3 path where temporary data can be staged when copying out of the database.

source

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.

source

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.

source

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.

source

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.

source

pub fn set_advanced_options( self, input: Option<Vec<AmazonRedshiftAdvancedOption>> ) -> Self

Optional values when connecting to the Redshift cluster.

source

pub fn get_advanced_options(&self) -> &Option<Vec<AmazonRedshiftAdvancedOption>>

Optional values when connecting to the Redshift cluster.

source

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'.

source

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'.

source

pub fn get_sample_query(&self) -> &Option<String>

The SQL used to fetch the data from a Redshift sources when the SourceType is 'query'.

source

pub fn pre_action(self, input: impl Into<String>) -> Self

The SQL used before a MERGE or APPEND with upsert is run.

source

pub fn set_pre_action(self, input: Option<String>) -> Self

The SQL used before a MERGE or APPEND with upsert is run.

source

pub fn get_pre_action(&self) -> &Option<String>

The SQL used before a MERGE or APPEND with upsert is run.

source

pub fn post_action(self, input: impl Into<String>) -> Self

The SQL used before a MERGE or APPEND with upsert is run.

source

pub fn set_post_action(self, input: Option<String>) -> Self

The SQL used before a MERGE or APPEND with upsert is run.

source

pub fn get_post_action(&self) -> &Option<String>

The SQL used before a MERGE or APPEND with upsert is run.

source

pub fn action(self, input: impl Into<String>) -> Self

Specifies how writing to a Redshift cluser will occur.

source

pub fn set_action(self, input: Option<String>) -> Self

Specifies how writing to a Redshift cluser will occur.

source

pub fn get_action(&self) -> &Option<String>

Specifies how writing to a Redshift cluser will occur.

source

pub fn table_prefix(self, input: impl Into<String>) -> Self

Specifies the prefix to a table.

source

pub fn set_table_prefix(self, input: Option<String>) -> Self

Specifies the prefix to a table.

source

pub fn get_table_prefix(&self) -> &Option<String>

Specifies the prefix to a table.

source

pub fn upsert(self, input: bool) -> Self

The action used on Redshift sinks when doing an APPEND.

source

pub fn set_upsert(self, input: Option<bool>) -> Self

The action used on Redshift sinks when doing an APPEND.

source

pub fn get_upsert(&self) -> &Option<bool>

The action used on Redshift sinks when doing an APPEND.

source

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.

source

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.

source

pub fn get_merge_action(&self) -> &Option<String>

The action used when to detemine how a MERGE in a Redshift sink will be handled.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

pub fn merge_clause(self, input: impl Into<String>) -> Self

The SQL used in a custom merge to deal with matching records.

source

pub fn set_merge_clause(self, input: Option<String>) -> Self

The SQL used in a custom merge to deal with matching records.

source

pub fn get_merge_clause(&self) -> &Option<String>

The SQL used in a custom merge to deal with matching records.

source

pub fn crawler_connection(self, input: impl Into<String>) -> Self

Specifies the name of the connection that is associated with the catalog table used.

source

pub fn set_crawler_connection(self, input: Option<String>) -> Self

Specifies the name of the connection that is associated with the catalog table used.

source

pub fn get_crawler_connection(&self) -> &Option<String>

Specifies the name of the connection that is associated with the catalog table used.

source

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.

source

pub fn set_table_schema(self, input: Option<Vec<Option>>) -> Self

The array of schema output for a given node.

source

pub fn get_table_schema(&self) -> &Option<Vec<Option>>

The array of schema output for a given node.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

pub fn build(self) -> AmazonRedshiftNodeData

Consumes the builder and constructs a AmazonRedshiftNodeData.

Trait Implementations§

source§

impl Clone for AmazonRedshiftNodeDataBuilder

source§

fn clone(&self) -> AmazonRedshiftNodeDataBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AmazonRedshiftNodeDataBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AmazonRedshiftNodeDataBuilder

source§

fn default() -> AmazonRedshiftNodeDataBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for AmazonRedshiftNodeDataBuilder

source§

fn eq(&self, other: &AmazonRedshiftNodeDataBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for AmazonRedshiftNodeDataBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unsharedwhere Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more