Struct aws_sdk_opensearchserverless::operation::batch_get_collection::builders::BatchGetCollectionInputBuilder
source · #[non_exhaustive]pub struct BatchGetCollectionInputBuilder { /* private fields */ }
Expand description
A builder for BatchGetCollectionInput
.
Implementations§
source§impl BatchGetCollectionInputBuilder
impl BatchGetCollectionInputBuilder
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 get_ids(&self) -> &Option<Vec<String>>
pub fn get_ids(&self) -> &Option<Vec<String>>
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 get_names(&self) -> &Option<Vec<String>>
pub fn get_names(&self) -> &Option<Vec<String>>
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
.
source§impl BatchGetCollectionInputBuilder
impl BatchGetCollectionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchGetCollectionOutput, SdkError<BatchGetCollectionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchGetCollectionOutput, SdkError<BatchGetCollectionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchGetCollectionInputBuilder
impl Clone for BatchGetCollectionInputBuilder
source§fn clone(&self) -> BatchGetCollectionInputBuilder
fn clone(&self) -> BatchGetCollectionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BatchGetCollectionInputBuilder
impl Default for BatchGetCollectionInputBuilder
source§fn default() -> BatchGetCollectionInputBuilder
fn default() -> BatchGetCollectionInputBuilder
source§impl PartialEq for BatchGetCollectionInputBuilder
impl PartialEq for BatchGetCollectionInputBuilder
source§fn eq(&self, other: &BatchGetCollectionInputBuilder) -> bool
fn eq(&self, other: &BatchGetCollectionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchGetCollectionInputBuilder
Auto Trait Implementations§
impl Freeze for BatchGetCollectionInputBuilder
impl RefUnwindSafe for BatchGetCollectionInputBuilder
impl Send for BatchGetCollectionInputBuilder
impl Sync for BatchGetCollectionInputBuilder
impl Unpin for BatchGetCollectionInputBuilder
impl UnwindSafe for BatchGetCollectionInputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more