#[non_exhaustive]pub struct UpdateDetectorModelInput {
pub detector_model_name: Option<String>,
pub detector_model_definition: Option<DetectorModelDefinition>,
pub detector_model_description: Option<String>,
pub role_arn: Option<String>,
pub evaluation_method: Option<EvaluationMethod>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.detector_model_name: Option<String>
The name of the detector model that is updated.
detector_model_definition: Option<DetectorModelDefinition>
Information that defines how a detector operates.
detector_model_description: Option<String>
A brief description of the detector model.
role_arn: Option<String>
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
evaluation_method: Option<EvaluationMethod>
Information about the order in which events are evaluated and how actions are executed.
Implementations§
source§impl UpdateDetectorModelInput
impl UpdateDetectorModelInput
sourcepub fn detector_model_name(&self) -> Option<&str>
pub fn detector_model_name(&self) -> Option<&str>
The name of the detector model that is updated.
sourcepub fn detector_model_definition(&self) -> Option<&DetectorModelDefinition>
pub fn detector_model_definition(&self) -> Option<&DetectorModelDefinition>
Information that defines how a detector operates.
sourcepub fn detector_model_description(&self) -> Option<&str>
pub fn detector_model_description(&self) -> Option<&str>
A brief description of the detector model.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
sourcepub fn evaluation_method(&self) -> Option<&EvaluationMethod>
pub fn evaluation_method(&self) -> Option<&EvaluationMethod>
Information about the order in which events are evaluated and how actions are executed.
source§impl UpdateDetectorModelInput
impl UpdateDetectorModelInput
sourcepub fn builder() -> UpdateDetectorModelInputBuilder
pub fn builder() -> UpdateDetectorModelInputBuilder
Creates a new builder-style object to manufacture UpdateDetectorModelInput
.
Trait Implementations§
source§impl Clone for UpdateDetectorModelInput
impl Clone for UpdateDetectorModelInput
source§fn clone(&self) -> UpdateDetectorModelInput
fn clone(&self) -> UpdateDetectorModelInput
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 UpdateDetectorModelInput
impl Debug for UpdateDetectorModelInput
source§impl PartialEq for UpdateDetectorModelInput
impl PartialEq for UpdateDetectorModelInput
source§fn eq(&self, other: &UpdateDetectorModelInput) -> bool
fn eq(&self, other: &UpdateDetectorModelInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateDetectorModelInput
Auto Trait Implementations§
impl Freeze for UpdateDetectorModelInput
impl RefUnwindSafe for UpdateDetectorModelInput
impl Send for UpdateDetectorModelInput
impl Sync for UpdateDetectorModelInput
impl Unpin for UpdateDetectorModelInput
impl UnwindSafe for UpdateDetectorModelInput
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.