Interface BaselineOverride.Builder

    • Method Detail

      • operatingSystem

        BaselineOverride.Builder operatingSystem​(String operatingSystem)

        The operating system rule used by the patch baseline override.

        Parameters:
        operatingSystem - The operating system rule used by the patch baseline override.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OperatingSystem, OperatingSystem
      • operatingSystem

        BaselineOverride.Builder operatingSystem​(OperatingSystem operatingSystem)

        The operating system rule used by the patch baseline override.

        Parameters:
        operatingSystem - The operating system rule used by the patch baseline override.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OperatingSystem, OperatingSystem
      • globalFilters

        BaselineOverride.Builder globalFilters​(PatchFilterGroup globalFilters)
        Sets the value of the GlobalFilters property for this object.
        Parameters:
        globalFilters - The new value for the GlobalFilters property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • approvalRules

        BaselineOverride.Builder approvalRules​(PatchRuleGroup approvalRules)
        Sets the value of the ApprovalRules property for this object.
        Parameters:
        approvalRules - The new value for the ApprovalRules property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • approvedPatchesComplianceLevel

        BaselineOverride.Builder approvedPatchesComplianceLevel​(String approvedPatchesComplianceLevel)

        Defines the compliance level for approved patches. When an approved patch is reported as missing, this value describes the severity of the compliance violation.

        Parameters:
        approvedPatchesComplianceLevel - Defines the compliance level for approved patches. When an approved patch is reported as missing, this value describes the severity of the compliance violation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PatchComplianceLevel, PatchComplianceLevel
      • approvedPatchesComplianceLevel

        BaselineOverride.Builder approvedPatchesComplianceLevel​(PatchComplianceLevel approvedPatchesComplianceLevel)

        Defines the compliance level for approved patches. When an approved patch is reported as missing, this value describes the severity of the compliance violation.

        Parameters:
        approvedPatchesComplianceLevel - Defines the compliance level for approved patches. When an approved patch is reported as missing, this value describes the severity of the compliance violation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PatchComplianceLevel, PatchComplianceLevel
      • rejectedPatchesAction

        BaselineOverride.Builder rejectedPatchesAction​(String rejectedPatchesAction)

        The action for Patch Manager to take on patches included in the RejectedPackages list. A patch can be allowed only if it is a dependency of another package, or blocked entirely along with packages that include it as a dependency.

        Parameters:
        rejectedPatchesAction - The action for Patch Manager to take on patches included in the RejectedPackages list. A patch can be allowed only if it is a dependency of another package, or blocked entirely along with packages that include it as a dependency.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PatchAction, PatchAction
      • rejectedPatchesAction

        BaselineOverride.Builder rejectedPatchesAction​(PatchAction rejectedPatchesAction)

        The action for Patch Manager to take on patches included in the RejectedPackages list. A patch can be allowed only if it is a dependency of another package, or blocked entirely along with packages that include it as a dependency.

        Parameters:
        rejectedPatchesAction - The action for Patch Manager to take on patches included in the RejectedPackages list. A patch can be allowed only if it is a dependency of another package, or blocked entirely along with packages that include it as a dependency.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PatchAction, PatchAction
      • approvedPatchesEnableNonSecurity

        BaselineOverride.Builder approvedPatchesEnableNonSecurity​(Boolean approvedPatchesEnableNonSecurity)

        Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value is false. Applies to Linux managed nodes only.

        Parameters:
        approvedPatchesEnableNonSecurity - Indicates whether the list of approved patches includes non-security updates that should be applied to the managed nodes. The default value is false. Applies to Linux managed nodes only.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sources

        BaselineOverride.Builder sources​(Collection<PatchSource> sources)

        Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.

        Parameters:
        sources - Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sources

        BaselineOverride.Builder sources​(PatchSource... sources)

        Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.

        Parameters:
        sources - Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sources

        BaselineOverride.Builder sources​(Consumer<PatchSource.Builder>... sources)

        Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #sources(List).

        Parameters:
        sources - a consumer that will call methods on PatchSource.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #sources(java.util.Collection)