#[non_exhaustive]pub struct RedshiftDataProviderSettingsBuilder { /* private fields */ }
Expand description
A builder for RedshiftDataProviderSettings
.
Implementations§
source§impl RedshiftDataProviderSettingsBuilder
impl RedshiftDataProviderSettingsBuilder
sourcepub fn server_name(self, input: impl Into<String>) -> Self
pub fn server_name(self, input: impl Into<String>) -> Self
The name of the Amazon Redshift server.
sourcepub fn set_server_name(self, input: Option<String>) -> Self
pub fn set_server_name(self, input: Option<String>) -> Self
The name of the Amazon Redshift server.
sourcepub fn get_server_name(&self) -> &Option<String>
pub fn get_server_name(&self) -> &Option<String>
The name of the Amazon Redshift server.
sourcepub fn set_port(self, input: Option<i32>) -> Self
pub fn set_port(self, input: Option<i32>) -> Self
The port value for the Amazon Redshift data provider.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The database name on the Amazon Redshift data provider.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The database name on the Amazon Redshift data provider.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The database name on the Amazon Redshift data provider.
sourcepub fn build(self) -> RedshiftDataProviderSettings
pub fn build(self) -> RedshiftDataProviderSettings
Consumes the builder and constructs a RedshiftDataProviderSettings
.
Trait Implementations§
source§impl Clone for RedshiftDataProviderSettingsBuilder
impl Clone for RedshiftDataProviderSettingsBuilder
source§fn clone(&self) -> RedshiftDataProviderSettingsBuilder
fn clone(&self) -> RedshiftDataProviderSettingsBuilder
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 RedshiftDataProviderSettingsBuilder
impl Default for RedshiftDataProviderSettingsBuilder
source§fn default() -> RedshiftDataProviderSettingsBuilder
fn default() -> RedshiftDataProviderSettingsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RedshiftDataProviderSettingsBuilder
impl PartialEq for RedshiftDataProviderSettingsBuilder
source§fn eq(&self, other: &RedshiftDataProviderSettingsBuilder) -> bool
fn eq(&self, other: &RedshiftDataProviderSettingsBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RedshiftDataProviderSettingsBuilder
Auto Trait Implementations§
impl Freeze for RedshiftDataProviderSettingsBuilder
impl RefUnwindSafe for RedshiftDataProviderSettingsBuilder
impl Send for RedshiftDataProviderSettingsBuilder
impl Sync for RedshiftDataProviderSettingsBuilder
impl Unpin for RedshiftDataProviderSettingsBuilder
impl UnwindSafe for RedshiftDataProviderSettingsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.