Interface EffectivePatch.Builder

  • Method Details

    • patch

      Provides metadata for a patch, including information such as the KB ID, severity, classification and a URL for where more information can be obtained about the patch.

      Parameters:
      patch - Provides metadata for a patch, including information such as the KB ID, severity, classification and a URL for where more information can be obtained about the patch.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • patch

      Provides metadata for a patch, including information such as the KB ID, severity, classification and a URL for where more information can be obtained about the patch.

      This is a convenience method that creates an instance of the Patch.Builder avoiding the need to create one manually via Patch.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to patch(Patch).

      Parameters:
      patch - a consumer that will call methods on Patch.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • patchStatus

      EffectivePatch.Builder patchStatus(PatchStatus patchStatus)

      The status of the patch in a patch baseline. This includes information about whether the patch is currently approved, due to be approved by a rule, explicitly approved, or explicitly rejected and the date the patch was or will be approved.

      Parameters:
      patchStatus - The status of the patch in a patch baseline. This includes information about whether the patch is currently approved, due to be approved by a rule, explicitly approved, or explicitly rejected and the date the patch was or will be approved.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • patchStatus

      default EffectivePatch.Builder patchStatus(Consumer<PatchStatus.Builder> patchStatus)

      The status of the patch in a patch baseline. This includes information about whether the patch is currently approved, due to be approved by a rule, explicitly approved, or explicitly rejected and the date the patch was or will be approved.

      This is a convenience method that creates an instance of the PatchStatus.Builder avoiding the need to create one manually via PatchStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to patchStatus(PatchStatus).

      Parameters:
      patchStatus - a consumer that will call methods on PatchStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: