Interface InstancePatchState.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstancePatchState.Builder,
,InstancePatchState> SdkBuilder<InstancePatchState.Builder,
,InstancePatchState> SdkPojo
- Enclosing class:
InstancePatchState
-
Method Summary
Modifier and TypeMethodDescriptionbaselineId
(String baselineId) The ID of the patch baseline used to patch the managed node.criticalNonCompliantCount
(Integer criticalNonCompliantCount) The number of patches per node that are specified asCritical
for compliance reporting in the patch baseline aren't installed.failedCount
(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.installedCount
(Integer installedCount) The number of patches from the patch baseline that are installed on the managed node.installedOtherCount
(Integer installedOtherCount) The number of patches not specified in the patch baseline that are installed on the managed node.installedPendingRebootCount
(Integer installedPendingRebootCount) The number of patches installed by Patch Manager since the last time the managed node was rebooted.installedRejectedCount
(Integer installedRejectedCount) The number of patches installed on a managed node that are specified in aRejectedPatches
list.installOverrideList
(String installOverrideList) An https URL or an Amazon Simple Storage Service (Amazon S3) path-style URL to a list of patches to be installed.instanceId
(String instanceId) The ID of the managed node the high-level patch compliance information was collected for.lastNoRebootInstallOperationTime
(Instant lastNoRebootInstallOperationTime) The time of the last attempt to patch the managed node withNoReboot
specified as the reboot option.missingCount
(Integer missingCount) The number of patches from the patch baseline that are applicable for the managed node but aren't currently installed.notApplicableCount
(Integer notApplicableCount) The number of patches from the patch baseline that aren't applicable for the managed node and therefore aren't installed on the node.The type of patching operation that was performed: oroperation
(PatchOperationType operation) The type of patching operation that was performed: oroperationEndTime
(Instant operationEndTime) The time the most recent patching operation completed on the managed node.operationStartTime
(Instant operationStartTime) The time the most recent patching operation was started on the managed node.otherNonCompliantCount
(Integer otherNonCompliantCount) The number of patches per node that are specified as other thanCritical
orSecurity
but aren't compliant with the patch baseline.ownerInformation
(String ownerInformation) Placeholder information.patchGroup
(String patchGroup) The name of the patch group the managed node belongs to.rebootOption
(String rebootOption) Indicates the reboot option specified in the patch baseline.rebootOption
(RebootOption rebootOption) Indicates the reboot option specified in the patch baseline.securityNonCompliantCount
(Integer securityNonCompliantCount) The number of patches per node that are specified asSecurity
in a patch advisory aren't installed.snapshotId
(String snapshotId) The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.unreportedNotApplicableCount
(Integer unreportedNotApplicableCount) The number of patches beyond the supported limit ofNotApplicableCount
that aren't reported by name to Inventory.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, sdkFields
-
Method Details
-
instanceId
The ID of the managed node the high-level patch compliance information was collected for.
- Parameters:
instanceId
- The ID of the managed node the high-level patch compliance information was collected for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchGroup
The name of the patch group the managed node belongs to.
- Parameters:
patchGroup
- The name of the patch group the managed node belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baselineId
The ID of the patch baseline used to patch the managed node.
- Parameters:
baselineId
- The ID of the patch baseline used to patch the managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotId
The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.
- Parameters:
snapshotId
- The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
installOverrideList
An https URL or an Amazon Simple Storage Service (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 theAWS-RunPatchBaseline SSM document
in the Amazon Web Services Systems Manager User Guide.- Parameters:
installOverrideList
- An https URL or an Amazon Simple Storage Service (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 documentAWS-RunPatchBaseline
, overrides the patches specified by the default patch baseline.For more information about the
InstallOverrideList
parameter, see About theAWS-RunPatchBaseline SSM document
in the Amazon Web Services Systems Manager User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerInformation
Placeholder information. This field will always be empty in the current release of the service.
- Parameters:
ownerInformation
- Placeholder information. This field will always be empty in the current release of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
installedCount
The number of patches from the patch baseline that are installed on the managed node.
- Parameters:
installedCount
- The number of patches from the patch baseline that are installed on the managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
installedOtherCount
The number of patches not specified in the patch baseline that are installed on the managed node.
- Parameters:
installedOtherCount
- The number of patches not specified in the patch baseline that are installed on the managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
installedPendingRebootCount
The number of patches installed by Patch Manager since the last time the managed node was rebooted.
- Parameters:
installedPendingRebootCount
- The number of patches installed by Patch Manager since the last time the managed node was rebooted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
installedRejectedCount
The number of patches installed on a managed node that are specified in a
RejectedPatches
list. Patches with a status ofInstalledRejected
were typically installed before they were added to aRejectedPatches
list.If
ALLOW_AS_DEPENDENCY
is the specified option forRejectedPatchesAction
, the value ofInstalledRejectedCount
will always be0
(zero).- Parameters:
installedRejectedCount
- The number of patches installed on a managed node that are specified in aRejectedPatches
list. Patches with a status ofInstalledRejected
were typically installed before they were added to aRejectedPatches
list.If
ALLOW_AS_DEPENDENCY
is the specified option forRejectedPatchesAction
, the value ofInstalledRejectedCount
will always be0
(zero).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
missingCount
The number of patches from the patch baseline that are applicable for the managed node but aren't currently installed.
- Parameters:
missingCount
- The number of patches from the patch baseline that are applicable for the managed node but aren't currently installed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedCount
The number of patches from the patch baseline that were attempted to be installed during the last patching operation, but failed to install.
- Parameters:
failedCount
- The number of patches from the patch baseline that were attempted to be installed during the last patching operation, but failed to install.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unreportedNotApplicableCount
The number of patches beyond the supported limit of
NotApplicableCount
that aren't reported by name to Inventory. Inventory is a capability of Amazon Web Services Systems Manager.- Parameters:
unreportedNotApplicableCount
- The number of patches beyond the supported limit ofNotApplicableCount
that aren't reported by name to Inventory. Inventory is a capability of Amazon Web Services Systems Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notApplicableCount
The number of patches from the patch baseline that aren't applicable for the managed node and therefore aren't installed on the node. 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
.- Parameters:
notApplicableCount
- The number of patches from the patch baseline that aren't applicable for the managed node and therefore aren't installed on the node. This number may be truncated if the list of patch names is very large. The number of patches beyond this limit are reported inUnreportedNotApplicableCount
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationStartTime
The time the most recent patching operation was started on the managed node.
- Parameters:
operationStartTime
- The time the most recent patching operation was started on the managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationEndTime
The time the most recent patching operation completed on the managed node.
- Parameters:
operationEndTime
- The time the most recent patching operation completed on the managed node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
The type of patching operation that was performed: or
-
SCAN
assesses the patch compliance state. -
INSTALL
installs missing patches.
- Parameters:
operation
- The type of patching operation that was performed: or-
SCAN
assesses the patch compliance state. -
INSTALL
installs missing patches.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
operation
The type of patching operation that was performed: or
-
SCAN
assesses the patch compliance state. -
INSTALL
installs missing patches.
- Parameters:
operation
- The type of patching operation that was performed: or-
SCAN
assesses the patch compliance state. -
INSTALL
installs missing patches.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
lastNoRebootInstallOperationTime
InstancePatchState.Builder lastNoRebootInstallOperationTime(Instant lastNoRebootInstallOperationTime) The time of the last attempt to patch the managed node with
NoReboot
specified as the reboot option.- Parameters:
lastNoRebootInstallOperationTime
- The time of the last attempt to patch the managed node withNoReboot
specified as the reboot option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rebootOption
Indicates the reboot option specified in the patch baseline.
Reboot options apply to
Install
operations only. Reboots aren't attempted for Patch ManagerScan
operations.-
RebootIfNeeded
: Patch Manager tries to reboot the managed node if it installed any patches, or if any patches are detected with a status ofInstalledPendingReboot
. -
NoReboot
: Patch Manager attempts to install missing packages without trying to reboot the system. Patches installed with this option are assigned a status ofInstalledPendingReboot
. These patches might not be in effect until a reboot is performed.
- Parameters:
rebootOption
- Indicates the reboot option specified in the patch baseline.Reboot options apply to
Install
operations only. Reboots aren't attempted for Patch ManagerScan
operations.-
RebootIfNeeded
: Patch Manager tries to reboot the managed node if it installed any patches, or if any patches are detected with a status ofInstalledPendingReboot
. -
NoReboot
: Patch Manager attempts to install missing packages without trying to reboot the system. Patches installed with this option are assigned a status ofInstalledPendingReboot
. These patches might not be in effect until a reboot is performed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
rebootOption
Indicates the reboot option specified in the patch baseline.
Reboot options apply to
Install
operations only. Reboots aren't attempted for Patch ManagerScan
operations.-
RebootIfNeeded
: Patch Manager tries to reboot the managed node if it installed any patches, or if any patches are detected with a status ofInstalledPendingReboot
. -
NoReboot
: Patch Manager attempts to install missing packages without trying to reboot the system. Patches installed with this option are assigned a status ofInstalledPendingReboot
. These patches might not be in effect until a reboot is performed.
- Parameters:
rebootOption
- Indicates the reboot option specified in the patch baseline.Reboot options apply to
Install
operations only. Reboots aren't attempted for Patch ManagerScan
operations.-
RebootIfNeeded
: Patch Manager tries to reboot the managed node if it installed any patches, or if any patches are detected with a status ofInstalledPendingReboot
. -
NoReboot
: Patch Manager attempts to install missing packages without trying to reboot the system. Patches installed with this option are assigned a status ofInstalledPendingReboot
. These patches might not be in effect until a reboot is performed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
criticalNonCompliantCount
The number of patches per node that are specified as
Critical
for compliance reporting in the patch baseline aren't installed. These patches might be missing, have failed installation, were rejected, or were installed but awaiting a required managed node reboot. The status of these managed nodes isNON_COMPLIANT
.- Parameters:
criticalNonCompliantCount
- The number of patches per node that are specified asCritical
for compliance reporting in the patch baseline aren't installed. These patches might be missing, have failed installation, were rejected, or were installed but awaiting a required managed node reboot. The status of these managed nodes isNON_COMPLIANT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityNonCompliantCount
The number of patches per node that are specified as
Security
in a patch advisory aren't installed. These patches might be missing, have failed installation, were rejected, or were installed but awaiting a required managed node reboot. The status of these managed nodes isNON_COMPLIANT
.- Parameters:
securityNonCompliantCount
- The number of patches per node that are specified asSecurity
in a patch advisory aren't installed. These patches might be missing, have failed installation, were rejected, or were installed but awaiting a required managed node reboot. The status of these managed nodes isNON_COMPLIANT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
otherNonCompliantCount
The number of patches per node that are specified as other than
Critical
orSecurity
but aren't compliant with the patch baseline. The status of these managed nodes isNON_COMPLIANT
.- Parameters:
otherNonCompliantCount
- The number of patches per node that are specified as other thanCritical
orSecurity
but aren't compliant with the patch baseline. The status of these managed nodes isNON_COMPLIANT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-