#[non_exhaustive]pub struct DestinationFlowConfigBuilder { /* private fields */ }
Expand description
A builder for DestinationFlowConfig
.
Implementations§
source§impl DestinationFlowConfigBuilder
impl DestinationFlowConfigBuilder
sourcepub fn connector_type(self, input: ConnectorType) -> Self
pub fn connector_type(self, input: ConnectorType) -> Self
The type of connector, such as Salesforce, Amplitude, and so on.
This field is required.sourcepub fn set_connector_type(self, input: Option<ConnectorType>) -> Self
pub fn set_connector_type(self, input: Option<ConnectorType>) -> Self
The type of connector, such as Salesforce, Amplitude, and so on.
sourcepub fn get_connector_type(&self) -> &Option<ConnectorType>
pub fn get_connector_type(&self) -> &Option<ConnectorType>
The type of connector, such as Salesforce, Amplitude, and so on.
sourcepub fn api_version(self, input: impl Into<String>) -> Self
pub fn api_version(self, input: impl Into<String>) -> Self
The API version that the destination connector uses.
sourcepub fn set_api_version(self, input: Option<String>) -> Self
pub fn set_api_version(self, input: Option<String>) -> Self
The API version that the destination connector uses.
sourcepub fn get_api_version(&self) -> &Option<String>
pub fn get_api_version(&self) -> &Option<String>
The API version that the destination connector uses.
sourcepub fn connector_profile_name(self, input: impl Into<String>) -> Self
pub fn connector_profile_name(self, input: impl Into<String>) -> Self
The name of the connector profile. This name must be unique for each connector profile in the Amazon Web Services account.
sourcepub fn set_connector_profile_name(self, input: Option<String>) -> Self
pub fn set_connector_profile_name(self, input: Option<String>) -> Self
The name of the connector profile. This name must be unique for each connector profile in the Amazon Web Services account.
sourcepub fn get_connector_profile_name(&self) -> &Option<String>
pub fn get_connector_profile_name(&self) -> &Option<String>
The name of the connector profile. This name must be unique for each connector profile in the Amazon Web Services account.
sourcepub fn destination_connector_properties(
self,
input: DestinationConnectorProperties,
) -> Self
pub fn destination_connector_properties( self, input: DestinationConnectorProperties, ) -> Self
This stores the information that is required to query a particular connector.
This field is required.sourcepub fn set_destination_connector_properties(
self,
input: Option<DestinationConnectorProperties>,
) -> Self
pub fn set_destination_connector_properties( self, input: Option<DestinationConnectorProperties>, ) -> Self
This stores the information that is required to query a particular connector.
sourcepub fn get_destination_connector_properties(
&self,
) -> &Option<DestinationConnectorProperties>
pub fn get_destination_connector_properties( &self, ) -> &Option<DestinationConnectorProperties>
This stores the information that is required to query a particular connector.
sourcepub fn build(self) -> Result<DestinationFlowConfig, BuildError>
pub fn build(self) -> Result<DestinationFlowConfig, BuildError>
Consumes the builder and constructs a DestinationFlowConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DestinationFlowConfigBuilder
impl Clone for DestinationFlowConfigBuilder
source§fn clone(&self) -> DestinationFlowConfigBuilder
fn clone(&self) -> DestinationFlowConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DestinationFlowConfigBuilder
impl Debug for DestinationFlowConfigBuilder
source§impl Default for DestinationFlowConfigBuilder
impl Default for DestinationFlowConfigBuilder
source§fn default() -> DestinationFlowConfigBuilder
fn default() -> DestinationFlowConfigBuilder
source§impl PartialEq for DestinationFlowConfigBuilder
impl PartialEq for DestinationFlowConfigBuilder
source§fn eq(&self, other: &DestinationFlowConfigBuilder) -> bool
fn eq(&self, other: &DestinationFlowConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DestinationFlowConfigBuilder
Auto Trait Implementations§
impl Freeze for DestinationFlowConfigBuilder
impl RefUnwindSafe for DestinationFlowConfigBuilder
impl Send for DestinationFlowConfigBuilder
impl Sync for DestinationFlowConfigBuilder
impl Unpin for DestinationFlowConfigBuilder
impl UnwindSafe for DestinationFlowConfigBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
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