Interface InstancePatchState.Builder

All Superinterfaces:
Buildable, CopyableBuilder<InstancePatchState.Builder,InstancePatchState>, SdkBuilder<InstancePatchState.Builder,InstancePatchState>, SdkPojo
Enclosing class:
InstancePatchState

public static interface InstancePatchState.Builder extends SdkPojo, CopyableBuilder<InstancePatchState.Builder,InstancePatchState>
  • Method Details

    • instanceId

      InstancePatchState.Builder instanceId(String 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

      InstancePatchState.Builder patchGroup(String 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

      InstancePatchState.Builder baselineId(String 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

      InstancePatchState.Builder snapshotId(String 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

      InstancePatchState.Builder 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. 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 AWS-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 document AWS-RunPatchBaseline, overrides the patches specified by the default patch baseline.

      For more information about the InstallOverrideList parameter, see About the AWS-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

      InstancePatchState.Builder ownerInformation(String 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

      InstancePatchState.Builder installedCount(Integer 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

      InstancePatchState.Builder installedOtherCount(Integer 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

      InstancePatchState.Builder installedPendingRebootCount(Integer 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

      InstancePatchState.Builder installedRejectedCount(Integer installedRejectedCount)

      The number of patches installed on a managed node 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).

      Parameters:
      installedRejectedCount - The number of patches installed on a managed node 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).

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • missingCount

      InstancePatchState.Builder missingCount(Integer 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

      InstancePatchState.Builder 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.

      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

      InstancePatchState.Builder unreportedNotApplicableCount(Integer 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 of NotApplicableCount 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

      InstancePatchState.Builder 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. 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 in UnreportedNotApplicableCount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operationStartTime

      InstancePatchState.Builder operationStartTime(Instant 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

      InstancePatchState.Builder operationEndTime(Instant 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

      InstancePatchState.Builder operation(String 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 with NoReboot specified as the reboot option.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rebootOption

      InstancePatchState.Builder rebootOption(String rebootOption)

      Indicates the reboot option specified in the patch baseline.

      Reboot options apply to Install operations only. Reboots aren't attempted for Patch Manager Scan operations.

      • RebootIfNeeded: Patch Manager tries to reboot the managed node 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.

      Parameters:
      rebootOption - Indicates the reboot option specified in the patch baseline.

      Reboot options apply to Install operations only. Reboots aren't attempted for Patch Manager Scan operations.

      • RebootIfNeeded: Patch Manager tries to reboot the managed node 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • rebootOption

      InstancePatchState.Builder rebootOption(RebootOption rebootOption)

      Indicates the reboot option specified in the patch baseline.

      Reboot options apply to Install operations only. Reboots aren't attempted for Patch Manager Scan operations.

      • RebootIfNeeded: Patch Manager tries to reboot the managed node 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.

      Parameters:
      rebootOption - Indicates the reboot option specified in the patch baseline.

      Reboot options apply to Install operations only. Reboots aren't attempted for Patch Manager Scan operations.

      • RebootIfNeeded: Patch Manager tries to reboot the managed node 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • criticalNonCompliantCount

      InstancePatchState.Builder criticalNonCompliantCount(Integer 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 is NON_COMPLIANT.

      Parameters:
      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 is NON_COMPLIANT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityNonCompliantCount

      InstancePatchState.Builder securityNonCompliantCount(Integer 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 is NON_COMPLIANT.

      Parameters:
      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 is NON_COMPLIANT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • otherNonCompliantCount

      InstancePatchState.Builder otherNonCompliantCount(Integer otherNonCompliantCount)

      The number of patches per node that are specified as other than Critical or Security but aren't compliant with the patch baseline. The status of these managed nodes is NON_COMPLIANT.

      Parameters:
      otherNonCompliantCount - The number of patches per node that are specified as other than Critical or Security but aren't compliant with the patch baseline. The status of these managed nodes is NON_COMPLIANT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.