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 async fn customize(
self
) -> Result<CustomizableOperation<UpdateCollection, AwsResponseRetryClassifier>, SdkError<UpdateCollectionError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateCollection, AwsResponseRetryClassifier>, SdkError<UpdateCollectionError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateCollectionOutput, SdkError<UpdateCollectionError>>
pub async fn send( self ) -> Result<UpdateCollectionOutput, SdkError<UpdateCollectionError>>
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 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 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.
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