Struct aws_sdk_opensearchserverless::operation::batch_get_collection::builders::BatchGetCollectionOutputBuilder
source · #[non_exhaustive]pub struct BatchGetCollectionOutputBuilder { /* private fields */ }
Expand description
A builder for BatchGetCollectionOutput
.
Implementations§
source§impl BatchGetCollectionOutputBuilder
impl BatchGetCollectionOutputBuilder
sourcepub fn collection_details(self, input: CollectionDetail) -> Self
pub fn collection_details(self, input: CollectionDetail) -> Self
Appends an item to collection_details
.
To override the contents of this collection use set_collection_details
.
Details about each collection.
sourcepub fn set_collection_details(
self,
input: Option<Vec<CollectionDetail>>
) -> Self
pub fn set_collection_details( self, input: Option<Vec<CollectionDetail>> ) -> Self
Details about each collection.
sourcepub fn get_collection_details(&self) -> &Option<Vec<CollectionDetail>>
pub fn get_collection_details(&self) -> &Option<Vec<CollectionDetail>>
Details about each collection.
sourcepub fn collection_error_details(self, input: CollectionErrorDetail) -> Self
pub fn collection_error_details(self, input: CollectionErrorDetail) -> Self
Appends an item to collection_error_details
.
To override the contents of this collection use set_collection_error_details
.
Error information for the request.
sourcepub fn set_collection_error_details(
self,
input: Option<Vec<CollectionErrorDetail>>
) -> Self
pub fn set_collection_error_details( self, input: Option<Vec<CollectionErrorDetail>> ) -> Self
Error information for the request.
sourcepub fn get_collection_error_details(
&self
) -> &Option<Vec<CollectionErrorDetail>>
pub fn get_collection_error_details( &self ) -> &Option<Vec<CollectionErrorDetail>>
Error information for the request.
sourcepub fn build(self) -> BatchGetCollectionOutput
pub fn build(self) -> BatchGetCollectionOutput
Consumes the builder and constructs a BatchGetCollectionOutput
.
Trait Implementations§
source§impl Clone for BatchGetCollectionOutputBuilder
impl Clone for BatchGetCollectionOutputBuilder
source§fn clone(&self) -> BatchGetCollectionOutputBuilder
fn clone(&self) -> BatchGetCollectionOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for BatchGetCollectionOutputBuilder
impl Default for BatchGetCollectionOutputBuilder
source§fn default() -> BatchGetCollectionOutputBuilder
fn default() -> BatchGetCollectionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchGetCollectionOutputBuilder
impl PartialEq for BatchGetCollectionOutputBuilder
source§fn eq(&self, other: &BatchGetCollectionOutputBuilder) -> bool
fn eq(&self, other: &BatchGetCollectionOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchGetCollectionOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchGetCollectionOutputBuilder
impl RefUnwindSafe for BatchGetCollectionOutputBuilder
impl Send for BatchGetCollectionOutputBuilder
impl Sync for BatchGetCollectionOutputBuilder
impl Unpin for BatchGetCollectionOutputBuilder
impl UnwindSafe for BatchGetCollectionOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.