#[non_exhaustive]pub struct DeleteThingInputBuilder { /* private fields */ }
Expand description
A builder for DeleteThingInput
.
Implementations§
source§impl DeleteThingInputBuilder
impl DeleteThingInputBuilder
sourcepub fn thing_name(self, input: impl Into<String>) -> Self
pub fn thing_name(self, input: impl Into<String>) -> Self
The name of the thing to delete.
This field is required.sourcepub fn set_thing_name(self, input: Option<String>) -> Self
pub fn set_thing_name(self, input: Option<String>) -> Self
The name of the thing to delete.
sourcepub fn get_thing_name(&self) -> &Option<String>
pub fn get_thing_name(&self) -> &Option<String>
The name of the thing to delete.
sourcepub fn expected_version(self, input: i64) -> Self
pub fn expected_version(self, input: i64) -> Self
The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the DeleteThing
request is rejected with a VersionConflictException
.
sourcepub fn set_expected_version(self, input: Option<i64>) -> Self
pub fn set_expected_version(self, input: Option<i64>) -> Self
The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the DeleteThing
request is rejected with a VersionConflictException
.
sourcepub fn get_expected_version(&self) -> &Option<i64>
pub fn get_expected_version(&self) -> &Option<i64>
The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the DeleteThing
request is rejected with a VersionConflictException
.
sourcepub fn build(self) -> Result<DeleteThingInput, BuildError>
pub fn build(self) -> Result<DeleteThingInput, BuildError>
Consumes the builder and constructs a DeleteThingInput
.
source§impl DeleteThingInputBuilder
impl DeleteThingInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DeleteThingOutput, SdkError<DeleteThingError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DeleteThingOutput, SdkError<DeleteThingError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteThingInputBuilder
impl Clone for DeleteThingInputBuilder
source§fn clone(&self) -> DeleteThingInputBuilder
fn clone(&self) -> DeleteThingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteThingInputBuilder
impl Debug for DeleteThingInputBuilder
source§impl Default for DeleteThingInputBuilder
impl Default for DeleteThingInputBuilder
source§fn default() -> DeleteThingInputBuilder
fn default() -> DeleteThingInputBuilder
source§impl PartialEq for DeleteThingInputBuilder
impl PartialEq for DeleteThingInputBuilder
impl StructuralPartialEq for DeleteThingInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteThingInputBuilder
impl RefUnwindSafe for DeleteThingInputBuilder
impl Send for DeleteThingInputBuilder
impl Sync for DeleteThingInputBuilder
impl Unpin for DeleteThingInputBuilder
impl UnwindSafe for DeleteThingInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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