Struct aws_sdk_opensearchserverless::operation::update_collection::builders::UpdateCollectionInputBuilder
source · #[non_exhaustive]pub struct UpdateCollectionInputBuilder { /* private fields */ }
Expand description
A builder for UpdateCollectionInput
.
Implementations§
source§impl UpdateCollectionInputBuilder
impl UpdateCollectionInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique identifier of the collection.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the collection.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the collection.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the collection.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier to ensure idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier to ensure idempotency of the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Unique, case-sensitive identifier to ensure idempotency of the request.
sourcepub fn build(self) -> Result<UpdateCollectionInput, BuildError>
pub fn build(self) -> Result<UpdateCollectionInput, BuildError>
Consumes the builder and constructs a UpdateCollectionInput
.
source§impl UpdateCollectionInputBuilder
impl UpdateCollectionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateCollectionOutput, SdkError<UpdateCollectionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateCollectionOutput, SdkError<UpdateCollectionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateCollectionInputBuilder
impl Clone for UpdateCollectionInputBuilder
source§fn clone(&self) -> UpdateCollectionInputBuilder
fn clone(&self) -> UpdateCollectionInputBuilder
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 Debug for UpdateCollectionInputBuilder
impl Debug for UpdateCollectionInputBuilder
source§impl Default for UpdateCollectionInputBuilder
impl Default for UpdateCollectionInputBuilder
source§fn default() -> UpdateCollectionInputBuilder
fn default() -> UpdateCollectionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateCollectionInputBuilder
impl PartialEq for UpdateCollectionInputBuilder
source§fn eq(&self, other: &UpdateCollectionInputBuilder) -> bool
fn eq(&self, other: &UpdateCollectionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateCollectionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateCollectionInputBuilder
impl RefUnwindSafe for UpdateCollectionInputBuilder
impl Send for UpdateCollectionInputBuilder
impl Sync for UpdateCollectionInputBuilder
impl Unpin for UpdateCollectionInputBuilder
impl UnwindSafe for UpdateCollectionInputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.