#[non_exhaustive]pub struct DetectorModelConfigurationBuilder { /* private fields */ }
Expand description
A builder for DetectorModelConfiguration
.
Implementations§
source§impl DetectorModelConfigurationBuilder
impl DetectorModelConfigurationBuilder
sourcepub fn detector_model_name(self, input: impl Into<String>) -> Self
pub fn detector_model_name(self, input: impl Into<String>) -> Self
The name of the detector model.
sourcepub fn set_detector_model_name(self, input: Option<String>) -> Self
pub fn set_detector_model_name(self, input: Option<String>) -> Self
The name of the detector model.
sourcepub fn get_detector_model_name(&self) -> &Option<String>
pub fn get_detector_model_name(&self) -> &Option<String>
The name of the detector model.
sourcepub fn detector_model_version(self, input: impl Into<String>) -> Self
pub fn detector_model_version(self, input: impl Into<String>) -> Self
The version of the detector model.
sourcepub fn set_detector_model_version(self, input: Option<String>) -> Self
pub fn set_detector_model_version(self, input: Option<String>) -> Self
The version of the detector model.
sourcepub fn get_detector_model_version(&self) -> &Option<String>
pub fn get_detector_model_version(&self) -> &Option<String>
The version of the detector model.
sourcepub fn detector_model_description(self, input: impl Into<String>) -> Self
pub fn detector_model_description(self, input: impl Into<String>) -> Self
A brief description of the detector model.
sourcepub fn set_detector_model_description(self, input: Option<String>) -> Self
pub fn set_detector_model_description(self, input: Option<String>) -> Self
A brief description of the detector model.
sourcepub fn get_detector_model_description(&self) -> &Option<String>
pub fn get_detector_model_description(&self) -> &Option<String>
A brief description of the detector model.
sourcepub fn detector_model_arn(self, input: impl Into<String>) -> Self
pub fn detector_model_arn(self, input: impl Into<String>) -> Self
The ARN of the detector model.
sourcepub fn set_detector_model_arn(self, input: Option<String>) -> Self
pub fn set_detector_model_arn(self, input: Option<String>) -> Self
The ARN of the detector model.
sourcepub fn get_detector_model_arn(&self) -> &Option<String>
pub fn get_detector_model_arn(&self) -> &Option<String>
The ARN of the detector model.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of the role that grants permission to AWS IoT Events to perform its operations.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time the detector model was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time the detector model was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time the detector model was created.
sourcepub fn last_update_time(self, input: DateTime) -> Self
pub fn last_update_time(self, input: DateTime) -> Self
The time the detector model was last updated.
sourcepub fn set_last_update_time(self, input: Option<DateTime>) -> Self
pub fn set_last_update_time(self, input: Option<DateTime>) -> Self
The time the detector model was last updated.
sourcepub fn get_last_update_time(&self) -> &Option<DateTime>
pub fn get_last_update_time(&self) -> &Option<DateTime>
The time the detector model was last updated.
sourcepub fn status(self, input: DetectorModelVersionStatus) -> Self
pub fn status(self, input: DetectorModelVersionStatus) -> Self
The status of the detector model.
sourcepub fn set_status(self, input: Option<DetectorModelVersionStatus>) -> Self
pub fn set_status(self, input: Option<DetectorModelVersionStatus>) -> Self
The status of the detector model.
sourcepub fn get_status(&self) -> &Option<DetectorModelVersionStatus>
pub fn get_status(&self) -> &Option<DetectorModelVersionStatus>
The status of the detector model.
sourcepub fn key(self, input: impl Into<String>) -> Self
pub fn key(self, input: impl Into<String>) -> Self
The value used to identify a detector instance. When a device or system sends input, a new detector instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding detector instance based on this identifying information.
This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct detector instance, the device must send a message payload that contains the same attribute-value.
sourcepub fn set_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
The value used to identify a detector instance. When a device or system sends input, a new detector instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding detector instance based on this identifying information.
This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct detector instance, the device must send a message payload that contains the same attribute-value.
sourcepub fn get_key(&self) -> &Option<String>
pub fn get_key(&self) -> &Option<String>
The value used to identify a detector instance. When a device or system sends input, a new detector instance with a unique key value is created. AWS IoT Events can continue to route input to its corresponding detector instance based on this identifying information.
This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct detector instance, the device must send a message payload that contains the same attribute-value.
sourcepub fn evaluation_method(self, input: EvaluationMethod) -> Self
pub fn evaluation_method(self, input: EvaluationMethod) -> Self
Information about the order in which events are evaluated and how actions are executed.
sourcepub fn set_evaluation_method(self, input: Option<EvaluationMethod>) -> Self
pub fn set_evaluation_method(self, input: Option<EvaluationMethod>) -> Self
Information about the order in which events are evaluated and how actions are executed.
sourcepub fn get_evaluation_method(&self) -> &Option<EvaluationMethod>
pub fn get_evaluation_method(&self) -> &Option<EvaluationMethod>
Information about the order in which events are evaluated and how actions are executed.
sourcepub fn build(self) -> DetectorModelConfiguration
pub fn build(self) -> DetectorModelConfiguration
Consumes the builder and constructs a DetectorModelConfiguration
.
Trait Implementations§
source§impl Clone for DetectorModelConfigurationBuilder
impl Clone for DetectorModelConfigurationBuilder
source§fn clone(&self) -> DetectorModelConfigurationBuilder
fn clone(&self) -> DetectorModelConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DetectorModelConfigurationBuilder
impl Default for DetectorModelConfigurationBuilder
source§fn default() -> DetectorModelConfigurationBuilder
fn default() -> DetectorModelConfigurationBuilder
source§impl PartialEq for DetectorModelConfigurationBuilder
impl PartialEq for DetectorModelConfigurationBuilder
source§fn eq(&self, other: &DetectorModelConfigurationBuilder) -> bool
fn eq(&self, other: &DetectorModelConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DetectorModelConfigurationBuilder
Auto Trait Implementations§
impl Freeze for DetectorModelConfigurationBuilder
impl RefUnwindSafe for DetectorModelConfigurationBuilder
impl Send for DetectorModelConfigurationBuilder
impl Sync for DetectorModelConfigurationBuilder
impl Unpin for DetectorModelConfigurationBuilder
impl UnwindSafe for DetectorModelConfigurationBuilder
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> 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