Interface EffectivePatch.Builder

    • Method Detail

      • patch

        EffectivePatch.Builder patch​(Patch 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

        default EffectivePatch.Builder patch​(Consumer<Patch.Builder> 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:
        patch(Patch)
      • 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.