#[non_exhaustive]pub struct VectorEnrichmentJobErrorDetailsBuilder { /* private fields */ }
Expand description
A builder for VectorEnrichmentJobErrorDetails
.
Implementations§
source§impl VectorEnrichmentJobErrorDetailsBuilder
impl VectorEnrichmentJobErrorDetailsBuilder
sourcepub fn error_type(self, input: VectorEnrichmentJobErrorType) -> Self
pub fn error_type(self, input: VectorEnrichmentJobErrorType) -> Self
The type of error generated during the Vector Enrichment job.
sourcepub fn set_error_type(self, input: Option<VectorEnrichmentJobErrorType>) -> Self
pub fn set_error_type(self, input: Option<VectorEnrichmentJobErrorType>) -> Self
The type of error generated during the Vector Enrichment job.
sourcepub fn get_error_type(&self) -> &Option<VectorEnrichmentJobErrorType>
pub fn get_error_type(&self) -> &Option<VectorEnrichmentJobErrorType>
The type of error generated during the Vector Enrichment job.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
A message that you define and then is processed and rendered by the Vector Enrichment job when the error occurs.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
A message that you define and then is processed and rendered by the Vector Enrichment job when the error occurs.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
A message that you define and then is processed and rendered by the Vector Enrichment job when the error occurs.
sourcepub fn build(self) -> VectorEnrichmentJobErrorDetails
pub fn build(self) -> VectorEnrichmentJobErrorDetails
Consumes the builder and constructs a VectorEnrichmentJobErrorDetails
.
Trait Implementations§
source§impl Clone for VectorEnrichmentJobErrorDetailsBuilder
impl Clone for VectorEnrichmentJobErrorDetailsBuilder
source§fn clone(&self) -> VectorEnrichmentJobErrorDetailsBuilder
fn clone(&self) -> VectorEnrichmentJobErrorDetailsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for VectorEnrichmentJobErrorDetailsBuilder
impl Default for VectorEnrichmentJobErrorDetailsBuilder
source§fn default() -> VectorEnrichmentJobErrorDetailsBuilder
fn default() -> VectorEnrichmentJobErrorDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for VectorEnrichmentJobErrorDetailsBuilder
impl PartialEq for VectorEnrichmentJobErrorDetailsBuilder
source§fn eq(&self, other: &VectorEnrichmentJobErrorDetailsBuilder) -> bool
fn eq(&self, other: &VectorEnrichmentJobErrorDetailsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VectorEnrichmentJobErrorDetailsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for VectorEnrichmentJobErrorDetailsBuilder
impl Send for VectorEnrichmentJobErrorDetailsBuilder
impl Sync for VectorEnrichmentJobErrorDetailsBuilder
impl Unpin for VectorEnrichmentJobErrorDetailsBuilder
impl UnwindSafe for VectorEnrichmentJobErrorDetailsBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.