#[non_exhaustive]pub struct LifecyclePolicySummaryBuilder { /* private fields */ }Expand description
A builder for LifecyclePolicySummary.
Implementations§
source§impl LifecyclePolicySummaryBuilder
impl LifecyclePolicySummaryBuilder
sourcepub fn type(self, input: LifecyclePolicyType) -> Self
pub fn type(self, input: LifecyclePolicyType) -> Self
The type of lifecycle policy.
sourcepub fn set_type(self, input: Option<LifecyclePolicyType>) -> Self
pub fn set_type(self, input: Option<LifecyclePolicyType>) -> Self
The type of lifecycle policy.
sourcepub fn get_type(&self) -> &Option<LifecyclePolicyType>
pub fn get_type(&self) -> &Option<LifecyclePolicyType>
The type of lifecycle policy.
sourcepub fn policy_version(self, input: impl Into<String>) -> Self
pub fn policy_version(self, input: impl Into<String>) -> Self
The version of the lifecycle policy.
sourcepub fn set_policy_version(self, input: Option<String>) -> Self
pub fn set_policy_version(self, input: Option<String>) -> Self
The version of the lifecycle policy.
sourcepub fn get_policy_version(&self) -> &Option<String>
pub fn get_policy_version(&self) -> &Option<String>
The version of the lifecycle policy.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the lifecycle policy.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the lifecycle policy.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the lifecycle policy.
sourcepub fn created_date(self, input: i64) -> Self
pub fn created_date(self, input: i64) -> Self
The Epoch time when the lifecycle policy was created.
sourcepub fn set_created_date(self, input: Option<i64>) -> Self
pub fn set_created_date(self, input: Option<i64>) -> Self
The Epoch time when the lifecycle policy was created.
sourcepub fn get_created_date(&self) -> &Option<i64>
pub fn get_created_date(&self) -> &Option<i64>
The Epoch time when the lifecycle policy was created.
sourcepub fn last_modified_date(self, input: i64) -> Self
pub fn last_modified_date(self, input: i64) -> Self
The date and time when the lifecycle policy was last modified.
sourcepub fn set_last_modified_date(self, input: Option<i64>) -> Self
pub fn set_last_modified_date(self, input: Option<i64>) -> Self
The date and time when the lifecycle policy was last modified.
sourcepub fn get_last_modified_date(&self) -> &Option<i64>
pub fn get_last_modified_date(&self) -> &Option<i64>
The date and time when the lifecycle policy was last modified.
sourcepub fn build(self) -> LifecyclePolicySummary
pub fn build(self) -> LifecyclePolicySummary
Consumes the builder and constructs a LifecyclePolicySummary.
Trait Implementations§
source§impl Clone for LifecyclePolicySummaryBuilder
impl Clone for LifecyclePolicySummaryBuilder
source§fn clone(&self) -> LifecyclePolicySummaryBuilder
fn clone(&self) -> LifecyclePolicySummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for LifecyclePolicySummaryBuilder
impl Default for LifecyclePolicySummaryBuilder
source§fn default() -> LifecyclePolicySummaryBuilder
fn default() -> LifecyclePolicySummaryBuilder
source§impl PartialEq for LifecyclePolicySummaryBuilder
impl PartialEq for LifecyclePolicySummaryBuilder
source§fn eq(&self, other: &LifecyclePolicySummaryBuilder) -> bool
fn eq(&self, other: &LifecyclePolicySummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LifecyclePolicySummaryBuilder
Auto Trait Implementations§
impl Freeze for LifecyclePolicySummaryBuilder
impl RefUnwindSafe for LifecyclePolicySummaryBuilder
impl Send for LifecyclePolicySummaryBuilder
impl Sync for LifecyclePolicySummaryBuilder
impl Unpin for LifecyclePolicySummaryBuilder
impl UnwindSafe for LifecyclePolicySummaryBuilder
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