Struct aws_sdk_snowball::operation::list_pickup_locations::builders::ListPickupLocationsInputBuilder
source · #[non_exhaustive]pub struct ListPickupLocationsInputBuilder { /* private fields */ }
Expand description
A builder for ListPickupLocationsInput
.
Implementations§
source§impl ListPickupLocationsInputBuilder
impl ListPickupLocationsInputBuilder
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of locations to list per page.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of locations to list per page.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of locations to list per page.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
HTTP requests are stateless. To identify what object comes "next" in the list of ListPickupLocationsRequest
objects, you have the option of specifying NextToken
as the starting point for your returned list.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
HTTP requests are stateless. To identify what object comes "next" in the list of ListPickupLocationsRequest
objects, you have the option of specifying NextToken
as the starting point for your returned list.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
HTTP requests are stateless. To identify what object comes "next" in the list of ListPickupLocationsRequest
objects, you have the option of specifying NextToken
as the starting point for your returned list.
sourcepub fn build(self) -> Result<ListPickupLocationsInput, BuildError>
pub fn build(self) -> Result<ListPickupLocationsInput, BuildError>
Consumes the builder and constructs a ListPickupLocationsInput
.
source§impl ListPickupLocationsInputBuilder
impl ListPickupLocationsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListPickupLocationsOutput, SdkError<ListPickupLocationsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListPickupLocationsOutput, SdkError<ListPickupLocationsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListPickupLocationsInputBuilder
impl Clone for ListPickupLocationsInputBuilder
source§fn clone(&self) -> ListPickupLocationsInputBuilder
fn clone(&self) -> ListPickupLocationsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListPickupLocationsInputBuilder
impl Default for ListPickupLocationsInputBuilder
source§fn default() -> ListPickupLocationsInputBuilder
fn default() -> ListPickupLocationsInputBuilder
source§impl PartialEq for ListPickupLocationsInputBuilder
impl PartialEq for ListPickupLocationsInputBuilder
source§fn eq(&self, other: &ListPickupLocationsInputBuilder) -> bool
fn eq(&self, other: &ListPickupLocationsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.