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) Specifies whether the Systems Manager agent is removed from your final build image before Image Builder creates the new AMI.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
uninstallAfterBuild
Specifies whether the Systems Manager agent is removed from your final build image before Image Builder creates the new AMI. If
true, the agent is removed. Iffalse, the agent is kept, so that it's included in the AMI. If you don't set this property, Image Builder removes the agent only if Image Builder installed the agent during the build. An agent that was pre-installed on the base image is kept.- Parameters:
uninstallAfterBuild- Specifies whether the Systems Manager agent is removed from your final build image before Image Builder creates the new AMI. Iftrue, the agent is removed. Iffalse, the agent is kept, so that it's included in the AMI. If you don't set this property, Image Builder removes the agent only if Image Builder installed the agent during the build. An agent that was pre-installed on the base image is kept.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-