Struct aws_sdk_iotwireless::operation::reset_resource_log_level::builders::ResetResourceLogLevelInputBuilder
source · #[non_exhaustive]pub struct ResetResourceLogLevelInputBuilder { /* private fields */ }
Expand description
A builder for ResetResourceLogLevelInput
.
Implementations§
source§impl ResetResourceLogLevelInputBuilder
impl ResetResourceLogLevelInputBuilder
sourcepub fn resource_identifier(self, input: impl Into<String>) -> Self
pub fn resource_identifier(self, input: impl Into<String>) -> Self
The identifier of the resource. For a Wireless Device, it is the wireless device ID. For a wireless gateway, it is the wireless gateway ID.
This field is required.sourcepub fn set_resource_identifier(self, input: Option<String>) -> Self
pub fn set_resource_identifier(self, input: Option<String>) -> Self
The identifier of the resource. For a Wireless Device, it is the wireless device ID. For a wireless gateway, it is the wireless gateway ID.
sourcepub fn get_resource_identifier(&self) -> &Option<String>
pub fn get_resource_identifier(&self) -> &Option<String>
The identifier of the resource. For a Wireless Device, it is the wireless device ID. For a wireless gateway, it is the wireless gateway ID.
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
The type of the resource, which can be WirelessDevice
or WirelessGateway
.
sourcepub fn set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
The type of the resource, which can be WirelessDevice
or WirelessGateway
.
sourcepub fn get_resource_type(&self) -> &Option<String>
pub fn get_resource_type(&self) -> &Option<String>
The type of the resource, which can be WirelessDevice
or WirelessGateway
.
sourcepub fn build(self) -> Result<ResetResourceLogLevelInput, BuildError>
pub fn build(self) -> Result<ResetResourceLogLevelInput, BuildError>
Consumes the builder and constructs a ResetResourceLogLevelInput
.
source§impl ResetResourceLogLevelInputBuilder
impl ResetResourceLogLevelInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ResetResourceLogLevelOutput, SdkError<ResetResourceLogLevelError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ResetResourceLogLevelOutput, SdkError<ResetResourceLogLevelError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ResetResourceLogLevelInputBuilder
impl Clone for ResetResourceLogLevelInputBuilder
source§fn clone(&self) -> ResetResourceLogLevelInputBuilder
fn clone(&self) -> ResetResourceLogLevelInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ResetResourceLogLevelInputBuilder
impl Default for ResetResourceLogLevelInputBuilder
source§fn default() -> ResetResourceLogLevelInputBuilder
fn default() -> ResetResourceLogLevelInputBuilder
source§impl PartialEq for ResetResourceLogLevelInputBuilder
impl PartialEq for ResetResourceLogLevelInputBuilder
source§fn eq(&self, other: &ResetResourceLogLevelInputBuilder) -> bool
fn eq(&self, other: &ResetResourceLogLevelInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResetResourceLogLevelInputBuilder
Auto Trait Implementations§
impl Freeze for ResetResourceLogLevelInputBuilder
impl RefUnwindSafe for ResetResourceLogLevelInputBuilder
impl Send for ResetResourceLogLevelInputBuilder
impl Sync for ResetResourceLogLevelInputBuilder
impl Unpin for ResetResourceLogLevelInputBuilder
impl UnwindSafe for ResetResourceLogLevelInputBuilder
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