#[non_exhaustive]pub struct VeevaSourcePropertiesBuilder { /* private fields */ }
Expand description
A builder for VeevaSourceProperties
.
Implementations§
source§impl VeevaSourcePropertiesBuilder
impl VeevaSourcePropertiesBuilder
sourcepub fn object(self, input: impl Into<String>) -> Self
pub fn object(self, input: impl Into<String>) -> Self
The object specified in the Veeva 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 Veeva flow source.
sourcepub fn get_object(&self) -> &Option<String>
pub fn get_object(&self) -> &Option<String>
The object specified in the Veeva flow source.
sourcepub fn document_type(self, input: impl Into<String>) -> Self
pub fn document_type(self, input: impl Into<String>) -> Self
The document type specified in the Veeva document extract flow.
sourcepub fn set_document_type(self, input: Option<String>) -> Self
pub fn set_document_type(self, input: Option<String>) -> Self
The document type specified in the Veeva document extract flow.
sourcepub fn get_document_type(&self) -> &Option<String>
pub fn get_document_type(&self) -> &Option<String>
The document type specified in the Veeva document extract flow.
sourcepub fn include_source_files(self, input: bool) -> Self
pub fn include_source_files(self, input: bool) -> Self
Boolean value to include source files in Veeva document extract flow.
sourcepub fn set_include_source_files(self, input: Option<bool>) -> Self
pub fn set_include_source_files(self, input: Option<bool>) -> Self
Boolean value to include source files in Veeva document extract flow.
sourcepub fn get_include_source_files(&self) -> &Option<bool>
pub fn get_include_source_files(&self) -> &Option<bool>
Boolean value to include source files in Veeva document extract flow.
sourcepub fn include_renditions(self, input: bool) -> Self
pub fn include_renditions(self, input: bool) -> Self
Boolean value to include file renditions in Veeva document extract flow.
sourcepub fn set_include_renditions(self, input: Option<bool>) -> Self
pub fn set_include_renditions(self, input: Option<bool>) -> Self
Boolean value to include file renditions in Veeva document extract flow.
sourcepub fn get_include_renditions(&self) -> &Option<bool>
pub fn get_include_renditions(&self) -> &Option<bool>
Boolean value to include file renditions in Veeva document extract flow.
sourcepub fn include_all_versions(self, input: bool) -> Self
pub fn include_all_versions(self, input: bool) -> Self
Boolean value to include All Versions of files in Veeva document extract flow.
sourcepub fn set_include_all_versions(self, input: Option<bool>) -> Self
pub fn set_include_all_versions(self, input: Option<bool>) -> Self
Boolean value to include All Versions of files in Veeva document extract flow.
sourcepub fn get_include_all_versions(&self) -> &Option<bool>
pub fn get_include_all_versions(&self) -> &Option<bool>
Boolean value to include All Versions of files in Veeva document extract flow.
sourcepub fn build(self) -> Result<VeevaSourceProperties, BuildError>
pub fn build(self) -> Result<VeevaSourceProperties, BuildError>
Consumes the builder and constructs a VeevaSourceProperties
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for VeevaSourcePropertiesBuilder
impl Clone for VeevaSourcePropertiesBuilder
source§fn clone(&self) -> VeevaSourcePropertiesBuilder
fn clone(&self) -> VeevaSourcePropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VeevaSourcePropertiesBuilder
impl Debug for VeevaSourcePropertiesBuilder
source§impl Default for VeevaSourcePropertiesBuilder
impl Default for VeevaSourcePropertiesBuilder
source§fn default() -> VeevaSourcePropertiesBuilder
fn default() -> VeevaSourcePropertiesBuilder
source§impl PartialEq for VeevaSourcePropertiesBuilder
impl PartialEq for VeevaSourcePropertiesBuilder
source§fn eq(&self, other: &VeevaSourcePropertiesBuilder) -> bool
fn eq(&self, other: &VeevaSourcePropertiesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VeevaSourcePropertiesBuilder
Auto Trait Implementations§
impl Freeze for VeevaSourcePropertiesBuilder
impl RefUnwindSafe for VeevaSourcePropertiesBuilder
impl Send for VeevaSourcePropertiesBuilder
impl Sync for VeevaSourcePropertiesBuilder
impl Unpin for VeevaSourcePropertiesBuilder
impl UnwindSafe for VeevaSourcePropertiesBuilder
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