Struct aws_sdk_opensearchserverless::operation::batch_get_lifecycle_policy::builders::BatchGetLifecyclePolicyOutputBuilder
source · #[non_exhaustive]pub struct BatchGetLifecyclePolicyOutputBuilder { /* private fields */ }Expand description
A builder for BatchGetLifecyclePolicyOutput.
Implementations§
source§impl BatchGetLifecyclePolicyOutputBuilder
impl BatchGetLifecyclePolicyOutputBuilder
sourcepub fn lifecycle_policy_details(self, input: LifecyclePolicyDetail) -> Self
pub fn lifecycle_policy_details(self, input: LifecyclePolicyDetail) -> Self
Appends an item to lifecycle_policy_details.
To override the contents of this collection use set_lifecycle_policy_details.
A list of lifecycle policies matched to the input policy name and policy type.
sourcepub fn set_lifecycle_policy_details(
self,
input: Option<Vec<LifecyclePolicyDetail>>
) -> Self
pub fn set_lifecycle_policy_details( self, input: Option<Vec<LifecyclePolicyDetail>> ) -> Self
A list of lifecycle policies matched to the input policy name and policy type.
sourcepub fn get_lifecycle_policy_details(
&self
) -> &Option<Vec<LifecyclePolicyDetail>>
pub fn get_lifecycle_policy_details( &self ) -> &Option<Vec<LifecyclePolicyDetail>>
A list of lifecycle policies matched to the input policy name and policy type.
sourcepub fn lifecycle_policy_error_details(
self,
input: LifecyclePolicyErrorDetail
) -> Self
pub fn lifecycle_policy_error_details( self, input: LifecyclePolicyErrorDetail ) -> Self
Appends an item to lifecycle_policy_error_details.
To override the contents of this collection use set_lifecycle_policy_error_details.
A list of lifecycle policy names and policy types for which retrieval failed.
sourcepub fn set_lifecycle_policy_error_details(
self,
input: Option<Vec<LifecyclePolicyErrorDetail>>
) -> Self
pub fn set_lifecycle_policy_error_details( self, input: Option<Vec<LifecyclePolicyErrorDetail>> ) -> Self
A list of lifecycle policy names and policy types for which retrieval failed.
sourcepub fn get_lifecycle_policy_error_details(
&self
) -> &Option<Vec<LifecyclePolicyErrorDetail>>
pub fn get_lifecycle_policy_error_details( &self ) -> &Option<Vec<LifecyclePolicyErrorDetail>>
A list of lifecycle policy names and policy types for which retrieval failed.
sourcepub fn build(self) -> BatchGetLifecyclePolicyOutput
pub fn build(self) -> BatchGetLifecyclePolicyOutput
Consumes the builder and constructs a BatchGetLifecyclePolicyOutput.
Trait Implementations§
source§impl Clone for BatchGetLifecyclePolicyOutputBuilder
impl Clone for BatchGetLifecyclePolicyOutputBuilder
source§fn clone(&self) -> BatchGetLifecyclePolicyOutputBuilder
fn clone(&self) -> BatchGetLifecyclePolicyOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchGetLifecyclePolicyOutputBuilder
impl Default for BatchGetLifecyclePolicyOutputBuilder
source§fn default() -> BatchGetLifecyclePolicyOutputBuilder
fn default() -> BatchGetLifecyclePolicyOutputBuilder
source§impl PartialEq for BatchGetLifecyclePolicyOutputBuilder
impl PartialEq for BatchGetLifecyclePolicyOutputBuilder
source§fn eq(&self, other: &BatchGetLifecyclePolicyOutputBuilder) -> bool
fn eq(&self, other: &BatchGetLifecyclePolicyOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchGetLifecyclePolicyOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchGetLifecyclePolicyOutputBuilder
impl RefUnwindSafe for BatchGetLifecyclePolicyOutputBuilder
impl Send for BatchGetLifecyclePolicyOutputBuilder
impl Sync for BatchGetLifecyclePolicyOutputBuilder
impl Unpin for BatchGetLifecyclePolicyOutputBuilder
impl UnwindSafe for BatchGetLifecyclePolicyOutputBuilder
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
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>
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>
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 more