Struct aws_sdk_iotevents::operation::update_detector_model::builders::UpdateDetectorModelInputBuilder
source · #[non_exhaustive]pub struct UpdateDetectorModelInputBuilder { /* private fields */ }
Expand description
A builder for UpdateDetectorModelInput
.
Implementations§
source§impl UpdateDetectorModelInputBuilder
impl UpdateDetectorModelInputBuilder
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 that is updated.
This field is required.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 that is updated.
sourcepub fn get_detector_model_name(&self) -> &Option<String>
pub fn get_detector_model_name(&self) -> &Option<String>
The name of the detector model that is updated.
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.
This field is required.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_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 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.
This field is required.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 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) -> Result<UpdateDetectorModelInput, BuildError>
pub fn build(self) -> Result<UpdateDetectorModelInput, BuildError>
Consumes the builder and constructs a UpdateDetectorModelInput
.
source§impl UpdateDetectorModelInputBuilder
impl UpdateDetectorModelInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateDetectorModelOutput, SdkError<UpdateDetectorModelError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateDetectorModelOutput, SdkError<UpdateDetectorModelError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateDetectorModelInputBuilder
impl Clone for UpdateDetectorModelInputBuilder
source§fn clone(&self) -> UpdateDetectorModelInputBuilder
fn clone(&self) -> UpdateDetectorModelInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateDetectorModelInputBuilder
impl Default for UpdateDetectorModelInputBuilder
source§fn default() -> UpdateDetectorModelInputBuilder
fn default() -> UpdateDetectorModelInputBuilder
source§impl PartialEq for UpdateDetectorModelInputBuilder
impl PartialEq for UpdateDetectorModelInputBuilder
source§fn eq(&self, other: &UpdateDetectorModelInputBuilder) -> bool
fn eq(&self, other: &UpdateDetectorModelInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateDetectorModelInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateDetectorModelInputBuilder
impl RefUnwindSafe for UpdateDetectorModelInputBuilder
impl Send for UpdateDetectorModelInputBuilder
impl Sync for UpdateDetectorModelInputBuilder
impl Unpin for UpdateDetectorModelInputBuilder
impl UnwindSafe for UpdateDetectorModelInputBuilder
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