Struct aws_sdk_iotevents::operation::describe_detector_model::builders::DescribeDetectorModelInputBuilder
source · #[non_exhaustive]pub struct DescribeDetectorModelInputBuilder { /* private fields */ }
Expand description
A builder for DescribeDetectorModelInput
.
Implementations§
source§impl DescribeDetectorModelInputBuilder
impl DescribeDetectorModelInputBuilder
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.
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.
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 build(self) -> Result<DescribeDetectorModelInput, BuildError>
pub fn build(self) -> Result<DescribeDetectorModelInput, BuildError>
Consumes the builder and constructs a DescribeDetectorModelInput
.
source§impl DescribeDetectorModelInputBuilder
impl DescribeDetectorModelInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeDetectorModelOutput, SdkError<DescribeDetectorModelError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeDetectorModelOutput, SdkError<DescribeDetectorModelError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeDetectorModelInputBuilder
impl Clone for DescribeDetectorModelInputBuilder
source§fn clone(&self) -> DescribeDetectorModelInputBuilder
fn clone(&self) -> DescribeDetectorModelInputBuilder
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 DescribeDetectorModelInputBuilder
impl Default for DescribeDetectorModelInputBuilder
source§fn default() -> DescribeDetectorModelInputBuilder
fn default() -> DescribeDetectorModelInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeDetectorModelInputBuilder
impl PartialEq for DescribeDetectorModelInputBuilder
source§fn eq(&self, other: &DescribeDetectorModelInputBuilder) -> bool
fn eq(&self, other: &DescribeDetectorModelInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeDetectorModelInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeDetectorModelInputBuilder
impl RefUnwindSafe for DescribeDetectorModelInputBuilder
impl Send for DescribeDetectorModelInputBuilder
impl Sync for DescribeDetectorModelInputBuilder
impl Unpin for DescribeDetectorModelInputBuilder
impl UnwindSafe for DescribeDetectorModelInputBuilder
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.