Struct aws_sdk_iot::operation::delete_v2_logging_level::builders::DeleteV2LoggingLevelInputBuilder
source · #[non_exhaustive]pub struct DeleteV2LoggingLevelInputBuilder { /* private fields */ }
Expand description
A builder for DeleteV2LoggingLevelInput
.
Implementations§
source§impl DeleteV2LoggingLevelInputBuilder
impl DeleteV2LoggingLevelInputBuilder
sourcepub fn target_type(self, input: LogTargetType) -> Self
pub fn target_type(self, input: LogTargetType) -> Self
The type of resource for which you are configuring logging. Must be THING_Group
.
sourcepub fn set_target_type(self, input: Option<LogTargetType>) -> Self
pub fn set_target_type(self, input: Option<LogTargetType>) -> Self
The type of resource for which you are configuring logging. Must be THING_Group
.
sourcepub fn get_target_type(&self) -> &Option<LogTargetType>
pub fn get_target_type(&self) -> &Option<LogTargetType>
The type of resource for which you are configuring logging. Must be THING_Group
.
sourcepub fn target_name(self, input: impl Into<String>) -> Self
pub fn target_name(self, input: impl Into<String>) -> Self
The name of the resource for which you are configuring logging.
This field is required.sourcepub fn set_target_name(self, input: Option<String>) -> Self
pub fn set_target_name(self, input: Option<String>) -> Self
The name of the resource for which you are configuring logging.
sourcepub fn get_target_name(&self) -> &Option<String>
pub fn get_target_name(&self) -> &Option<String>
The name of the resource for which you are configuring logging.
sourcepub fn build(self) -> Result<DeleteV2LoggingLevelInput, BuildError>
pub fn build(self) -> Result<DeleteV2LoggingLevelInput, BuildError>
Consumes the builder and constructs a DeleteV2LoggingLevelInput
.
source§impl DeleteV2LoggingLevelInputBuilder
impl DeleteV2LoggingLevelInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteV2LoggingLevelOutput, SdkError<DeleteV2LoggingLevelError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteV2LoggingLevelOutput, SdkError<DeleteV2LoggingLevelError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteV2LoggingLevelInputBuilder
impl Clone for DeleteV2LoggingLevelInputBuilder
source§fn clone(&self) -> DeleteV2LoggingLevelInputBuilder
fn clone(&self) -> DeleteV2LoggingLevelInputBuilder
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 Default for DeleteV2LoggingLevelInputBuilder
impl Default for DeleteV2LoggingLevelInputBuilder
source§fn default() -> DeleteV2LoggingLevelInputBuilder
fn default() -> DeleteV2LoggingLevelInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteV2LoggingLevelInputBuilder
impl PartialEq for DeleteV2LoggingLevelInputBuilder
source§fn eq(&self, other: &DeleteV2LoggingLevelInputBuilder) -> bool
fn eq(&self, other: &DeleteV2LoggingLevelInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteV2LoggingLevelInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteV2LoggingLevelInputBuilder
impl RefUnwindSafe for DeleteV2LoggingLevelInputBuilder
impl Send for DeleteV2LoggingLevelInputBuilder
impl Sync for DeleteV2LoggingLevelInputBuilder
impl Unpin for DeleteV2LoggingLevelInputBuilder
impl UnwindSafe for DeleteV2LoggingLevelInputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.