#[non_exhaustive]pub struct SystemsManagerAgentBuilder { /* private fields */ }
Expand description
A builder for SystemsManagerAgent
.
Implementations§
source§impl SystemsManagerAgentBuilder
impl SystemsManagerAgentBuilder
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 get_uninstall_after_build(&self) -> &Option<bool>
pub fn get_uninstall_after_build(&self) -> &Option<bool>
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§
source§impl Clone for SystemsManagerAgentBuilder
impl Clone for SystemsManagerAgentBuilder
source§fn clone(&self) -> SystemsManagerAgentBuilder
fn clone(&self) -> SystemsManagerAgentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SystemsManagerAgentBuilder
impl Debug for SystemsManagerAgentBuilder
source§impl Default for SystemsManagerAgentBuilder
impl Default for SystemsManagerAgentBuilder
source§fn default() -> SystemsManagerAgentBuilder
fn default() -> SystemsManagerAgentBuilder
source§impl PartialEq for SystemsManagerAgentBuilder
impl PartialEq for SystemsManagerAgentBuilder
source§fn eq(&self, other: &SystemsManagerAgentBuilder) -> bool
fn eq(&self, other: &SystemsManagerAgentBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.