Struct aws_sdk_elasticbeanstalk::types::builders::MaxAgeRuleBuilder
source · #[non_exhaustive]pub struct MaxAgeRuleBuilder { /* private fields */ }Expand description
A builder for MaxAgeRule.
Implementations§
source§impl MaxAgeRuleBuilder
impl MaxAgeRuleBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Specify true to apply the rule, or false to disable it.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Specify true to apply the rule, or false to disable it.
sourcepub fn max_age_in_days(self, input: i32) -> Self
pub fn max_age_in_days(self, input: i32) -> Self
Specify the number of days to retain an application versions.
sourcepub fn set_max_age_in_days(self, input: Option<i32>) -> Self
pub fn set_max_age_in_days(self, input: Option<i32>) -> Self
Specify the number of days to retain an application versions.
sourcepub fn delete_source_from_s3(self, input: bool) -> Self
pub fn delete_source_from_s3(self, input: bool) -> Self
Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
sourcepub fn set_delete_source_from_s3(self, input: Option<bool>) -> Self
pub fn set_delete_source_from_s3(self, input: Option<bool>) -> Self
Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
sourcepub fn build(self) -> MaxAgeRule
pub fn build(self) -> MaxAgeRule
Consumes the builder and constructs a MaxAgeRule.
Trait Implementations§
source§impl Clone for MaxAgeRuleBuilder
impl Clone for MaxAgeRuleBuilder
source§fn clone(&self) -> MaxAgeRuleBuilder
fn clone(&self) -> MaxAgeRuleBuilder
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 MaxAgeRuleBuilder
impl Debug for MaxAgeRuleBuilder
source§impl Default for MaxAgeRuleBuilder
impl Default for MaxAgeRuleBuilder
source§fn default() -> MaxAgeRuleBuilder
fn default() -> MaxAgeRuleBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<MaxAgeRuleBuilder> for MaxAgeRuleBuilder
impl PartialEq<MaxAgeRuleBuilder> for MaxAgeRuleBuilder
source§fn eq(&self, other: &MaxAgeRuleBuilder) -> bool
fn eq(&self, other: &MaxAgeRuleBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MaxAgeRuleBuilder
Auto Trait Implementations§
impl RefUnwindSafe for MaxAgeRuleBuilder
impl Send for MaxAgeRuleBuilder
impl Sync for MaxAgeRuleBuilder
impl Unpin for MaxAgeRuleBuilder
impl UnwindSafe for MaxAgeRuleBuilder
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
Mutably borrows from an owned value. Read more