Struct aws_sdk_opensearchserverless::operation::update_collection::builders::UpdateCollectionFluentBuilder
source · pub struct UpdateCollectionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateCollection
.
Updates an OpenSearch Serverless collection.
Implementations§
source§impl UpdateCollectionFluentBuilder
impl UpdateCollectionFluentBuilder
sourcepub fn as_input(&self) -> &UpdateCollectionInputBuilder
pub fn as_input(&self) -> &UpdateCollectionInputBuilder
Access the UpdateCollection as a reference.
sourcepub async fn send(
self
) -> Result<UpdateCollectionOutput, SdkError<UpdateCollectionError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateCollectionOutput, SdkError<UpdateCollectionError, 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 async fn customize(
self
) -> Result<CustomizableOperation<UpdateCollectionOutput, UpdateCollectionError>, SdkError<UpdateCollectionError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateCollectionOutput, UpdateCollectionError>, SdkError<UpdateCollectionError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for UpdateCollectionFluentBuilder
impl Clone for UpdateCollectionFluentBuilder
source§fn clone(&self) -> UpdateCollectionFluentBuilder
fn clone(&self) -> UpdateCollectionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more