@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstancePatchState extends Object implements Serializable, Cloneable, StructuredPojo
Defines the high-level patch compliance state for a managed instance, providing information about the number of installed, missing, not applicable, and failed patches along with metadata about the operation when this information was gathered for the instance.
Constructor and Description |
---|
InstancePatchState() |
Modifier and Type | Method and Description |
---|---|
InstancePatchState |
clone() |
boolean |
equals(Object obj) |
String |
getBaselineId()
The ID of the patch baseline used to patch the instance.
|
Integer |
getFailedCount()
The number of patches from the patch baseline that were attempted to be installed during the last patching
operation, but failed to install.
|
Integer |
getInstalledCount()
The number of patches from the patch baseline that are installed on the instance.
|
Integer |
getInstalledOtherCount()
The number of patches not specified in the patch baseline that are installed on the instance.
|
Integer |
getInstalledPendingRebootCount()
The number of patches installed by Patch Manager since the last time the instance was rebooted.
|
Integer |
getInstalledRejectedCount()
The number of patches installed on an instance that are specified in a
RejectedPatches list. |
String |
getInstallOverrideList()
An https URL or an Amazon S3 path-style URL to a list of patches to be installed.
|
String |
getInstanceId()
The ID of the managed instance the high-level patch compliance information was collected for.
|
Date |
getLastNoRebootInstallOperationTime()
The time of the last attempt to patch the instance with
NoReboot specified as the reboot option. |
Integer |
getMissingCount()
The number of patches from the patch baseline that are applicable for the instance but aren't currently
installed.
|
Integer |
getNotApplicableCount()
The number of patches from the patch baseline that aren't applicable for the instance and therefore aren't
installed on the instance.
|
String |
getOperation()
The type of patching operation that was performed:
SCAN (assess patch compliance state) or
INSTALL (install missing patches). |
Date |
getOperationEndTime()
The time the most recent patching operation completed on the instance.
|
Date |
getOperationStartTime()
The time the most recent patching operation was started on the instance.
|
String |
getOwnerInformation()
Placeholder information.
|
String |
getPatchGroup()
The name of the patch group the managed instance belongs to.
|
String |
getRebootOption()
Indicates the reboot option specified in the patch baseline.
|
String |
getSnapshotId()
The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.
|
Integer |
getUnreportedNotApplicableCount()
The number of patches beyond the supported limit of
NotApplicableCount that are not reported by name
to Systems Manager Inventory. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBaselineId(String baselineId)
The ID of the patch baseline used to patch the instance.
|
void |
setFailedCount(Integer failedCount)
The number of patches from the patch baseline that were attempted to be installed during the last patching
operation, but failed to install.
|
void |
setInstalledCount(Integer installedCount)
The number of patches from the patch baseline that are installed on the instance.
|
void |
setInstalledOtherCount(Integer installedOtherCount)
The number of patches not specified in the patch baseline that are installed on the instance.
|
void |
setInstalledPendingRebootCount(Integer installedPendingRebootCount)
The number of patches installed by Patch Manager since the last time the instance was rebooted.
|
void |
setInstalledRejectedCount(Integer installedRejectedCount)
The number of patches installed on an instance that are specified in a
RejectedPatches list. |
void |
setInstallOverrideList(String installOverrideList)
An https URL or an Amazon S3 path-style URL to a list of patches to be installed.
|
void |
setInstanceId(String instanceId)
The ID of the managed instance the high-level patch compliance information was collected for.
|
void |
setLastNoRebootInstallOperationTime(Date lastNoRebootInstallOperationTime)
The time of the last attempt to patch the instance with
NoReboot specified as the reboot option. |
void |
setMissingCount(Integer missingCount)
The number of patches from the patch baseline that are applicable for the instance but aren't currently
installed.
|
void |
setNotApplicableCount(Integer notApplicableCount)
The number of patches from the patch baseline that aren't applicable for the instance and therefore aren't
installed on the instance.
|
void |
setOperation(PatchOperationType operation)
The type of patching operation that was performed:
SCAN (assess patch compliance state) or
INSTALL (install missing patches). |
void |
setOperation(String operation)
The type of patching operation that was performed:
SCAN (assess patch compliance state) or
INSTALL (install missing patches). |
void |
setOperationEndTime(Date operationEndTime)
The time the most recent patching operation completed on the instance.
|
void |
setOperationStartTime(Date operationStartTime)
The time the most recent patching operation was started on the instance.
|
void |
setOwnerInformation(String ownerInformation)
Placeholder information.
|
void |
setPatchGroup(String patchGroup)
The name of the patch group the managed instance belongs to.
|
void |
setRebootOption(RebootOption rebootOption)
Indicates the reboot option specified in the patch baseline.
|
void |
setRebootOption(String rebootOption)
Indicates the reboot option specified in the patch baseline.
|
void |
setSnapshotId(String snapshotId)
The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.
|
void |
setUnreportedNotApplicableCount(Integer unreportedNotApplicableCount)
The number of patches beyond the supported limit of
NotApplicableCount that are not reported by name
to Systems Manager Inventory. |
String |
toString()
Returns a string representation of this object.
|
InstancePatchState |
withBaselineId(String baselineId)
The ID of the patch baseline used to patch the instance.
|
InstancePatchState |
withFailedCount(Integer failedCount)
The number of patches from the patch baseline that were attempted to be installed during the last patching
operation, but failed to install.
|
InstancePatchState |
withInstalledCount(Integer installedCount)
The number of patches from the patch baseline that are installed on the instance.
|
InstancePatchState |
withInstalledOtherCount(Integer installedOtherCount)
The number of patches not specified in the patch baseline that are installed on the instance.
|
InstancePatchState |
withInstalledPendingRebootCount(Integer installedPendingRebootCount)
The number of patches installed by Patch Manager since the last time the instance was rebooted.
|
InstancePatchState |
withInstalledRejectedCount(Integer installedRejectedCount)
The number of patches installed on an instance that are specified in a
RejectedPatches list. |
InstancePatchState |
withInstallOverrideList(String installOverrideList)
An https URL or an Amazon S3 path-style URL to a list of patches to be installed.
|
InstancePatchState |
withInstanceId(String instanceId)
The ID of the managed instance the high-level patch compliance information was collected for.
|
InstancePatchState |
withLastNoRebootInstallOperationTime(Date lastNoRebootInstallOperationTime)
The time of the last attempt to patch the instance with
NoReboot specified as the reboot option. |
InstancePatchState |
withMissingCount(Integer missingCount)
The number of patches from the patch baseline that are applicable for the instance but aren't currently
installed.
|
InstancePatchState |
withNotApplicableCount(Integer notApplicableCount)
The number of patches from the patch baseline that aren't applicable for the instance and therefore aren't
installed on the instance.
|
InstancePatchState |
withOperation(PatchOperationType operation)
The type of patching operation that was performed:
SCAN (assess patch compliance state) or
INSTALL (install missing patches). |
InstancePatchState |
withOperation(String operation)
The type of patching operation that was performed:
SCAN (assess patch compliance state) or
INSTALL (install missing patches). |
InstancePatchState |
withOperationEndTime(Date operationEndTime)
The time the most recent patching operation completed on the instance.
|
InstancePatchState |
withOperationStartTime(Date operationStartTime)
The time the most recent patching operation was started on the instance.
|
InstancePatchState |
withOwnerInformation(String ownerInformation)
Placeholder information.
|
InstancePatchState |
withPatchGroup(String patchGroup)
The name of the patch group the managed instance belongs to.
|
InstancePatchState |
withRebootOption(RebootOption rebootOption)
Indicates the reboot option specified in the patch baseline.
|
InstancePatchState |
withRebootOption(String rebootOption)
Indicates the reboot option specified in the patch baseline.
|
InstancePatchState |
withSnapshotId(String snapshotId)
The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.
|
InstancePatchState |
withUnreportedNotApplicableCount(Integer unreportedNotApplicableCount)
The number of patches beyond the supported limit of
NotApplicableCount that are not reported by name
to Systems Manager Inventory. |
public void setInstanceId(String instanceId)
The ID of the managed instance the high-level patch compliance information was collected for.
instanceId
- The ID of the managed instance the high-level patch compliance information was collected for.public String getInstanceId()
The ID of the managed instance the high-level patch compliance information was collected for.
public InstancePatchState withInstanceId(String instanceId)
The ID of the managed instance the high-level patch compliance information was collected for.
instanceId
- The ID of the managed instance the high-level patch compliance information was collected for.public void setPatchGroup(String patchGroup)
The name of the patch group the managed instance belongs to.
patchGroup
- The name of the patch group the managed instance belongs to.public String getPatchGroup()
The name of the patch group the managed instance belongs to.
public InstancePatchState withPatchGroup(String patchGroup)
The name of the patch group the managed instance belongs to.
patchGroup
- The name of the patch group the managed instance belongs to.public void setBaselineId(String baselineId)
The ID of the patch baseline used to patch the instance.
baselineId
- The ID of the patch baseline used to patch the instance.public String getBaselineId()
The ID of the patch baseline used to patch the instance.
public InstancePatchState withBaselineId(String baselineId)
The ID of the patch baseline used to patch the instance.
baselineId
- The ID of the patch baseline used to patch the instance.public void setSnapshotId(String snapshotId)
The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.
snapshotId
- The ID of the patch baseline snapshot used during the patching operation when this compliance data was
collected.public String getSnapshotId()
The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.
public InstancePatchState withSnapshotId(String snapshotId)
The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.
snapshotId
- The ID of the patch baseline snapshot used during the patching operation when this compliance data was
collected.public void setInstallOverrideList(String installOverrideList)
An https URL or an Amazon S3 path-style URL to a list of patches to be installed. This patch installation list,
which you maintain in an S3 bucket in YAML format and specify in the SSM document
AWS-RunPatchBaseline
, overrides the patches specified by the default patch baseline.
For more information about the InstallOverrideList
parameter, see About the SSM document AWS-RunPatchBaseline in the AWS Systems Manager User Guide.
installOverrideList
- An https URL or an Amazon S3 path-style URL to a list of patches to be installed. This patch installation
list, which you maintain in an S3 bucket in YAML format and specify in the SSM document
AWS-RunPatchBaseline
, overrides the patches specified by the default patch baseline.
For more information about the InstallOverrideList
parameter, see About the SSM document AWS-RunPatchBaseline in the AWS Systems Manager User Guide.
public String getInstallOverrideList()
An https URL or an Amazon S3 path-style URL to a list of patches to be installed. This patch installation list,
which you maintain in an S3 bucket in YAML format and specify in the SSM document
AWS-RunPatchBaseline
, overrides the patches specified by the default patch baseline.
For more information about the InstallOverrideList
parameter, see About the SSM document AWS-RunPatchBaseline in the AWS Systems Manager User Guide.
AWS-RunPatchBaseline
, overrides the patches specified by the default patch baseline.
For more information about the InstallOverrideList
parameter, see About the SSM document AWS-RunPatchBaseline in the AWS Systems Manager User Guide.
public InstancePatchState withInstallOverrideList(String installOverrideList)
An https URL or an Amazon S3 path-style URL to a list of patches to be installed. This patch installation list,
which you maintain in an S3 bucket in YAML format and specify in the SSM document
AWS-RunPatchBaseline
, overrides the patches specified by the default patch baseline.
For more information about the InstallOverrideList
parameter, see About the SSM document AWS-RunPatchBaseline in the AWS Systems Manager User Guide.
installOverrideList
- An https URL or an Amazon S3 path-style URL to a list of patches to be installed. This patch installation
list, which you maintain in an S3 bucket in YAML format and specify in the SSM document
AWS-RunPatchBaseline
, overrides the patches specified by the default patch baseline.
For more information about the InstallOverrideList
parameter, see About the SSM document AWS-RunPatchBaseline in the AWS Systems Manager User Guide.
public void setOwnerInformation(String ownerInformation)
Placeholder information. This field will always be empty in the current release of the service.
ownerInformation
- Placeholder information. This field will always be empty in the current release of the service.public String getOwnerInformation()
Placeholder information. This field will always be empty in the current release of the service.
public InstancePatchState withOwnerInformation(String ownerInformation)
Placeholder information. This field will always be empty in the current release of the service.
ownerInformation
- Placeholder information. This field will always be empty in the current release of the service.public void setInstalledCount(Integer installedCount)
The number of patches from the patch baseline that are installed on the instance.
installedCount
- The number of patches from the patch baseline that are installed on the instance.public Integer getInstalledCount()
The number of patches from the patch baseline that are installed on the instance.
public InstancePatchState withInstalledCount(Integer installedCount)
The number of patches from the patch baseline that are installed on the instance.
installedCount
- The number of patches from the patch baseline that are installed on the instance.public void setInstalledOtherCount(Integer installedOtherCount)
The number of patches not specified in the patch baseline that are installed on the instance.
installedOtherCount
- The number of patches not specified in the patch baseline that are installed on the instance.public Integer getInstalledOtherCount()
The number of patches not specified in the patch baseline that are installed on the instance.
public InstancePatchState withInstalledOtherCount(Integer installedOtherCount)
The number of patches not specified in the patch baseline that are installed on the instance.
installedOtherCount
- The number of patches not specified in the patch baseline that are installed on the instance.public void setInstalledPendingRebootCount(Integer installedPendingRebootCount)
The number of patches installed by Patch Manager since the last time the instance was rebooted.
installedPendingRebootCount
- The number of patches installed by Patch Manager since the last time the instance was rebooted.public Integer getInstalledPendingRebootCount()
The number of patches installed by Patch Manager since the last time the instance was rebooted.
public InstancePatchState withInstalledPendingRebootCount(Integer installedPendingRebootCount)
The number of patches installed by Patch Manager since the last time the instance was rebooted.
installedPendingRebootCount
- The number of patches installed by Patch Manager since the last time the instance was rebooted.public void setInstalledRejectedCount(Integer installedRejectedCount)
The number of patches installed on an instance that are specified in a RejectedPatches
list. Patches
with a status of InstalledRejected were typically installed before they were added to a
RejectedPatches
list.
If ALLOW_AS_DEPENDENCY
is the specified option for RejectedPatchesAction
, the value of
InstalledRejectedCount
will always be 0
(zero).
installedRejectedCount
- The number of patches installed on an instance that are specified in a RejectedPatches
list.
Patches with a status of InstalledRejected were typically installed before they were added to a
RejectedPatches
list.
If ALLOW_AS_DEPENDENCY
is the specified option for RejectedPatchesAction
, the
value of InstalledRejectedCount
will always be 0
(zero).
public Integer getInstalledRejectedCount()
The number of patches installed on an instance that are specified in a RejectedPatches
list. Patches
with a status of InstalledRejected were typically installed before they were added to a
RejectedPatches
list.
If ALLOW_AS_DEPENDENCY
is the specified option for RejectedPatchesAction
, the value of
InstalledRejectedCount
will always be 0
(zero).
RejectedPatches
list.
Patches with a status of InstalledRejected were typically installed before they were added to a
RejectedPatches
list.
If ALLOW_AS_DEPENDENCY
is the specified option for RejectedPatchesAction
, the
value of InstalledRejectedCount
will always be 0
(zero).
public InstancePatchState withInstalledRejectedCount(Integer installedRejectedCount)
The number of patches installed on an instance that are specified in a RejectedPatches
list. Patches
with a status of InstalledRejected were typically installed before they were added to a
RejectedPatches
list.
If ALLOW_AS_DEPENDENCY
is the specified option for RejectedPatchesAction
, the value of
InstalledRejectedCount
will always be 0
(zero).
installedRejectedCount
- The number of patches installed on an instance that are specified in a RejectedPatches
list.
Patches with a status of InstalledRejected were typically installed before they were added to a
RejectedPatches
list.
If ALLOW_AS_DEPENDENCY
is the specified option for RejectedPatchesAction
, the
value of InstalledRejectedCount
will always be 0
(zero).
public void setMissingCount(Integer missingCount)
The number of patches from the patch baseline that are applicable for the instance but aren't currently installed.
missingCount
- The number of patches from the patch baseline that are applicable for the instance but aren't currently
installed.public Integer getMissingCount()
The number of patches from the patch baseline that are applicable for the instance but aren't currently installed.
public InstancePatchState withMissingCount(Integer missingCount)
The number of patches from the patch baseline that are applicable for the instance but aren't currently installed.
missingCount
- The number of patches from the patch baseline that are applicable for the instance but aren't currently
installed.public void setFailedCount(Integer failedCount)
The number of patches from the patch baseline that were attempted to be installed during the last patching operation, but failed to install.
failedCount
- The number of patches from the patch baseline that were attempted to be installed during the last patching
operation, but failed to install.public Integer getFailedCount()
The number of patches from the patch baseline that were attempted to be installed during the last patching operation, but failed to install.
public InstancePatchState withFailedCount(Integer failedCount)
The number of patches from the patch baseline that were attempted to be installed during the last patching operation, but failed to install.
failedCount
- The number of patches from the patch baseline that were attempted to be installed during the last patching
operation, but failed to install.public void setUnreportedNotApplicableCount(Integer unreportedNotApplicableCount)
The number of patches beyond the supported limit of NotApplicableCount
that are not reported by name
to Systems Manager Inventory.
unreportedNotApplicableCount
- The number of patches beyond the supported limit of NotApplicableCount
that are not reported
by name to Systems Manager Inventory.public Integer getUnreportedNotApplicableCount()
The number of patches beyond the supported limit of NotApplicableCount
that are not reported by name
to Systems Manager Inventory.
NotApplicableCount
that are not reported
by name to Systems Manager Inventory.public InstancePatchState withUnreportedNotApplicableCount(Integer unreportedNotApplicableCount)
The number of patches beyond the supported limit of NotApplicableCount
that are not reported by name
to Systems Manager Inventory.
unreportedNotApplicableCount
- The number of patches beyond the supported limit of NotApplicableCount
that are not reported
by name to Systems Manager Inventory.public void setNotApplicableCount(Integer notApplicableCount)
The number of patches from the patch baseline that aren't applicable for the instance and therefore aren't
installed on the instance. This number may be truncated if the list of patch names is very large. The number of
patches beyond this limit are reported in UnreportedNotApplicableCount
.
notApplicableCount
- The number of patches from the patch baseline that aren't applicable for the instance and therefore aren't
installed on the instance. This number may be truncated if the list of patch names is very large. The
number of patches beyond this limit are reported in UnreportedNotApplicableCount
.public Integer getNotApplicableCount()
The number of patches from the patch baseline that aren't applicable for the instance and therefore aren't
installed on the instance. This number may be truncated if the list of patch names is very large. The number of
patches beyond this limit are reported in UnreportedNotApplicableCount
.
UnreportedNotApplicableCount
.public InstancePatchState withNotApplicableCount(Integer notApplicableCount)
The number of patches from the patch baseline that aren't applicable for the instance and therefore aren't
installed on the instance. This number may be truncated if the list of patch names is very large. The number of
patches beyond this limit are reported in UnreportedNotApplicableCount
.
notApplicableCount
- The number of patches from the patch baseline that aren't applicable for the instance and therefore aren't
installed on the instance. This number may be truncated if the list of patch names is very large. The
number of patches beyond this limit are reported in UnreportedNotApplicableCount
.public void setOperationStartTime(Date operationStartTime)
The time the most recent patching operation was started on the instance.
operationStartTime
- The time the most recent patching operation was started on the instance.public Date getOperationStartTime()
The time the most recent patching operation was started on the instance.
public InstancePatchState withOperationStartTime(Date operationStartTime)
The time the most recent patching operation was started on the instance.
operationStartTime
- The time the most recent patching operation was started on the instance.public void setOperationEndTime(Date operationEndTime)
The time the most recent patching operation completed on the instance.
operationEndTime
- The time the most recent patching operation completed on the instance.public Date getOperationEndTime()
The time the most recent patching operation completed on the instance.
public InstancePatchState withOperationEndTime(Date operationEndTime)
The time the most recent patching operation completed on the instance.
operationEndTime
- The time the most recent patching operation completed on the instance.public void setOperation(String operation)
The type of patching operation that was performed: SCAN
(assess patch compliance state) or
INSTALL
(install missing patches).
operation
- The type of patching operation that was performed: SCAN
(assess patch compliance state) or
INSTALL
(install missing patches).PatchOperationType
public String getOperation()
The type of patching operation that was performed: SCAN
(assess patch compliance state) or
INSTALL
(install missing patches).
SCAN
(assess patch compliance state) or
INSTALL
(install missing patches).PatchOperationType
public InstancePatchState withOperation(String operation)
The type of patching operation that was performed: SCAN
(assess patch compliance state) or
INSTALL
(install missing patches).
operation
- The type of patching operation that was performed: SCAN
(assess patch compliance state) or
INSTALL
(install missing patches).PatchOperationType
public void setOperation(PatchOperationType operation)
The type of patching operation that was performed: SCAN
(assess patch compliance state) or
INSTALL
(install missing patches).
operation
- The type of patching operation that was performed: SCAN
(assess patch compliance state) or
INSTALL
(install missing patches).PatchOperationType
public InstancePatchState withOperation(PatchOperationType operation)
The type of patching operation that was performed: SCAN
(assess patch compliance state) or
INSTALL
(install missing patches).
operation
- The type of patching operation that was performed: SCAN
(assess patch compliance state) or
INSTALL
(install missing patches).PatchOperationType
public void setLastNoRebootInstallOperationTime(Date lastNoRebootInstallOperationTime)
The time of the last attempt to patch the instance with NoReboot
specified as the reboot option.
lastNoRebootInstallOperationTime
- The time of the last attempt to patch the instance with NoReboot
specified as the reboot
option.public Date getLastNoRebootInstallOperationTime()
The time of the last attempt to patch the instance with NoReboot
specified as the reboot option.
NoReboot
specified as the reboot
option.public InstancePatchState withLastNoRebootInstallOperationTime(Date lastNoRebootInstallOperationTime)
The time of the last attempt to patch the instance with NoReboot
specified as the reboot option.
lastNoRebootInstallOperationTime
- The time of the last attempt to patch the instance with NoReboot
specified as the reboot
option.public void setRebootOption(String rebootOption)
Indicates the reboot option specified in the patch baseline.
Reboot options apply to Install
operations only. Reboots are not attempted for Patch Manager
Scan
operations.
RebootIfNeeded: Patch Manager tries to reboot the instance if it installed any patches, or if any patches
are detected with a status of InstalledPendingReboot
.
NoReboot: Patch Manager attempts to install missing packages without trying to reboot the system. Patches
installed with this option are assigned a status of InstalledPendingReboot
. These patches might not
be in effect until a reboot is performed.
rebootOption
- Indicates the reboot option specified in the patch baseline.
Reboot options apply to Install
operations only. Reboots are not attempted for Patch Manager
Scan
operations.
RebootIfNeeded: Patch Manager tries to reboot the instance if it installed any patches, or if any
patches are detected with a status of InstalledPendingReboot
.
NoReboot: Patch Manager attempts to install missing packages without trying to reboot the system.
Patches installed with this option are assigned a status of InstalledPendingReboot
. These
patches might not be in effect until a reboot is performed.
RebootOption
public String getRebootOption()
Indicates the reboot option specified in the patch baseline.
Reboot options apply to Install
operations only. Reboots are not attempted for Patch Manager
Scan
operations.
RebootIfNeeded: Patch Manager tries to reboot the instance if it installed any patches, or if any patches
are detected with a status of InstalledPendingReboot
.
NoReboot: Patch Manager attempts to install missing packages without trying to reboot the system. Patches
installed with this option are assigned a status of InstalledPendingReboot
. These patches might not
be in effect until a reboot is performed.
Reboot options apply to Install
operations only. Reboots are not attempted for Patch Manager
Scan
operations.
RebootIfNeeded: Patch Manager tries to reboot the instance if it installed any patches, or if any
patches are detected with a status of InstalledPendingReboot
.
NoReboot: Patch Manager attempts to install missing packages without trying to reboot the system.
Patches installed with this option are assigned a status of InstalledPendingReboot
. These
patches might not be in effect until a reboot is performed.
RebootOption
public InstancePatchState withRebootOption(String rebootOption)
Indicates the reboot option specified in the patch baseline.
Reboot options apply to Install
operations only. Reboots are not attempted for Patch Manager
Scan
operations.
RebootIfNeeded: Patch Manager tries to reboot the instance if it installed any patches, or if any patches
are detected with a status of InstalledPendingReboot
.
NoReboot: Patch Manager attempts to install missing packages without trying to reboot the system. Patches
installed with this option are assigned a status of InstalledPendingReboot
. These patches might not
be in effect until a reboot is performed.
rebootOption
- Indicates the reboot option specified in the patch baseline.
Reboot options apply to Install
operations only. Reboots are not attempted for Patch Manager
Scan
operations.
RebootIfNeeded: Patch Manager tries to reboot the instance if it installed any patches, or if any
patches are detected with a status of InstalledPendingReboot
.
NoReboot: Patch Manager attempts to install missing packages without trying to reboot the system.
Patches installed with this option are assigned a status of InstalledPendingReboot
. These
patches might not be in effect until a reboot is performed.
RebootOption
public void setRebootOption(RebootOption rebootOption)
Indicates the reboot option specified in the patch baseline.
Reboot options apply to Install
operations only. Reboots are not attempted for Patch Manager
Scan
operations.
RebootIfNeeded: Patch Manager tries to reboot the instance if it installed any patches, or if any patches
are detected with a status of InstalledPendingReboot
.
NoReboot: Patch Manager attempts to install missing packages without trying to reboot the system. Patches
installed with this option are assigned a status of InstalledPendingReboot
. These patches might not
be in effect until a reboot is performed.
rebootOption
- Indicates the reboot option specified in the patch baseline.
Reboot options apply to Install
operations only. Reboots are not attempted for Patch Manager
Scan
operations.
RebootIfNeeded: Patch Manager tries to reboot the instance if it installed any patches, or if any
patches are detected with a status of InstalledPendingReboot
.
NoReboot: Patch Manager attempts to install missing packages without trying to reboot the system.
Patches installed with this option are assigned a status of InstalledPendingReboot
. These
patches might not be in effect until a reboot is performed.
RebootOption
public InstancePatchState withRebootOption(RebootOption rebootOption)
Indicates the reboot option specified in the patch baseline.
Reboot options apply to Install
operations only. Reboots are not attempted for Patch Manager
Scan
operations.
RebootIfNeeded: Patch Manager tries to reboot the instance if it installed any patches, or if any patches
are detected with a status of InstalledPendingReboot
.
NoReboot: Patch Manager attempts to install missing packages without trying to reboot the system. Patches
installed with this option are assigned a status of InstalledPendingReboot
. These patches might not
be in effect until a reboot is performed.
rebootOption
- Indicates the reboot option specified in the patch baseline.
Reboot options apply to Install
operations only. Reboots are not attempted for Patch Manager
Scan
operations.
RebootIfNeeded: Patch Manager tries to reboot the instance if it installed any patches, or if any
patches are detected with a status of InstalledPendingReboot
.
NoReboot: Patch Manager attempts to install missing packages without trying to reboot the system.
Patches installed with this option are assigned a status of InstalledPendingReboot
. These
patches might not be in effect until a reboot is performed.
RebootOption
public String toString()
toString
in class Object
Object.toString()
public InstancePatchState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.