Struct aws_sdk_iot::operation::list_v2_logging_levels::builders::ListV2LoggingLevelsInputBuilder
source · #[non_exhaustive]pub struct ListV2LoggingLevelsInputBuilder { /* private fields */ }
Expand description
A builder for ListV2LoggingLevelsInput
.
Implementations§
source§impl ListV2LoggingLevelsInputBuilder
impl ListV2LoggingLevelsInputBuilder
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 next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
To retrieve the next set of results, the nextToken
value from a previous response; otherwise null to receive the first set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
To retrieve the next set of results, the nextToken
value from a previous response; otherwise null to receive the first set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
To retrieve the next set of results, the nextToken
value from a previous response; otherwise null to receive the first set of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return at one time.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return at one time.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return at one time.
sourcepub fn build(self) -> Result<ListV2LoggingLevelsInput, BuildError>
pub fn build(self) -> Result<ListV2LoggingLevelsInput, BuildError>
Consumes the builder and constructs a ListV2LoggingLevelsInput
.
source§impl ListV2LoggingLevelsInputBuilder
impl ListV2LoggingLevelsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListV2LoggingLevelsOutput, SdkError<ListV2LoggingLevelsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListV2LoggingLevelsOutput, SdkError<ListV2LoggingLevelsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListV2LoggingLevelsInputBuilder
impl Clone for ListV2LoggingLevelsInputBuilder
source§fn clone(&self) -> ListV2LoggingLevelsInputBuilder
fn clone(&self) -> ListV2LoggingLevelsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListV2LoggingLevelsInputBuilder
impl Default for ListV2LoggingLevelsInputBuilder
source§fn default() -> ListV2LoggingLevelsInputBuilder
fn default() -> ListV2LoggingLevelsInputBuilder
source§impl PartialEq for ListV2LoggingLevelsInputBuilder
impl PartialEq for ListV2LoggingLevelsInputBuilder
source§fn eq(&self, other: &ListV2LoggingLevelsInputBuilder) -> bool
fn eq(&self, other: &ListV2LoggingLevelsInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ListV2LoggingLevelsInputBuilder
Auto Trait Implementations§
impl Freeze for ListV2LoggingLevelsInputBuilder
impl RefUnwindSafe for ListV2LoggingLevelsInputBuilder
impl Send for ListV2LoggingLevelsInputBuilder
impl Sync for ListV2LoggingLevelsInputBuilder
impl Unpin for ListV2LoggingLevelsInputBuilder
impl UnwindSafe for ListV2LoggingLevelsInputBuilder
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