Struct aws_sdk_elasticbeanstalk::model::MaxAgeRule
source · #[non_exhaustive]pub struct MaxAgeRule { /* private fields */ }
Expand description
A lifecycle rule that deletes application versions after the specified number of days.
Implementations§
source§impl MaxAgeRule
impl MaxAgeRule
sourcepub fn max_age_in_days(&self) -> Option<i32>
pub fn max_age_in_days(&self) -> Option<i32>
Specify the number of days to retain an application versions.
sourcepub fn delete_source_from_s3(&self) -> Option<bool>
pub fn delete_source_from_s3(&self) -> Option<bool>
Set to true
to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
source§impl MaxAgeRule
impl MaxAgeRule
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MaxAgeRule
.
Trait Implementations§
source§impl Clone for MaxAgeRule
impl Clone for MaxAgeRule
source§fn clone(&self) -> MaxAgeRule
fn clone(&self) -> MaxAgeRule
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MaxAgeRule
impl Debug for MaxAgeRule
source§impl PartialEq<MaxAgeRule> for MaxAgeRule
impl PartialEq<MaxAgeRule> for MaxAgeRule
source§fn eq(&self, other: &MaxAgeRule) -> bool
fn eq(&self, other: &MaxAgeRule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.