#[non_exhaustive]pub struct ConnectionPropertiesConfigurationBuilder { /* private fields */ }Expand description
A builder for ConnectionPropertiesConfiguration.
Implementations§
Source§impl ConnectionPropertiesConfigurationBuilder
impl ConnectionPropertiesConfigurationBuilder
Sourcepub fn url(self, input: ConnectorProperty) -> Self
pub fn url(self, input: ConnectorProperty) -> Self
The base instance URL for the endpoint that this connection type will connect to.
Sourcepub fn set_url(self, input: Option<ConnectorProperty>) -> Self
pub fn set_url(self, input: Option<ConnectorProperty>) -> Self
The base instance URL for the endpoint that this connection type will connect to.
Sourcepub fn get_url(&self) -> &Option<ConnectorProperty>
pub fn get_url(&self) -> &Option<ConnectorProperty>
The base instance URL for the endpoint that this connection type will connect to.
Sourcepub fn additional_request_parameters(self, input: ConnectorProperty) -> Self
pub fn additional_request_parameters(self, input: ConnectorProperty) -> Self
Appends an item to additional_request_parameters.
To override the contents of this collection use set_additional_request_parameters.
Key-value pairs of additional request parameters that may be needed during connection creation, such as API versions or service-specific configuration options.
Sourcepub fn set_additional_request_parameters(
self,
input: Option<Vec<ConnectorProperty>>,
) -> Self
pub fn set_additional_request_parameters( self, input: Option<Vec<ConnectorProperty>>, ) -> Self
Key-value pairs of additional request parameters that may be needed during connection creation, such as API versions or service-specific configuration options.
Sourcepub fn get_additional_request_parameters(
&self,
) -> &Option<Vec<ConnectorProperty>>
pub fn get_additional_request_parameters( &self, ) -> &Option<Vec<ConnectorProperty>>
Key-value pairs of additional request parameters that may be needed during connection creation, such as API versions or service-specific configuration options.
Sourcepub fn build(self) -> ConnectionPropertiesConfiguration
pub fn build(self) -> ConnectionPropertiesConfiguration
Consumes the builder and constructs a ConnectionPropertiesConfiguration.
Trait Implementations§
Source§impl Clone for ConnectionPropertiesConfigurationBuilder
impl Clone for ConnectionPropertiesConfigurationBuilder
Source§fn clone(&self) -> ConnectionPropertiesConfigurationBuilder
fn clone(&self) -> ConnectionPropertiesConfigurationBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ConnectionPropertiesConfigurationBuilder
impl Default for ConnectionPropertiesConfigurationBuilder
Source§fn default() -> ConnectionPropertiesConfigurationBuilder
fn default() -> ConnectionPropertiesConfigurationBuilder
Source§impl PartialEq for ConnectionPropertiesConfigurationBuilder
impl PartialEq for ConnectionPropertiesConfigurationBuilder
Source§fn eq(&self, other: &ConnectionPropertiesConfigurationBuilder) -> bool
fn eq(&self, other: &ConnectionPropertiesConfigurationBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConnectionPropertiesConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ConnectionPropertiesConfigurationBuilder
impl RefUnwindSafe for ConnectionPropertiesConfigurationBuilder
impl Send for ConnectionPropertiesConfigurationBuilder
impl Sync for ConnectionPropertiesConfigurationBuilder
impl Unpin for ConnectionPropertiesConfigurationBuilder
impl UnsafeUnpin for ConnectionPropertiesConfigurationBuilder
impl UnwindSafe for ConnectionPropertiesConfigurationBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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 more