Struct aws_sdk_opensearchserverless::operation::batch_get_lifecycle_policy::builders::BatchGetLifecyclePolicyInputBuilder
source · #[non_exhaustive]pub struct BatchGetLifecyclePolicyInputBuilder { /* private fields */ }
Expand description
A builder for BatchGetLifecyclePolicyInput
.
Implementations§
source§impl BatchGetLifecyclePolicyInputBuilder
impl BatchGetLifecyclePolicyInputBuilder
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.
sourcepub fn build(self) -> Result<BatchGetLifecyclePolicyInput, BuildError>
pub fn build(self) -> Result<BatchGetLifecyclePolicyInput, BuildError>
Consumes the builder and constructs a BatchGetLifecyclePolicyInput
.
source§impl BatchGetLifecyclePolicyInputBuilder
impl BatchGetLifecyclePolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<BatchGetLifecyclePolicyOutput, SdkError<BatchGetLifecyclePolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<BatchGetLifecyclePolicyOutput, SdkError<BatchGetLifecyclePolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchGetLifecyclePolicyInputBuilder
impl Clone for BatchGetLifecyclePolicyInputBuilder
source§fn clone(&self) -> BatchGetLifecyclePolicyInputBuilder
fn clone(&self) -> BatchGetLifecyclePolicyInputBuilder
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 BatchGetLifecyclePolicyInputBuilder
impl Default for BatchGetLifecyclePolicyInputBuilder
source§fn default() -> BatchGetLifecyclePolicyInputBuilder
fn default() -> BatchGetLifecyclePolicyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchGetLifecyclePolicyInputBuilder
impl PartialEq for BatchGetLifecyclePolicyInputBuilder
source§fn eq(&self, other: &BatchGetLifecyclePolicyInputBuilder) -> bool
fn eq(&self, other: &BatchGetLifecyclePolicyInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchGetLifecyclePolicyInputBuilder
Auto Trait Implementations§
impl Freeze for BatchGetLifecyclePolicyInputBuilder
impl RefUnwindSafe for BatchGetLifecyclePolicyInputBuilder
impl Send for BatchGetLifecyclePolicyInputBuilder
impl Sync for BatchGetLifecyclePolicyInputBuilder
impl Unpin for BatchGetLifecyclePolicyInputBuilder
impl UnwindSafe for BatchGetLifecyclePolicyInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.