#[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 get_locations(&self) -> &Option<Vec<LocationListEntry>>
pub fn get_locations(&self) -> &Option<Vec<LocationListEntry>>
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 get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
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 for ListLocationsOutputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for ListLocationsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ListLocationsOutputBuilder
impl Send for ListLocationsOutputBuilder
impl Sync for ListLocationsOutputBuilder
impl Unpin for ListLocationsOutputBuilder
impl UnwindSafe for ListLocationsOutputBuilder
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
Mutably borrows from an owned value. Read more