#[non_exhaustive]pub struct SourceConnectorPropertiesBuilder { /* private fields */ }
Expand description
A builder for SourceConnectorProperties
.
Implementations§
source§impl SourceConnectorPropertiesBuilder
impl SourceConnectorPropertiesBuilder
sourcepub fn marketo(self, input: MarketoSourceProperties) -> Self
pub fn marketo(self, input: MarketoSourceProperties) -> Self
The properties that are applied when Marketo is being used as a source.
sourcepub fn set_marketo(self, input: Option<MarketoSourceProperties>) -> Self
pub fn set_marketo(self, input: Option<MarketoSourceProperties>) -> Self
The properties that are applied when Marketo is being used as a source.
sourcepub fn get_marketo(&self) -> &Option<MarketoSourceProperties>
pub fn get_marketo(&self) -> &Option<MarketoSourceProperties>
The properties that are applied when Marketo is being used as a source.
sourcepub fn s3(self, input: S3SourceProperties) -> Self
pub fn s3(self, input: S3SourceProperties) -> Self
The properties that are applied when Amazon S3 is being used as the flow source.
sourcepub fn set_s3(self, input: Option<S3SourceProperties>) -> Self
pub fn set_s3(self, input: Option<S3SourceProperties>) -> Self
The properties that are applied when Amazon S3 is being used as the flow source.
sourcepub fn get_s3(&self) -> &Option<S3SourceProperties>
pub fn get_s3(&self) -> &Option<S3SourceProperties>
The properties that are applied when Amazon S3 is being used as the flow source.
sourcepub fn salesforce(self, input: SalesforceSourceProperties) -> Self
pub fn salesforce(self, input: SalesforceSourceProperties) -> Self
The properties that are applied when Salesforce is being used as a source.
sourcepub fn set_salesforce(self, input: Option<SalesforceSourceProperties>) -> Self
pub fn set_salesforce(self, input: Option<SalesforceSourceProperties>) -> Self
The properties that are applied when Salesforce is being used as a source.
sourcepub fn get_salesforce(&self) -> &Option<SalesforceSourceProperties>
pub fn get_salesforce(&self) -> &Option<SalesforceSourceProperties>
The properties that are applied when Salesforce is being used as a source.
sourcepub fn service_now(self, input: ServiceNowSourceProperties) -> Self
pub fn service_now(self, input: ServiceNowSourceProperties) -> Self
The properties that are applied when ServiceNow is being used as a source.
sourcepub fn set_service_now(self, input: Option<ServiceNowSourceProperties>) -> Self
pub fn set_service_now(self, input: Option<ServiceNowSourceProperties>) -> Self
The properties that are applied when ServiceNow is being used as a source.
sourcepub fn get_service_now(&self) -> &Option<ServiceNowSourceProperties>
pub fn get_service_now(&self) -> &Option<ServiceNowSourceProperties>
The properties that are applied when ServiceNow is being used as a source.
sourcepub fn zendesk(self, input: ZendeskSourceProperties) -> Self
pub fn zendesk(self, input: ZendeskSourceProperties) -> Self
The properties that are applied when using Zendesk as a flow source.
sourcepub fn set_zendesk(self, input: Option<ZendeskSourceProperties>) -> Self
pub fn set_zendesk(self, input: Option<ZendeskSourceProperties>) -> Self
The properties that are applied when using Zendesk as a flow source.
sourcepub fn get_zendesk(&self) -> &Option<ZendeskSourceProperties>
pub fn get_zendesk(&self) -> &Option<ZendeskSourceProperties>
The properties that are applied when using Zendesk as a flow source.
sourcepub fn build(self) -> SourceConnectorProperties
pub fn build(self) -> SourceConnectorProperties
Consumes the builder and constructs a SourceConnectorProperties
.
Trait Implementations§
source§impl Clone for SourceConnectorPropertiesBuilder
impl Clone for SourceConnectorPropertiesBuilder
source§fn clone(&self) -> SourceConnectorPropertiesBuilder
fn clone(&self) -> SourceConnectorPropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SourceConnectorPropertiesBuilder
impl Default for SourceConnectorPropertiesBuilder
source§fn default() -> SourceConnectorPropertiesBuilder
fn default() -> SourceConnectorPropertiesBuilder
source§impl PartialEq for SourceConnectorPropertiesBuilder
impl PartialEq for SourceConnectorPropertiesBuilder
source§fn eq(&self, other: &SourceConnectorPropertiesBuilder) -> bool
fn eq(&self, other: &SourceConnectorPropertiesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SourceConnectorPropertiesBuilder
Auto Trait Implementations§
impl Freeze for SourceConnectorPropertiesBuilder
impl RefUnwindSafe for SourceConnectorPropertiesBuilder
impl Send for SourceConnectorPropertiesBuilder
impl Sync for SourceConnectorPropertiesBuilder
impl Unpin for SourceConnectorPropertiesBuilder
impl UnwindSafe for SourceConnectorPropertiesBuilder
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