#[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 ==
.impl StructuralPartialEq for SystemsManagerAgentBuilder
Auto Trait Implementations§
impl Freeze for SystemsManagerAgentBuilder
impl RefUnwindSafe for SystemsManagerAgentBuilder
impl Send for SystemsManagerAgentBuilder
impl Sync for SystemsManagerAgentBuilder
impl Unpin for SystemsManagerAgentBuilder
impl UnwindSafe for SystemsManagerAgentBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more