#[non_exhaustive]pub struct UpsertRedshiftTargetOptionsBuilder { /* private fields */ }Expand description
A builder for UpsertRedshiftTargetOptions.
Implementations§
source§impl UpsertRedshiftTargetOptionsBuilder
impl UpsertRedshiftTargetOptionsBuilder
sourcepub fn table_location(self, input: impl Into<String>) -> Self
pub fn table_location(self, input: impl Into<String>) -> Self
The physical location of the Redshift table.
sourcepub fn set_table_location(self, input: Option<String>) -> Self
pub fn set_table_location(self, input: Option<String>) -> Self
The physical location of the Redshift table.
sourcepub fn get_table_location(&self) -> &Option<String>
pub fn get_table_location(&self) -> &Option<String>
The physical location of the Redshift table.
sourcepub fn connection_name(self, input: impl Into<String>) -> Self
pub fn connection_name(self, input: impl Into<String>) -> Self
The name of the connection to use to write to Redshift.
sourcepub fn set_connection_name(self, input: Option<String>) -> Self
pub fn set_connection_name(self, input: Option<String>) -> Self
The name of the connection to use to write to Redshift.
sourcepub fn get_connection_name(&self) -> &Option<String>
pub fn get_connection_name(&self) -> &Option<String>
The name of the connection to use to write to Redshift.
sourcepub fn upsert_keys(self, input: impl Into<String>) -> Self
pub fn upsert_keys(self, input: impl Into<String>) -> Self
Appends an item to upsert_keys.
To override the contents of this collection use set_upsert_keys.
The keys used to determine whether to perform an update or insert.
sourcepub fn set_upsert_keys(self, input: Option<Vec<String>>) -> Self
pub fn set_upsert_keys(self, input: Option<Vec<String>>) -> Self
The keys used to determine whether to perform an update or insert.
sourcepub fn get_upsert_keys(&self) -> &Option<Vec<String>>
pub fn get_upsert_keys(&self) -> &Option<Vec<String>>
The keys used to determine whether to perform an update or insert.
sourcepub fn build(self) -> UpsertRedshiftTargetOptions
pub fn build(self) -> UpsertRedshiftTargetOptions
Consumes the builder and constructs a UpsertRedshiftTargetOptions.
Trait Implementations§
source§impl Clone for UpsertRedshiftTargetOptionsBuilder
impl Clone for UpsertRedshiftTargetOptionsBuilder
source§fn clone(&self) -> UpsertRedshiftTargetOptionsBuilder
fn clone(&self) -> UpsertRedshiftTargetOptionsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for UpsertRedshiftTargetOptionsBuilder
impl Default for UpsertRedshiftTargetOptionsBuilder
source§fn default() -> UpsertRedshiftTargetOptionsBuilder
fn default() -> UpsertRedshiftTargetOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpsertRedshiftTargetOptionsBuilder
impl PartialEq for UpsertRedshiftTargetOptionsBuilder
source§fn eq(&self, other: &UpsertRedshiftTargetOptionsBuilder) -> bool
fn eq(&self, other: &UpsertRedshiftTargetOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpsertRedshiftTargetOptionsBuilder
Auto Trait Implementations§
impl Freeze for UpsertRedshiftTargetOptionsBuilder
impl RefUnwindSafe for UpsertRedshiftTargetOptionsBuilder
impl Send for UpsertRedshiftTargetOptionsBuilder
impl Sync for UpsertRedshiftTargetOptionsBuilder
impl Unpin for UpsertRedshiftTargetOptionsBuilder
impl UnwindSafe for UpsertRedshiftTargetOptionsBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.