Struct aws_sdk_iot::operation::put_verification_state_on_violation::builders::PutVerificationStateOnViolationFluentBuilder
source · pub struct PutVerificationStateOnViolationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutVerificationStateOnViolation
.
Set a verification state and provide a description of that verification state on a violation (detect alarm).
Implementations§
source§impl PutVerificationStateOnViolationFluentBuilder
impl PutVerificationStateOnViolationFluentBuilder
sourcepub fn as_input(&self) -> &PutVerificationStateOnViolationInputBuilder
pub fn as_input(&self) -> &PutVerificationStateOnViolationInputBuilder
Access the PutVerificationStateOnViolation as a reference.
sourcepub async fn send(
self
) -> Result<PutVerificationStateOnViolationOutput, SdkError<PutVerificationStateOnViolationError, HttpResponse>>
pub async fn send( self ) -> Result<PutVerificationStateOnViolationOutput, SdkError<PutVerificationStateOnViolationError, 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<PutVerificationStateOnViolationOutput, PutVerificationStateOnViolationError, Self>
pub fn customize( self ) -> CustomizableOperation<PutVerificationStateOnViolationOutput, PutVerificationStateOnViolationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn violation_id(self, input: impl Into<String>) -> Self
pub fn violation_id(self, input: impl Into<String>) -> Self
The violation ID.
sourcepub fn set_violation_id(self, input: Option<String>) -> Self
pub fn set_violation_id(self, input: Option<String>) -> Self
The violation ID.
sourcepub fn get_violation_id(&self) -> &Option<String>
pub fn get_violation_id(&self) -> &Option<String>
The violation ID.
sourcepub fn verification_state(self, input: VerificationState) -> Self
pub fn verification_state(self, input: VerificationState) -> Self
The verification state of the violation.
sourcepub fn set_verification_state(self, input: Option<VerificationState>) -> Self
pub fn set_verification_state(self, input: Option<VerificationState>) -> Self
The verification state of the violation.
sourcepub fn get_verification_state(&self) -> &Option<VerificationState>
pub fn get_verification_state(&self) -> &Option<VerificationState>
The verification state of the violation.
sourcepub fn verification_state_description(self, input: impl Into<String>) -> Self
pub fn verification_state_description(self, input: impl Into<String>) -> Self
The description of the verification state of the violation (detect alarm).
sourcepub fn set_verification_state_description(self, input: Option<String>) -> Self
pub fn set_verification_state_description(self, input: Option<String>) -> Self
The description of the verification state of the violation (detect alarm).
sourcepub fn get_verification_state_description(&self) -> &Option<String>
pub fn get_verification_state_description(&self) -> &Option<String>
The description of the verification state of the violation (detect alarm).
Trait Implementations§
source§impl Clone for PutVerificationStateOnViolationFluentBuilder
impl Clone for PutVerificationStateOnViolationFluentBuilder
source§fn clone(&self) -> PutVerificationStateOnViolationFluentBuilder
fn clone(&self) -> PutVerificationStateOnViolationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for PutVerificationStateOnViolationFluentBuilder
impl !RefUnwindSafe for PutVerificationStateOnViolationFluentBuilder
impl Send for PutVerificationStateOnViolationFluentBuilder
impl Sync for PutVerificationStateOnViolationFluentBuilder
impl Unpin for PutVerificationStateOnViolationFluentBuilder
impl !UnwindSafe for PutVerificationStateOnViolationFluentBuilder
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