#[non_exhaustive]pub struct ApplicationVersionLifecycleConfigBuilder { /* private fields */ }
Expand description
A builder for ApplicationVersionLifecycleConfig
.
Implementations§
source§impl ApplicationVersionLifecycleConfigBuilder
impl ApplicationVersionLifecycleConfigBuilder
sourcepub fn max_count_rule(self, input: MaxCountRule) -> Self
pub fn max_count_rule(self, input: MaxCountRule) -> Self
Specify a max count rule to restrict the number of application versions that are retained for an application.
sourcepub fn set_max_count_rule(self, input: Option<MaxCountRule>) -> Self
pub fn set_max_count_rule(self, input: Option<MaxCountRule>) -> Self
Specify a max count rule to restrict the number of application versions that are retained for an application.
sourcepub fn get_max_count_rule(&self) -> &Option<MaxCountRule>
pub fn get_max_count_rule(&self) -> &Option<MaxCountRule>
Specify a max count rule to restrict the number of application versions that are retained for an application.
sourcepub fn max_age_rule(self, input: MaxAgeRule) -> Self
pub fn max_age_rule(self, input: MaxAgeRule) -> Self
Specify a max age rule to restrict the length of time that application versions are retained for an application.
sourcepub fn set_max_age_rule(self, input: Option<MaxAgeRule>) -> Self
pub fn set_max_age_rule(self, input: Option<MaxAgeRule>) -> Self
Specify a max age rule to restrict the length of time that application versions are retained for an application.
sourcepub fn get_max_age_rule(&self) -> &Option<MaxAgeRule>
pub fn get_max_age_rule(&self) -> &Option<MaxAgeRule>
Specify a max age rule to restrict the length of time that application versions are retained for an application.
sourcepub fn build(self) -> ApplicationVersionLifecycleConfig
pub fn build(self) -> ApplicationVersionLifecycleConfig
Consumes the builder and constructs a ApplicationVersionLifecycleConfig
.
Trait Implementations§
source§impl Clone for ApplicationVersionLifecycleConfigBuilder
impl Clone for ApplicationVersionLifecycleConfigBuilder
source§fn clone(&self) -> ApplicationVersionLifecycleConfigBuilder
fn clone(&self) -> ApplicationVersionLifecycleConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ApplicationVersionLifecycleConfigBuilder
impl Default for ApplicationVersionLifecycleConfigBuilder
source§fn default() -> ApplicationVersionLifecycleConfigBuilder
fn default() -> ApplicationVersionLifecycleConfigBuilder
source§impl PartialEq for ApplicationVersionLifecycleConfigBuilder
impl PartialEq for ApplicationVersionLifecycleConfigBuilder
source§fn eq(&self, other: &ApplicationVersionLifecycleConfigBuilder) -> bool
fn eq(&self, other: &ApplicationVersionLifecycleConfigBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ApplicationVersionLifecycleConfigBuilder
Auto Trait Implementations§
impl Freeze for ApplicationVersionLifecycleConfigBuilder
impl RefUnwindSafe for ApplicationVersionLifecycleConfigBuilder
impl Send for ApplicationVersionLifecycleConfigBuilder
impl Sync for ApplicationVersionLifecycleConfigBuilder
impl Unpin for ApplicationVersionLifecycleConfigBuilder
impl UnwindSafe for ApplicationVersionLifecycleConfigBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
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