Interface InstancePatchState.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstancePatchState.Builder,,InstancePatchState> SdkBuilder<InstancePatchState.Builder,,InstancePatchState> SdkPojo
- Enclosing class:
InstancePatchState
-
Method Summary
Modifier and TypeMethodDescriptionavailableSecurityUpdateCount(Integer availableSecurityUpdateCount) The number of security-related patches that are available but not approved because they didn't meet the patch baseline requirements.baselineId(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 asCriticalfor 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 aRejectedPatcheslist.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 withNoRebootspecified 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 thanCriticalorSecuritybut 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 asSecurityin 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 ofNotApplicableCountthat aren't reported by name to Inventory.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
-
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
InstallOverrideListparameter, see SSM Command document for patching:AWS-RunPatchBaselinein 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
InstallOverrideListparameter, see SSM Command document for patching:AWS-RunPatchBaselinein 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
RejectedPatcheslist. Patches with a status ofInstalledRejectedwere typically installed before they were added to aRejectedPatcheslist.If
ALLOW_AS_DEPENDENCYis the specified option forRejectedPatchesAction, the value ofInstalledRejectedCountwill always be0(zero).- Parameters:
installedRejectedCount- The number of patches installed on a managed node that are specified in aRejectedPatcheslist. Patches with a status ofInstalledRejectedwere typically installed before they were added to aRejectedPatcheslist.If
ALLOW_AS_DEPENDENCYis the specified option forRejectedPatchesAction, the value ofInstalledRejectedCountwill 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
NotApplicableCountthat aren't reported by name to Inventory. Inventory is a tool in Amazon Web Services Systems Manager.- Parameters:
unreportedNotApplicableCount- The number of patches beyond the supported limit ofNotApplicableCountthat aren't reported by name to Inventory. Inventory is a tool in 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.
-
availableSecurityUpdateCount
The number of security-related patches that are available but not approved because they didn't meet the patch baseline requirements. For example, an updated version of a patch might have been released before the specified auto-approval period was over.
Applies to Windows Server managed nodes only.
- Parameters:
availableSecurityUpdateCount- The number of security-related patches that are available but not approved because they didn't meet the patch baseline requirements. For example, an updated version of a patch might have been released before the specified auto-approval period was over.Applies to Windows Server managed nodes only.
- 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
-
SCANassesses the patch compliance state. -
INSTALLinstalls missing patches.
- Parameters:
operation- The type of patching operation that was performed: or-
SCANassesses the patch compliance state. -
INSTALLinstalls 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
-
SCANassesses the patch compliance state. -
INSTALLinstalls missing patches.
- Parameters:
operation- The type of patching operation that was performed: or-
SCANassesses the patch compliance state. -
INSTALLinstalls 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
NoRebootspecified as the reboot option.- Parameters:
lastNoRebootInstallOperationTime- The time of the last attempt to patch the managed node withNoRebootspecified 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
Installoperations only. Reboots aren't attempted for Patch ManagerScanoperations.-
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
Installoperations only. Reboots aren't attempted for Patch ManagerScanoperations.-
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
Installoperations only. Reboots aren't attempted for Patch ManagerScanoperations.-
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
Installoperations only. Reboots aren't attempted for Patch ManagerScanoperations.-
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
Criticalfor 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 asCriticalfor 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
Securityin 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 asSecurityin 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
CriticalorSecuritybut 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 thanCriticalorSecuritybut 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.
-