@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SystemsManagerAgent extends Object implements Serializable, Cloneable, StructuredPojo
Contains settings for the SSM agent on your build instance.
Constructor and Description |
---|
SystemsManagerAgent() |
Modifier and Type | Method and Description |
---|---|
SystemsManagerAgent |
clone() |
boolean |
equals(Object obj) |
Boolean |
getUninstallAfterBuild()
This property defaults to true.
|
int |
hashCode() |
Boolean |
isUninstallAfterBuild()
This property defaults to true.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setUninstallAfterBuild(Boolean uninstallAfterBuild)
This property defaults to true.
|
String |
toString()
Returns a string representation of this object.
|
SystemsManagerAgent |
withUninstallAfterBuild(Boolean uninstallAfterBuild)
This property defaults to true.
|
public void setUninstallAfterBuild(Boolean uninstallAfterBuild)
This property defaults to true. If Image Builder installs the SSM agent on a build instance, it removes the agent before creating a snapshot for the AMI. To ensure that the AMI you create includes the SSM agent, set this property to false.
uninstallAfterBuild
- This property defaults to true. If Image Builder installs the SSM agent on a build instance, it removes
the agent before creating a snapshot for the AMI. To ensure that the AMI you create includes the SSM
agent, set this property to false.public Boolean getUninstallAfterBuild()
This property defaults to true. If Image Builder installs the SSM agent on a build instance, it removes the agent before creating a snapshot for the AMI. To ensure that the AMI you create includes the SSM agent, set this property to false.
public SystemsManagerAgent withUninstallAfterBuild(Boolean uninstallAfterBuild)
This property defaults to true. If Image Builder installs the SSM agent on a build instance, it removes the agent before creating a snapshot for the AMI. To ensure that the AMI you create includes the SSM agent, set this property to false.
uninstallAfterBuild
- This property defaults to true. If Image Builder installs the SSM agent on a build instance, it removes
the agent before creating a snapshot for the AMI. To ensure that the AMI you create includes the SSM
agent, set this property to false.public Boolean isUninstallAfterBuild()
This property defaults to true. If Image Builder installs the SSM agent on a build instance, it removes the agent before creating a snapshot for the AMI. To ensure that the AMI you create includes the SSM agent, set this property to false.
public String toString()
toString
in class Object
Object.toString()
public SystemsManagerAgent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.