#[non_exhaustive]pub struct ListScansInputBuilder { /* private fields */ }
Expand description
A builder for ListScansInput
.
Implementations§
source§impl ListScansInputBuilder
impl ListScansInputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken
value returned from the previous request to continue listing results after the first page.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken
value returned from the previous request to continue listing results after the first page.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken
value returned from the previous request to continue listing results after the first page.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken
element is returned in the response. Use nextToken
in a subsequent request to retrieve additional results. If not specified, returns 100 results.
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 in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken
element is returned in the response. Use nextToken
in a subsequent request to retrieve additional results. If not specified, returns 100 results.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken
element is returned in the response. Use nextToken
in a subsequent request to retrieve additional results. If not specified, returns 100 results.
sourcepub fn build(self) -> Result<ListScansInput, BuildError>
pub fn build(self) -> Result<ListScansInput, BuildError>
Consumes the builder and constructs a ListScansInput
.
source§impl ListScansInputBuilder
impl ListScansInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListScansOutput, SdkError<ListScansError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListScansOutput, SdkError<ListScansError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListScansInputBuilder
impl Clone for ListScansInputBuilder
source§fn clone(&self) -> ListScansInputBuilder
fn clone(&self) -> ListScansInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListScansInputBuilder
impl Debug for ListScansInputBuilder
source§impl Default for ListScansInputBuilder
impl Default for ListScansInputBuilder
source§fn default() -> ListScansInputBuilder
fn default() -> ListScansInputBuilder
source§impl PartialEq for ListScansInputBuilder
impl PartialEq for ListScansInputBuilder
source§fn eq(&self, other: &ListScansInputBuilder) -> bool
fn eq(&self, other: &ListScansInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListScansInputBuilder
Auto Trait Implementations§
impl Freeze for ListScansInputBuilder
impl RefUnwindSafe for ListScansInputBuilder
impl Send for ListScansInputBuilder
impl Sync for ListScansInputBuilder
impl Unpin for ListScansInputBuilder
impl UnwindSafe for ListScansInputBuilder
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