#[non_exhaustive]pub struct SalesforceSourcePropertiesBuilder { /* private fields */ }
Expand description
A builder for SalesforceSourceProperties
.
Implementations§
source§impl SalesforceSourcePropertiesBuilder
impl SalesforceSourcePropertiesBuilder
sourcepub fn object(self, input: impl Into<String>) -> Self
pub fn object(self, input: impl Into<String>) -> Self
The object specified in the Salesforce flow source.
This field is required.sourcepub fn set_object(self, input: Option<String>) -> Self
pub fn set_object(self, input: Option<String>) -> Self
The object specified in the Salesforce flow source.
sourcepub fn get_object(&self) -> &Option<String>
pub fn get_object(&self) -> &Option<String>
The object specified in the Salesforce flow source.
sourcepub fn enable_dynamic_field_update(self, input: bool) -> Self
pub fn enable_dynamic_field_update(self, input: bool) -> Self
The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.
sourcepub fn set_enable_dynamic_field_update(self, input: Option<bool>) -> Self
pub fn set_enable_dynamic_field_update(self, input: Option<bool>) -> Self
The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.
sourcepub fn get_enable_dynamic_field_update(&self) -> &Option<bool>
pub fn get_enable_dynamic_field_update(&self) -> &Option<bool>
The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.
sourcepub fn include_deleted_records(self, input: bool) -> Self
pub fn include_deleted_records(self, input: bool) -> Self
Indicates whether Amazon AppFlow includes deleted files in the flow run.
sourcepub fn set_include_deleted_records(self, input: Option<bool>) -> Self
pub fn set_include_deleted_records(self, input: Option<bool>) -> Self
Indicates whether Amazon AppFlow includes deleted files in the flow run.
sourcepub fn get_include_deleted_records(&self) -> &Option<bool>
pub fn get_include_deleted_records(&self) -> &Option<bool>
Indicates whether Amazon AppFlow includes deleted files in the flow run.
sourcepub fn build(self) -> Result<SalesforceSourceProperties, BuildError>
pub fn build(self) -> Result<SalesforceSourceProperties, BuildError>
Consumes the builder and constructs a SalesforceSourceProperties
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SalesforceSourcePropertiesBuilder
impl Clone for SalesforceSourcePropertiesBuilder
source§fn clone(&self) -> SalesforceSourcePropertiesBuilder
fn clone(&self) -> SalesforceSourcePropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SalesforceSourcePropertiesBuilder
impl Default for SalesforceSourcePropertiesBuilder
source§fn default() -> SalesforceSourcePropertiesBuilder
fn default() -> SalesforceSourcePropertiesBuilder
source§impl PartialEq for SalesforceSourcePropertiesBuilder
impl PartialEq for SalesforceSourcePropertiesBuilder
source§fn eq(&self, other: &SalesforceSourcePropertiesBuilder) -> bool
fn eq(&self, other: &SalesforceSourcePropertiesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SalesforceSourcePropertiesBuilder
Auto Trait Implementations§
impl Freeze for SalesforceSourcePropertiesBuilder
impl RefUnwindSafe for SalesforceSourcePropertiesBuilder
impl Send for SalesforceSourcePropertiesBuilder
impl Sync for SalesforceSourcePropertiesBuilder
impl Unpin for SalesforceSourcePropertiesBuilder
impl UnwindSafe for SalesforceSourcePropertiesBuilder
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