#[non_exhaustive]pub struct EventPredictionSummaryBuilder { /* private fields */ }
Expand description
A builder for EventPredictionSummary
.
Implementations§
source§impl EventPredictionSummaryBuilder
impl EventPredictionSummaryBuilder
sourcepub fn set_event_id(self, input: Option<String>) -> Self
pub fn set_event_id(self, input: Option<String>) -> Self
The event ID.
sourcepub fn get_event_id(&self) -> &Option<String>
pub fn get_event_id(&self) -> &Option<String>
The event ID.
sourcepub fn event_type_name(self, input: impl Into<String>) -> Self
pub fn event_type_name(self, input: impl Into<String>) -> Self
The event type.
sourcepub fn set_event_type_name(self, input: Option<String>) -> Self
pub fn set_event_type_name(self, input: Option<String>) -> Self
The event type.
sourcepub fn get_event_type_name(&self) -> &Option<String>
pub fn get_event_type_name(&self) -> &Option<String>
The event type.
sourcepub fn event_timestamp(self, input: impl Into<String>) -> Self
pub fn event_timestamp(self, input: impl Into<String>) -> Self
The timestamp of the event.
sourcepub fn set_event_timestamp(self, input: Option<String>) -> Self
pub fn set_event_timestamp(self, input: Option<String>) -> Self
The timestamp of the event.
sourcepub fn get_event_timestamp(&self) -> &Option<String>
pub fn get_event_timestamp(&self) -> &Option<String>
The timestamp of the event.
sourcepub fn prediction_timestamp(self, input: impl Into<String>) -> Self
pub fn prediction_timestamp(self, input: impl Into<String>) -> Self
The timestamp when the prediction was generated.
sourcepub fn set_prediction_timestamp(self, input: Option<String>) -> Self
pub fn set_prediction_timestamp(self, input: Option<String>) -> Self
The timestamp when the prediction was generated.
sourcepub fn get_prediction_timestamp(&self) -> &Option<String>
pub fn get_prediction_timestamp(&self) -> &Option<String>
The timestamp when the prediction was generated.
sourcepub fn detector_id(self, input: impl Into<String>) -> Self
pub fn detector_id(self, input: impl Into<String>) -> Self
The detector ID.
sourcepub fn set_detector_id(self, input: Option<String>) -> Self
pub fn set_detector_id(self, input: Option<String>) -> Self
The detector ID.
sourcepub fn get_detector_id(&self) -> &Option<String>
pub fn get_detector_id(&self) -> &Option<String>
The detector ID.
sourcepub fn detector_version_id(self, input: impl Into<String>) -> Self
pub fn detector_version_id(self, input: impl Into<String>) -> Self
The detector version ID.
sourcepub fn set_detector_version_id(self, input: Option<String>) -> Self
pub fn set_detector_version_id(self, input: Option<String>) -> Self
The detector version ID.
sourcepub fn get_detector_version_id(&self) -> &Option<String>
pub fn get_detector_version_id(&self) -> &Option<String>
The detector version ID.
sourcepub fn build(self) -> EventPredictionSummary
pub fn build(self) -> EventPredictionSummary
Consumes the builder and constructs a EventPredictionSummary
.
Trait Implementations§
source§impl Clone for EventPredictionSummaryBuilder
impl Clone for EventPredictionSummaryBuilder
source§fn clone(&self) -> EventPredictionSummaryBuilder
fn clone(&self) -> EventPredictionSummaryBuilder
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 EventPredictionSummaryBuilder
impl Default for EventPredictionSummaryBuilder
source§fn default() -> EventPredictionSummaryBuilder
fn default() -> EventPredictionSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EventPredictionSummaryBuilder
impl PartialEq for EventPredictionSummaryBuilder
source§fn eq(&self, other: &EventPredictionSummaryBuilder) -> bool
fn eq(&self, other: &EventPredictionSummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EventPredictionSummaryBuilder
Auto Trait Implementations§
impl Freeze for EventPredictionSummaryBuilder
impl RefUnwindSafe for EventPredictionSummaryBuilder
impl Send for EventPredictionSummaryBuilder
impl Sync for EventPredictionSummaryBuilder
impl Unpin for EventPredictionSummaryBuilder
impl UnwindSafe for EventPredictionSummaryBuilder
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.