#[non_exhaustive]pub struct ListLocationsOutputBuilder { /* private fields */ }
Expand description
A builder for ListLocationsOutput
.
Implementations§
source§impl ListLocationsOutputBuilder
impl ListLocationsOutputBuilder
sourcepub fn locations(self, input: LocationListEntry) -> Self
pub fn locations(self, input: LocationListEntry) -> Self
Appends an item to locations
.
To override the contents of this collection use set_locations
.
An array that contains a list of locations.
sourcepub fn set_locations(self, input: Option<Vec<LocationListEntry>>) -> Self
pub fn set_locations(self, input: Option<Vec<LocationListEntry>>) -> Self
An array that contains a list of locations.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An opaque string that indicates the position at which to begin returning the next list of locations.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An opaque string that indicates the position at which to begin returning the next list of locations.
sourcepub fn build(self) -> ListLocationsOutput
pub fn build(self) -> ListLocationsOutput
Consumes the builder and constructs a ListLocationsOutput
.
Trait Implementations§
source§impl Clone for ListLocationsOutputBuilder
impl Clone for ListLocationsOutputBuilder
source§fn clone(&self) -> ListLocationsOutputBuilder
fn clone(&self) -> ListLocationsOutputBuilder
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 Debug for ListLocationsOutputBuilder
impl Debug for ListLocationsOutputBuilder
source§impl Default for ListLocationsOutputBuilder
impl Default for ListLocationsOutputBuilder
source§fn default() -> ListLocationsOutputBuilder
fn default() -> ListLocationsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ListLocationsOutputBuilder> for ListLocationsOutputBuilder
impl PartialEq<ListLocationsOutputBuilder> for ListLocationsOutputBuilder
source§fn eq(&self, other: &ListLocationsOutputBuilder) -> bool
fn eq(&self, other: &ListLocationsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.