#[non_exhaustive]pub struct SourceFlowConfigBuilder { /* private fields */ }
Expand description
A builder for SourceFlowConfig
.
Implementations§
source§impl SourceFlowConfigBuilder
impl SourceFlowConfigBuilder
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 AppFlow connector profile. This name must be unique for each connector profile in the AWS 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 AppFlow connector profile. This name must be unique for each connector profile in the AWS account.
sourcepub fn get_connector_profile_name(&self) -> &Option<String>
pub fn get_connector_profile_name(&self) -> &Option<String>
The name of the AppFlow connector profile. This name must be unique for each connector profile in the AWS account.
sourcepub fn connector_type(self, input: SourceConnectorType) -> Self
pub fn connector_type(self, input: SourceConnectorType) -> Self
The type of connector, such as Salesforce, Marketo, and so on.
This field is required.sourcepub fn set_connector_type(self, input: Option<SourceConnectorType>) -> Self
pub fn set_connector_type(self, input: Option<SourceConnectorType>) -> Self
The type of connector, such as Salesforce, Marketo, and so on.
sourcepub fn get_connector_type(&self) -> &Option<SourceConnectorType>
pub fn get_connector_type(&self) -> &Option<SourceConnectorType>
The type of connector, such as Salesforce, Marketo, and so on.
sourcepub fn incremental_pull_config(self, input: IncrementalPullConfig) -> Self
pub fn incremental_pull_config(self, input: IncrementalPullConfig) -> Self
Defines the configuration for a scheduled incremental data pull. If a valid configuration is provided, the fields specified in the configuration are used when querying for the incremental data pull.
sourcepub fn set_incremental_pull_config(
self,
input: Option<IncrementalPullConfig>
) -> Self
pub fn set_incremental_pull_config( self, input: Option<IncrementalPullConfig> ) -> Self
Defines the configuration for a scheduled incremental data pull. If a valid configuration is provided, the fields specified in the configuration are used when querying for the incremental data pull.
sourcepub fn get_incremental_pull_config(&self) -> &Option<IncrementalPullConfig>
pub fn get_incremental_pull_config(&self) -> &Option<IncrementalPullConfig>
Defines the configuration for a scheduled incremental data pull. If a valid configuration is provided, the fields specified in the configuration are used when querying for the incremental data pull.
sourcepub fn source_connector_properties(
self,
input: SourceConnectorProperties
) -> Self
pub fn source_connector_properties( self, input: SourceConnectorProperties ) -> Self
Specifies the information that is required to query a particular source connector.
This field is required.sourcepub fn set_source_connector_properties(
self,
input: Option<SourceConnectorProperties>
) -> Self
pub fn set_source_connector_properties( self, input: Option<SourceConnectorProperties> ) -> Self
Specifies the information that is required to query a particular source connector.
sourcepub fn get_source_connector_properties(
&self
) -> &Option<SourceConnectorProperties>
pub fn get_source_connector_properties( &self ) -> &Option<SourceConnectorProperties>
Specifies the information that is required to query a particular source connector.
sourcepub fn build(self) -> Result<SourceFlowConfig, BuildError>
pub fn build(self) -> Result<SourceFlowConfig, BuildError>
Consumes the builder and constructs a SourceFlowConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SourceFlowConfigBuilder
impl Clone for SourceFlowConfigBuilder
source§fn clone(&self) -> SourceFlowConfigBuilder
fn clone(&self) -> SourceFlowConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SourceFlowConfigBuilder
impl Debug for SourceFlowConfigBuilder
source§impl Default for SourceFlowConfigBuilder
impl Default for SourceFlowConfigBuilder
source§fn default() -> SourceFlowConfigBuilder
fn default() -> SourceFlowConfigBuilder
source§impl PartialEq for SourceFlowConfigBuilder
impl PartialEq for SourceFlowConfigBuilder
source§fn eq(&self, other: &SourceFlowConfigBuilder) -> bool
fn eq(&self, other: &SourceFlowConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SourceFlowConfigBuilder
Auto Trait Implementations§
impl Freeze for SourceFlowConfigBuilder
impl RefUnwindSafe for SourceFlowConfigBuilder
impl Send for SourceFlowConfigBuilder
impl Sync for SourceFlowConfigBuilder
impl Unpin for SourceFlowConfigBuilder
impl UnwindSafe for SourceFlowConfigBuilder
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> 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