#[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.
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.
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.
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 ==
.