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 ==
.