Interface SystemsManagerAgent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SystemsManagerAgent.Builder,
,SystemsManagerAgent> SdkBuilder<SystemsManagerAgent.Builder,
,SystemsManagerAgent> SdkPojo
- Enclosing class:
SystemsManagerAgent
@Mutable
@NotThreadSafe
public static interface SystemsManagerAgent.Builder
extends SdkPojo, CopyableBuilder<SystemsManagerAgent.Builder,SystemsManagerAgent>
-
Method Summary
Modifier and TypeMethodDescriptionuninstallAfterBuild
(Boolean uninstallAfterBuild) Controls whether the Systems Manager agent is removed from your final build image, prior to creating the new AMI.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
uninstallAfterBuild
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. default value is false.
The default behavior of uninstallAfterBuild is to remove the SSM Agent if it was installed by EC2 Image Builder
- Parameters:
uninstallAfterBuild
- 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. default value is false.The default behavior of uninstallAfterBuild is to remove the SSM Agent if it was installed by EC2 Image Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-