#[non_exhaustive]pub struct RelationalDatabaseDataSourceConfigBuilder { /* private fields */ }
Expand description
A builder for RelationalDatabaseDataSourceConfig
.
Implementations§
source§impl RelationalDatabaseDataSourceConfigBuilder
impl RelationalDatabaseDataSourceConfigBuilder
sourcepub fn relational_database_source_type(
self,
input: RelationalDatabaseSourceType,
) -> Self
pub fn relational_database_source_type( self, input: RelationalDatabaseSourceType, ) -> Self
Source type for the relational database.
-
RDS_HTTP_ENDPOINT: The relational database source type is an Amazon Relational Database Service (Amazon RDS) HTTP endpoint.
sourcepub fn set_relational_database_source_type(
self,
input: Option<RelationalDatabaseSourceType>,
) -> Self
pub fn set_relational_database_source_type( self, input: Option<RelationalDatabaseSourceType>, ) -> Self
Source type for the relational database.
-
RDS_HTTP_ENDPOINT: The relational database source type is an Amazon Relational Database Service (Amazon RDS) HTTP endpoint.
sourcepub fn get_relational_database_source_type(
&self,
) -> &Option<RelationalDatabaseSourceType>
pub fn get_relational_database_source_type( &self, ) -> &Option<RelationalDatabaseSourceType>
Source type for the relational database.
-
RDS_HTTP_ENDPOINT: The relational database source type is an Amazon Relational Database Service (Amazon RDS) HTTP endpoint.
sourcepub fn rds_http_endpoint_config(self, input: RdsHttpEndpointConfig) -> Self
pub fn rds_http_endpoint_config(self, input: RdsHttpEndpointConfig) -> Self
Amazon RDS HTTP endpoint settings.
sourcepub fn set_rds_http_endpoint_config(
self,
input: Option<RdsHttpEndpointConfig>,
) -> Self
pub fn set_rds_http_endpoint_config( self, input: Option<RdsHttpEndpointConfig>, ) -> Self
Amazon RDS HTTP endpoint settings.
sourcepub fn get_rds_http_endpoint_config(&self) -> &Option<RdsHttpEndpointConfig>
pub fn get_rds_http_endpoint_config(&self) -> &Option<RdsHttpEndpointConfig>
Amazon RDS HTTP endpoint settings.
sourcepub fn build(self) -> RelationalDatabaseDataSourceConfig
pub fn build(self) -> RelationalDatabaseDataSourceConfig
Consumes the builder and constructs a RelationalDatabaseDataSourceConfig
.
Trait Implementations§
source§impl Clone for RelationalDatabaseDataSourceConfigBuilder
impl Clone for RelationalDatabaseDataSourceConfigBuilder
source§fn clone(&self) -> RelationalDatabaseDataSourceConfigBuilder
fn clone(&self) -> RelationalDatabaseDataSourceConfigBuilder
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 RelationalDatabaseDataSourceConfigBuilder
impl Default for RelationalDatabaseDataSourceConfigBuilder
source§fn default() -> RelationalDatabaseDataSourceConfigBuilder
fn default() -> RelationalDatabaseDataSourceConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RelationalDatabaseDataSourceConfigBuilder
impl PartialEq for RelationalDatabaseDataSourceConfigBuilder
source§fn eq(&self, other: &RelationalDatabaseDataSourceConfigBuilder) -> bool
fn eq(&self, other: &RelationalDatabaseDataSourceConfigBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RelationalDatabaseDataSourceConfigBuilder
Auto Trait Implementations§
impl Freeze for RelationalDatabaseDataSourceConfigBuilder
impl RefUnwindSafe for RelationalDatabaseDataSourceConfigBuilder
impl Send for RelationalDatabaseDataSourceConfigBuilder
impl Sync for RelationalDatabaseDataSourceConfigBuilder
impl Unpin for RelationalDatabaseDataSourceConfigBuilder
impl UnwindSafe for RelationalDatabaseDataSourceConfigBuilder
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.