Struct aws_sdk_iot::operation::set_v2_logging_options::builders::SetV2LoggingOptionsInputBuilder
source · #[non_exhaustive]pub struct SetV2LoggingOptionsInputBuilder { /* private fields */ }
Expand description
A builder for SetV2LoggingOptionsInput
.
Implementations§
source§impl SetV2LoggingOptionsInputBuilder
impl SetV2LoggingOptionsInputBuilder
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the role that allows IoT to write to Cloudwatch logs.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the role that allows IoT to write to Cloudwatch logs.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of the role that allows IoT to write to Cloudwatch logs.
sourcepub fn default_log_level(self, input: LogLevel) -> Self
pub fn default_log_level(self, input: LogLevel) -> Self
The default logging level.
sourcepub fn set_default_log_level(self, input: Option<LogLevel>) -> Self
pub fn set_default_log_level(self, input: Option<LogLevel>) -> Self
The default logging level.
sourcepub fn get_default_log_level(&self) -> &Option<LogLevel>
pub fn get_default_log_level(&self) -> &Option<LogLevel>
The default logging level.
sourcepub fn disable_all_logs(self, input: bool) -> Self
pub fn disable_all_logs(self, input: bool) -> Self
If true all logs are disabled. The default is false.
sourcepub fn set_disable_all_logs(self, input: Option<bool>) -> Self
pub fn set_disable_all_logs(self, input: Option<bool>) -> Self
If true all logs are disabled. The default is false.
sourcepub fn get_disable_all_logs(&self) -> &Option<bool>
pub fn get_disable_all_logs(&self) -> &Option<bool>
If true all logs are disabled. The default is false.
sourcepub fn build(self) -> Result<SetV2LoggingOptionsInput, BuildError>
pub fn build(self) -> Result<SetV2LoggingOptionsInput, BuildError>
Consumes the builder and constructs a SetV2LoggingOptionsInput
.
source§impl SetV2LoggingOptionsInputBuilder
impl SetV2LoggingOptionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SetV2LoggingOptionsOutput, SdkError<SetV2LoggingOptionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SetV2LoggingOptionsOutput, SdkError<SetV2LoggingOptionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SetV2LoggingOptionsInputBuilder
impl Clone for SetV2LoggingOptionsInputBuilder
source§fn clone(&self) -> SetV2LoggingOptionsInputBuilder
fn clone(&self) -> SetV2LoggingOptionsInputBuilder
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 SetV2LoggingOptionsInputBuilder
impl Default for SetV2LoggingOptionsInputBuilder
source§fn default() -> SetV2LoggingOptionsInputBuilder
fn default() -> SetV2LoggingOptionsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SetV2LoggingOptionsInputBuilder
impl PartialEq for SetV2LoggingOptionsInputBuilder
source§fn eq(&self, other: &SetV2LoggingOptionsInputBuilder) -> bool
fn eq(&self, other: &SetV2LoggingOptionsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SetV2LoggingOptionsInputBuilder
Auto Trait Implementations§
impl Freeze for SetV2LoggingOptionsInputBuilder
impl RefUnwindSafe for SetV2LoggingOptionsInputBuilder
impl Send for SetV2LoggingOptionsInputBuilder
impl Sync for SetV2LoggingOptionsInputBuilder
impl Unpin for SetV2LoggingOptionsInputBuilder
impl UnwindSafe for SetV2LoggingOptionsInputBuilder
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.