Struct aws_sdk_opensearchserverless::operation::batch_get_lifecycle_policy::builders::BatchGetLifecyclePolicyFluentBuilder
source · pub struct BatchGetLifecyclePolicyFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchGetLifecyclePolicy
.
Returns one or more configured OpenSearch Serverless lifecycle policies. For more information, see Viewing data lifecycle policies.
Implementations§
source§impl BatchGetLifecyclePolicyFluentBuilder
impl BatchGetLifecyclePolicyFluentBuilder
sourcepub fn as_input(&self) -> &BatchGetLifecyclePolicyInputBuilder
pub fn as_input(&self) -> &BatchGetLifecyclePolicyInputBuilder
Access the BatchGetLifecyclePolicy as a reference.
sourcepub async fn send(
self
) -> Result<BatchGetLifecyclePolicyOutput, SdkError<BatchGetLifecyclePolicyError, HttpResponse>>
pub async fn send( self ) -> Result<BatchGetLifecyclePolicyOutput, SdkError<BatchGetLifecyclePolicyError, 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<BatchGetLifecyclePolicyOutput, BatchGetLifecyclePolicyError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchGetLifecyclePolicyOutput, BatchGetLifecyclePolicyError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn identifiers(self, input: LifecyclePolicyIdentifier) -> Self
pub fn identifiers(self, input: LifecyclePolicyIdentifier) -> Self
Appends an item to identifiers
.
To override the contents of this collection use set_identifiers
.
The unique identifiers of policy types and policy names.
sourcepub fn set_identifiers(
self,
input: Option<Vec<LifecyclePolicyIdentifier>>
) -> Self
pub fn set_identifiers( self, input: Option<Vec<LifecyclePolicyIdentifier>> ) -> Self
The unique identifiers of policy types and policy names.
sourcepub fn get_identifiers(&self) -> &Option<Vec<LifecyclePolicyIdentifier>>
pub fn get_identifiers(&self) -> &Option<Vec<LifecyclePolicyIdentifier>>
The unique identifiers of policy types and policy names.
Trait Implementations§
source§impl Clone for BatchGetLifecyclePolicyFluentBuilder
impl Clone for BatchGetLifecyclePolicyFluentBuilder
source§fn clone(&self) -> BatchGetLifecyclePolicyFluentBuilder
fn clone(&self) -> BatchGetLifecyclePolicyFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more