#[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<ApplicationVersionLifecycleConfigBuilder> for ApplicationVersionLifecycleConfigBuilder
impl PartialEq<ApplicationVersionLifecycleConfigBuilder> 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 ==
.