Struct aws_sdk_iotevents::types::builders::DetectorModelBuilder
source · #[non_exhaustive]pub struct DetectorModelBuilder { /* private fields */ }
Expand description
A builder for DetectorModel
.
Implementations§
source§impl DetectorModelBuilder
impl DetectorModelBuilder
sourcepub fn detector_model_definition(self, input: DetectorModelDefinition) -> Self
pub fn detector_model_definition(self, input: DetectorModelDefinition) -> Self
Information that defines how a detector operates.
sourcepub fn set_detector_model_definition(
self,
input: Option<DetectorModelDefinition>
) -> Self
pub fn set_detector_model_definition( self, input: Option<DetectorModelDefinition> ) -> Self
Information that defines how a detector operates.
sourcepub fn get_detector_model_definition(&self) -> &Option<DetectorModelDefinition>
pub fn get_detector_model_definition(&self) -> &Option<DetectorModelDefinition>
Information that defines how a detector operates.
sourcepub fn detector_model_configuration(
self,
input: DetectorModelConfiguration
) -> Self
pub fn detector_model_configuration( self, input: DetectorModelConfiguration ) -> Self
Information about how the detector is configured.
sourcepub fn set_detector_model_configuration(
self,
input: Option<DetectorModelConfiguration>
) -> Self
pub fn set_detector_model_configuration( self, input: Option<DetectorModelConfiguration> ) -> Self
Information about how the detector is configured.
sourcepub fn get_detector_model_configuration(
&self
) -> &Option<DetectorModelConfiguration>
pub fn get_detector_model_configuration( &self ) -> &Option<DetectorModelConfiguration>
Information about how the detector is configured.
sourcepub fn build(self) -> DetectorModel
pub fn build(self) -> DetectorModel
Consumes the builder and constructs a DetectorModel
.
Trait Implementations§
source§impl Clone for DetectorModelBuilder
impl Clone for DetectorModelBuilder
source§fn clone(&self) -> DetectorModelBuilder
fn clone(&self) -> DetectorModelBuilder
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 Debug for DetectorModelBuilder
impl Debug for DetectorModelBuilder
source§impl Default for DetectorModelBuilder
impl Default for DetectorModelBuilder
source§fn default() -> DetectorModelBuilder
fn default() -> DetectorModelBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DetectorModelBuilder
impl PartialEq for DetectorModelBuilder
source§fn eq(&self, other: &DetectorModelBuilder) -> bool
fn eq(&self, other: &DetectorModelBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DetectorModelBuilder
Auto Trait Implementations§
impl Freeze for DetectorModelBuilder
impl RefUnwindSafe for DetectorModelBuilder
impl Send for DetectorModelBuilder
impl Sync for DetectorModelBuilder
impl Unpin for DetectorModelBuilder
impl UnwindSafe for DetectorModelBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.