#[non_exhaustive]pub struct PutDetectorInputBuilder { /* private fields */ }
Expand description
A builder for PutDetectorInput
.
Implementations§
source§impl PutDetectorInputBuilder
impl PutDetectorInputBuilder
sourcepub fn detector_id(self, input: impl Into<String>) -> Self
pub fn detector_id(self, input: impl Into<String>) -> Self
The detector ID.
This field is required.sourcepub fn set_detector_id(self, input: Option<String>) -> Self
pub fn set_detector_id(self, input: Option<String>) -> Self
The detector ID.
sourcepub fn get_detector_id(&self) -> &Option<String>
pub fn get_detector_id(&self) -> &Option<String>
The detector ID.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the detector.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the detector.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the detector.
sourcepub fn event_type_name(self, input: impl Into<String>) -> Self
pub fn event_type_name(self, input: impl Into<String>) -> Self
The name of the event type.
This field is required.sourcepub fn set_event_type_name(self, input: Option<String>) -> Self
pub fn set_event_type_name(self, input: Option<String>) -> Self
The name of the event type.
sourcepub fn get_event_type_name(&self) -> &Option<String>
pub fn get_event_type_name(&self) -> &Option<String>
The name of the event type.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A collection of key and value pairs.
A collection of key and value pairs.
A collection of key and value pairs.
sourcepub fn build(self) -> Result<PutDetectorInput, BuildError>
pub fn build(self) -> Result<PutDetectorInput, BuildError>
Consumes the builder and constructs a PutDetectorInput
.
source§impl PutDetectorInputBuilder
impl PutDetectorInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutDetectorOutput, SdkError<PutDetectorError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutDetectorOutput, SdkError<PutDetectorError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutDetectorInputBuilder
impl Clone for PutDetectorInputBuilder
source§fn clone(&self) -> PutDetectorInputBuilder
fn clone(&self) -> PutDetectorInputBuilder
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 PutDetectorInputBuilder
impl Debug for PutDetectorInputBuilder
source§impl Default for PutDetectorInputBuilder
impl Default for PutDetectorInputBuilder
source§fn default() -> PutDetectorInputBuilder
fn default() -> PutDetectorInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PutDetectorInputBuilder
impl PartialEq for PutDetectorInputBuilder
source§fn eq(&self, other: &PutDetectorInputBuilder) -> bool
fn eq(&self, other: &PutDetectorInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutDetectorInputBuilder
Auto Trait Implementations§
impl Freeze for PutDetectorInputBuilder
impl RefUnwindSafe for PutDetectorInputBuilder
impl Send for PutDetectorInputBuilder
impl Sync for PutDetectorInputBuilder
impl Unpin for PutDetectorInputBuilder
impl UnwindSafe for PutDetectorInputBuilder
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>
Creates a shared type from an unshared type.