pub struct PutDetectorFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutDetector
.
Creates or updates a detector.
Implementations§
source§impl PutDetectorFluentBuilder
impl PutDetectorFluentBuilder
sourcepub fn as_input(&self) -> &PutDetectorInputBuilder
pub fn as_input(&self) -> &PutDetectorInputBuilder
Access the PutDetector as a reference.
sourcepub async fn send(
self
) -> Result<PutDetectorOutput, SdkError<PutDetectorError, HttpResponse>>
pub async fn send( self ) -> Result<PutDetectorOutput, SdkError<PutDetectorError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<PutDetectorOutput, PutDetectorError, Self>
pub fn customize( self ) -> CustomizableOperation<PutDetectorOutput, PutDetectorError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn detector_id(self, input: impl Into<String>) -> Self
pub fn detector_id(self, input: impl Into<String>) -> Self
The detector ID.
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.
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.
Trait Implementations§
source§impl Clone for PutDetectorFluentBuilder
impl Clone for PutDetectorFluentBuilder
source§fn clone(&self) -> PutDetectorFluentBuilder
fn clone(&self) -> PutDetectorFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more