Struct aws_sdk_iot::operation::set_v2_logging_level::builders::SetV2LoggingLevelInputBuilder
source · #[non_exhaustive]pub struct SetV2LoggingLevelInputBuilder { /* private fields */ }
Expand description
A builder for SetV2LoggingLevelInput
.
Implementations§
source§impl SetV2LoggingLevelInputBuilder
impl SetV2LoggingLevelInputBuilder
sourcepub fn log_target(self, input: LogTarget) -> Self
pub fn log_target(self, input: LogTarget) -> Self
The log target.
This field is required.sourcepub fn set_log_target(self, input: Option<LogTarget>) -> Self
pub fn set_log_target(self, input: Option<LogTarget>) -> Self
The log target.
sourcepub fn get_log_target(&self) -> &Option<LogTarget>
pub fn get_log_target(&self) -> &Option<LogTarget>
The log target.
sourcepub fn set_log_level(self, input: Option<LogLevel>) -> Self
pub fn set_log_level(self, input: Option<LogLevel>) -> Self
The log level.
sourcepub fn get_log_level(&self) -> &Option<LogLevel>
pub fn get_log_level(&self) -> &Option<LogLevel>
The log level.
sourcepub fn build(self) -> Result<SetV2LoggingLevelInput, BuildError>
pub fn build(self) -> Result<SetV2LoggingLevelInput, BuildError>
Consumes the builder and constructs a SetV2LoggingLevelInput
.
source§impl SetV2LoggingLevelInputBuilder
impl SetV2LoggingLevelInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SetV2LoggingLevelOutput, SdkError<SetV2LoggingLevelError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SetV2LoggingLevelOutput, SdkError<SetV2LoggingLevelError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SetV2LoggingLevelInputBuilder
impl Clone for SetV2LoggingLevelInputBuilder
source§fn clone(&self) -> SetV2LoggingLevelInputBuilder
fn clone(&self) -> SetV2LoggingLevelInputBuilder
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 SetV2LoggingLevelInputBuilder
impl Default for SetV2LoggingLevelInputBuilder
source§fn default() -> SetV2LoggingLevelInputBuilder
fn default() -> SetV2LoggingLevelInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SetV2LoggingLevelInputBuilder
impl PartialEq for SetV2LoggingLevelInputBuilder
source§fn eq(&self, other: &SetV2LoggingLevelInputBuilder) -> bool
fn eq(&self, other: &SetV2LoggingLevelInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SetV2LoggingLevelInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SetV2LoggingLevelInputBuilder
impl Send for SetV2LoggingLevelInputBuilder
impl Sync for SetV2LoggingLevelInputBuilder
impl Unpin for SetV2LoggingLevelInputBuilder
impl UnwindSafe for SetV2LoggingLevelInputBuilder
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>
Creates a shared type from an unshared type.