Struct aws_sdk_datasync::output::list_locations_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ListLocationsOutput
.
Implementations§
source§impl Builder
impl Builder
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
.