#[non_exhaustive]pub struct LineageNodeTypeItemBuilder { /* private fields */ }Expand description
A builder for LineageNodeTypeItem.
Implementations§
source§impl LineageNodeTypeItemBuilder
impl LineageNodeTypeItemBuilder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The ID of the domain where the data lineage node type lives.
This field is required.sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The ID of the domain where the data lineage node type lives.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The ID of the domain where the data lineage node type lives.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the data lineage node type.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the data lineage node type.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the data lineage node type.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp at which the data lineage node type was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The timestamp at which the data lineage node type was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp at which the data lineage node type was created.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The user who created the data lineage node type.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The user who created the data lineage node type.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The user who created the data lineage node type.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The timestamp at which the data lineage node type was updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The timestamp at which the data lineage node type was updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The timestamp at which the data lineage node type was updated.
sourcepub fn updated_by(self, input: impl Into<String>) -> Self
pub fn updated_by(self, input: impl Into<String>) -> Self
The user who updated the data lineage node type.
sourcepub fn set_updated_by(self, input: Option<String>) -> Self
pub fn set_updated_by(self, input: Option<String>) -> Self
The user who updated the data lineage node type.
sourcepub fn get_updated_by(&self) -> &Option<String>
pub fn get_updated_by(&self) -> &Option<String>
The user who updated the data lineage node type.
sourcepub fn revision(self, input: impl Into<String>) -> Self
pub fn revision(self, input: impl Into<String>) -> Self
The revision of the data lineage node type.
This field is required.sourcepub fn set_revision(self, input: Option<String>) -> Self
pub fn set_revision(self, input: Option<String>) -> Self
The revision of the data lineage node type.
sourcepub fn get_revision(&self) -> &Option<String>
pub fn get_revision(&self) -> &Option<String>
The revision of the data lineage node type.
sourcepub fn forms_output(self, k: impl Into<String>, v: FormEntryOutput) -> Self
pub fn forms_output(self, k: impl Into<String>, v: FormEntryOutput) -> Self
Adds a key-value pair to forms_output.
To override the contents of this collection use set_forms_output.
The forms output of the data lineage node type.
sourcepub fn set_forms_output(
self,
input: Option<HashMap<String, FormEntryOutput>>,
) -> Self
pub fn set_forms_output( self, input: Option<HashMap<String, FormEntryOutput>>, ) -> Self
The forms output of the data lineage node type.
sourcepub fn get_forms_output(&self) -> &Option<HashMap<String, FormEntryOutput>>
pub fn get_forms_output(&self) -> &Option<HashMap<String, FormEntryOutput>>
The forms output of the data lineage node type.
sourcepub fn build(self) -> Result<LineageNodeTypeItem, BuildError>
pub fn build(self) -> Result<LineageNodeTypeItem, BuildError>
Consumes the builder and constructs a LineageNodeTypeItem.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for LineageNodeTypeItemBuilder
impl Clone for LineageNodeTypeItemBuilder
source§fn clone(&self) -> LineageNodeTypeItemBuilder
fn clone(&self) -> LineageNodeTypeItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LineageNodeTypeItemBuilder
impl Debug for LineageNodeTypeItemBuilder
source§impl Default for LineageNodeTypeItemBuilder
impl Default for LineageNodeTypeItemBuilder
source§fn default() -> LineageNodeTypeItemBuilder
fn default() -> LineageNodeTypeItemBuilder
impl StructuralPartialEq for LineageNodeTypeItemBuilder
Auto Trait Implementations§
impl Freeze for LineageNodeTypeItemBuilder
impl RefUnwindSafe for LineageNodeTypeItemBuilder
impl Send for LineageNodeTypeItemBuilder
impl Sync for LineageNodeTypeItemBuilder
impl Unpin for LineageNodeTypeItemBuilder
impl UnwindSafe for LineageNodeTypeItemBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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