#[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 ==
.