Struct aws_sdk_imagebuilder::model::systems_manager_agent::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for SystemsManagerAgent
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn uninstall_after_build(self, input: bool) -> Self
pub fn uninstall_after_build(self, input: bool) -> Self
Controls whether the Systems Manager agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. The default value is false.
sourcepub fn set_uninstall_after_build(self, input: Option<bool>) -> Self
pub fn set_uninstall_after_build(self, input: Option<bool>) -> Self
Controls whether the Systems Manager agent is removed from your final build image, prior to creating the new AMI. If this is set to true, then the agent is removed from the final image. If it's set to false, then the agent is left in, so that it is included in the new AMI. The default value is false.
sourcepub fn build(self) -> SystemsManagerAgent
pub fn build(self) -> SystemsManagerAgent
Consumes the builder and constructs a SystemsManagerAgent
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more