Struct aws_sdk_opensearchserverless::operation::list_collections::builders::ListCollectionsOutputBuilder
source · #[non_exhaustive]pub struct ListCollectionsOutputBuilder { /* private fields */ }
Expand description
A builder for ListCollectionsOutput
.
Implementations§
source§impl ListCollectionsOutputBuilder
impl ListCollectionsOutputBuilder
sourcepub fn collection_summaries(self, input: CollectionSummary) -> Self
pub fn collection_summaries(self, input: CollectionSummary) -> Self
Appends an item to collection_summaries
.
To override the contents of this collection use set_collection_summaries
.
Details about each collection.
sourcepub fn set_collection_summaries(
self,
input: Option<Vec<CollectionSummary>>
) -> Self
pub fn set_collection_summaries( self, input: Option<Vec<CollectionSummary>> ) -> Self
Details about each collection.
sourcepub fn get_collection_summaries(&self) -> &Option<Vec<CollectionSummary>>
pub fn get_collection_summaries(&self) -> &Option<Vec<CollectionSummary>>
Details about each collection.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When nextToken
is returned, there are more results available. The value of nextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
sourcepub fn build(self) -> ListCollectionsOutput
pub fn build(self) -> ListCollectionsOutput
Consumes the builder and constructs a ListCollectionsOutput
.
Trait Implementations§
source§impl Clone for ListCollectionsOutputBuilder
impl Clone for ListCollectionsOutputBuilder
source§fn clone(&self) -> ListCollectionsOutputBuilder
fn clone(&self) -> ListCollectionsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListCollectionsOutputBuilder
impl Debug for ListCollectionsOutputBuilder
source§impl Default for ListCollectionsOutputBuilder
impl Default for ListCollectionsOutputBuilder
source§fn default() -> ListCollectionsOutputBuilder
fn default() -> ListCollectionsOutputBuilder
source§impl PartialEq for ListCollectionsOutputBuilder
impl PartialEq for ListCollectionsOutputBuilder
source§fn eq(&self, other: &ListCollectionsOutputBuilder) -> bool
fn eq(&self, other: &ListCollectionsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.