Struct aws_sdk_opensearchserverless::operation::batch_get_collection::builders::BatchGetCollectionFluentBuilder
source · pub struct BatchGetCollectionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchGetCollection
.
Returns attributes for one or more collections, including the collection endpoint and the OpenSearch Dashboards endpoint. For more information, see Creating and managing Amazon OpenSearch Serverless collections.
Implementations§
source§impl BatchGetCollectionFluentBuilder
impl BatchGetCollectionFluentBuilder
sourcepub fn as_input(&self) -> &BatchGetCollectionInputBuilder
pub fn as_input(&self) -> &BatchGetCollectionInputBuilder
Access the BatchGetCollection as a reference.
sourcepub async fn send(
self
) -> Result<BatchGetCollectionOutput, SdkError<BatchGetCollectionError, HttpResponse>>
pub async fn send( self ) -> Result<BatchGetCollectionOutput, SdkError<BatchGetCollectionError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<BatchGetCollectionOutput, BatchGetCollectionError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchGetCollectionOutput, BatchGetCollectionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for BatchGetCollectionFluentBuilder
impl Clone for BatchGetCollectionFluentBuilder
source§fn clone(&self) -> BatchGetCollectionFluentBuilder
fn clone(&self) -> BatchGetCollectionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more