Interface BaselineOverride.Builder

  • Method Details

    • 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

      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:
    • 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.
    • globalFilters

      default BaselineOverride.Builder globalFilters(Consumer<PatchFilterGroup.Builder> globalFilters)
      Sets the value of the GlobalFilters property for this object. This is a convenience method that creates an instance of the PatchFilterGroup.Builder avoiding the need to create one manually via PatchFilterGroup.builder().

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

      Parameters:
      globalFilters - a consumer that will call methods on PatchFilterGroup.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • approvalRules

      default BaselineOverride.Builder approvalRules(Consumer<PatchRuleGroup.Builder> approvalRules)
      Sets the value of the ApprovalRules property for this object. This is a convenience method that creates an instance of the PatchRuleGroup.Builder avoiding the need to create one manually via PatchRuleGroup.builder().

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

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

      BaselineOverride.Builder approvedPatches(Collection<String> approvedPatches)

      A list of explicitly approved patches for the baseline.

      For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

      Parameters:
      approvedPatches - A list of explicitly approved patches for the baseline.

      For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

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

      BaselineOverride.Builder approvedPatches(String... approvedPatches)

      A list of explicitly approved patches for the baseline.

      For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

      Parameters:
      approvedPatches - A list of explicitly approved patches for the baseline.

      For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

      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:
    • 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:
    • rejectedPatches

      BaselineOverride.Builder rejectedPatches(Collection<String> rejectedPatches)

      A list of explicitly rejected patches for the baseline.

      For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

      Parameters:
      rejectedPatches - A list of explicitly rejected patches for the baseline.

      For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

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

      BaselineOverride.Builder rejectedPatches(String... rejectedPatches)

      A list of explicitly rejected patches for the baseline.

      For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

      Parameters:
      rejectedPatches - A list of explicitly rejected patches for the baseline.

      For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

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

      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

      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

      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<PatchSource>).

      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:
    • availableSecurityUpdatesComplianceStatus

      BaselineOverride.Builder availableSecurityUpdatesComplianceStatus(String availableSecurityUpdatesComplianceStatus)

      Indicates whether managed nodes for which there are available security-related patches that have not been approved by the baseline are being defined as COMPLIANT or NON_COMPLIANT. This option is specified when the CreatePatchBaseline or UpdatePatchBaseline commands are run.

      Applies to Windows Server managed nodes only.

      Parameters:
      availableSecurityUpdatesComplianceStatus - Indicates whether managed nodes for which there are available security-related patches that have not been approved by the baseline are being defined as COMPLIANT or NON_COMPLIANT. This option is specified when the CreatePatchBaseline or UpdatePatchBaseline commands are run.

      Applies to Windows Server managed nodes only.

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

      BaselineOverride.Builder availableSecurityUpdatesComplianceStatus(PatchComplianceStatus availableSecurityUpdatesComplianceStatus)

      Indicates whether managed nodes for which there are available security-related patches that have not been approved by the baseline are being defined as COMPLIANT or NON_COMPLIANT. This option is specified when the CreatePatchBaseline or UpdatePatchBaseline commands are run.

      Applies to Windows Server managed nodes only.

      Parameters:
      availableSecurityUpdatesComplianceStatus - Indicates whether managed nodes for which there are available security-related patches that have not been approved by the baseline are being defined as COMPLIANT or NON_COMPLIANT. This option is specified when the CreatePatchBaseline or UpdatePatchBaseline commands are run.

      Applies to Windows Server managed nodes only.

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