pub struct Builder { /* private fields */ }
Expand description
A builder for BatchGetCollectionInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn ids(self, input: impl Into<String>) -> Self
pub fn ids(self, input: impl Into<String>) -> Self
Appends an item to ids
.
To override the contents of this collection use set_ids
.
A list of collection IDs. You can't provide names and IDs in the same request. The ID is part of the collection endpoint. You can also retrieve it using the ListCollections API.
sourcepub fn set_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_ids(self, input: Option<Vec<String>>) -> Self
A list of collection IDs. You can't provide names and IDs in the same request. The ID is part of the collection endpoint. You can also retrieve it using the ListCollections API.
sourcepub fn names(self, input: impl Into<String>) -> Self
pub fn names(self, input: impl Into<String>) -> Self
Appends an item to names
.
To override the contents of this collection use set_names
.
A list of collection names. You can't provide names and IDs in the same request.
sourcepub fn set_names(self, input: Option<Vec<String>>) -> Self
pub fn set_names(self, input: Option<Vec<String>>) -> Self
A list of collection names. You can't provide names and IDs in the same request.
sourcepub fn build(self) -> Result<BatchGetCollectionInput, BuildError>
pub fn build(self) -> Result<BatchGetCollectionInput, BuildError>
Consumes the builder and constructs a BatchGetCollectionInput
.