Class PatchBaselineArgs.Builder

  • Enclosing class:
    PatchBaselineArgs

    public static final class PatchBaselineArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • approvalRules

        public PatchBaselineArgs.Builder approvalRules​(@Nullable
                                                       com.pulumi.core.Output<java.util.List<PatchBaselineApprovalRuleArgs>> approvalRules)
        Parameters:
        approvalRules - Set of rules used to include patches in the baseline. Up to 10 approval rules can be specified. See `approvalRule` below.
        Returns:
        builder
      • approvalRules

        public PatchBaselineArgs.Builder approvalRules​(java.util.List<PatchBaselineApprovalRuleArgs> approvalRules)
        Parameters:
        approvalRules - Set of rules used to include patches in the baseline. Up to 10 approval rules can be specified. See `approvalRule` below.
        Returns:
        builder
      • approvalRules

        public PatchBaselineArgs.Builder approvalRules​(PatchBaselineApprovalRuleArgs... approvalRules)
        Parameters:
        approvalRules - Set of rules used to include patches in the baseline. Up to 10 approval rules can be specified. See `approvalRule` below.
        Returns:
        builder
      • approvedPatches

        public PatchBaselineArgs.Builder approvedPatches​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<java.lang.String>> approvedPatches)
        Parameters:
        approvedPatches - List of explicitly approved patches for the baseline. Cannot be specified with `approvalRule`.
        Returns:
        builder
      • approvedPatches

        public PatchBaselineArgs.Builder approvedPatches​(java.util.List<java.lang.String> approvedPatches)
        Parameters:
        approvedPatches - List of explicitly approved patches for the baseline. Cannot be specified with `approvalRule`.
        Returns:
        builder
      • approvedPatches

        public PatchBaselineArgs.Builder approvedPatches​(java.lang.String... approvedPatches)
        Parameters:
        approvedPatches - List of explicitly approved patches for the baseline. Cannot be specified with `approvalRule`.
        Returns:
        builder
      • approvedPatchesComplianceLevel

        public PatchBaselineArgs.Builder approvedPatchesComplianceLevel​(@Nullable
                                                                        com.pulumi.core.Output<java.lang.String> approvedPatchesComplianceLevel)
        Parameters:
        approvedPatchesComplianceLevel - Compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid values are `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`.
        Returns:
        builder
      • approvedPatchesComplianceLevel

        public PatchBaselineArgs.Builder approvedPatchesComplianceLevel​(java.lang.String approvedPatchesComplianceLevel)
        Parameters:
        approvedPatchesComplianceLevel - Compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid values are `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, `INFORMATIONAL`, `UNSPECIFIED`. The default value is `UNSPECIFIED`.
        Returns:
        builder
      • approvedPatchesEnableNonSecurity

        public PatchBaselineArgs.Builder approvedPatchesEnableNonSecurity​(@Nullable
                                                                          com.pulumi.core.Output<java.lang.Boolean> approvedPatchesEnableNonSecurity)
        Parameters:
        approvedPatchesEnableNonSecurity - Whether the list of approved patches includes non-security updates that should be applied to the instances. Applies to Linux instances only.
        Returns:
        builder
      • approvedPatchesEnableNonSecurity

        public PatchBaselineArgs.Builder approvedPatchesEnableNonSecurity​(java.lang.Boolean approvedPatchesEnableNonSecurity)
        Parameters:
        approvedPatchesEnableNonSecurity - Whether the list of approved patches includes non-security updates that should be applied to the instances. Applies to Linux instances only.
        Returns:
        builder
      • availableSecurityUpdatesComplianceStatus

        public PatchBaselineArgs.Builder availableSecurityUpdatesComplianceStatus​(@Nullable
                                                                                  com.pulumi.core.Output<java.lang.String> availableSecurityUpdatesComplianceStatus)
        Parameters:
        availableSecurityUpdatesComplianceStatus - Indicates the compliance status of managed nodes for which security-related patches are available but were not approved. Supported for Windows Server managed nodes only. Valid values are `COMPLIANT`, `NON_COMPLIANT`.
        Returns:
        builder
      • availableSecurityUpdatesComplianceStatus

        public PatchBaselineArgs.Builder availableSecurityUpdatesComplianceStatus​(java.lang.String availableSecurityUpdatesComplianceStatus)
        Parameters:
        availableSecurityUpdatesComplianceStatus - Indicates the compliance status of managed nodes for which security-related patches are available but were not approved. Supported for Windows Server managed nodes only. Valid values are `COMPLIANT`, `NON_COMPLIANT`.
        Returns:
        builder
      • description

        public PatchBaselineArgs.Builder description​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the patch baseline.
        Returns:
        builder
      • description

        public PatchBaselineArgs.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the patch baseline.
        Returns:
        builder
      • globalFilters

        public PatchBaselineArgs.Builder globalFilters​(@Nullable
                                                       com.pulumi.core.Output<java.util.List<PatchBaselineGlobalFilterArgs>> globalFilters)
        Parameters:
        globalFilters - Set of global filters used to exclude patches from the baseline. Up to 4 global filters can be specified using Key/Value pairs. Valid Keys are `PRODUCT`, `CLASSIFICATION`, `MSRC_SEVERITY`, and `PATCH_ID`.
        Returns:
        builder
      • globalFilters

        public PatchBaselineArgs.Builder globalFilters​(java.util.List<PatchBaselineGlobalFilterArgs> globalFilters)
        Parameters:
        globalFilters - Set of global filters used to exclude patches from the baseline. Up to 4 global filters can be specified using Key/Value pairs. Valid Keys are `PRODUCT`, `CLASSIFICATION`, `MSRC_SEVERITY`, and `PATCH_ID`.
        Returns:
        builder
      • globalFilters

        public PatchBaselineArgs.Builder globalFilters​(PatchBaselineGlobalFilterArgs... globalFilters)
        Parameters:
        globalFilters - Set of global filters used to exclude patches from the baseline. Up to 4 global filters can be specified using Key/Value pairs. Valid Keys are `PRODUCT`, `CLASSIFICATION`, `MSRC_SEVERITY`, and `PATCH_ID`.
        Returns:
        builder
      • name

        public PatchBaselineArgs.Builder name​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the patch baseline. The following arguments are optional:
        Returns:
        builder
      • name

        public PatchBaselineArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the patch baseline. The following arguments are optional:
        Returns:
        builder
      • operatingSystem

        public PatchBaselineArgs.Builder operatingSystem​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> operatingSystem)
        Parameters:
        operatingSystem - Operating system the patch baseline applies to. Valid values are `ALMA_LINUX`, `AMAZON_LINUX`, `AMAZON_LINUX_2`, `AMAZON_LINUX_2022`, `AMAZON_LINUX_2023`, `CENTOS`, `DEBIAN`, `MACOS`, `ORACLE_LINUX`, `RASPBIAN`, `REDHAT_ENTERPRISE_LINUX`, `ROCKY_LINUX`, `SUSE`, `UBUNTU`, and `WINDOWS`. The default value is `WINDOWS`.
        Returns:
        builder
      • operatingSystem

        public PatchBaselineArgs.Builder operatingSystem​(java.lang.String operatingSystem)
        Parameters:
        operatingSystem - Operating system the patch baseline applies to. Valid values are `ALMA_LINUX`, `AMAZON_LINUX`, `AMAZON_LINUX_2`, `AMAZON_LINUX_2022`, `AMAZON_LINUX_2023`, `CENTOS`, `DEBIAN`, `MACOS`, `ORACLE_LINUX`, `RASPBIAN`, `REDHAT_ENTERPRISE_LINUX`, `ROCKY_LINUX`, `SUSE`, `UBUNTU`, and `WINDOWS`. The default value is `WINDOWS`.
        Returns:
        builder
      • region

        public PatchBaselineArgs.Builder region​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public PatchBaselineArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • rejectedPatches

        public PatchBaselineArgs.Builder rejectedPatches​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<java.lang.String>> rejectedPatches)
        Parameters:
        rejectedPatches - List of rejected patches.
        Returns:
        builder
      • rejectedPatches

        public PatchBaselineArgs.Builder rejectedPatches​(java.util.List<java.lang.String> rejectedPatches)
        Parameters:
        rejectedPatches - List of rejected patches.
        Returns:
        builder
      • rejectedPatches

        public PatchBaselineArgs.Builder rejectedPatches​(java.lang.String... rejectedPatches)
        Parameters:
        rejectedPatches - List of rejected patches.
        Returns:
        builder
      • rejectedPatchesAction

        public PatchBaselineArgs.Builder rejectedPatchesAction​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> rejectedPatchesAction)
        Parameters:
        rejectedPatchesAction - Action for Patch Manager to take on patches included in the `rejectedPatches` list. Valid values are `ALLOW_AS_DEPENDENCY` and `BLOCK`.
        Returns:
        builder
      • rejectedPatchesAction

        public PatchBaselineArgs.Builder rejectedPatchesAction​(java.lang.String rejectedPatchesAction)
        Parameters:
        rejectedPatchesAction - Action for Patch Manager to take on patches included in the `rejectedPatches` list. Valid values are `ALLOW_AS_DEPENDENCY` and `BLOCK`.
        Returns:
        builder
      • sources

        public PatchBaselineArgs.Builder sources​(@Nullable
                                                 com.pulumi.core.Output<java.util.List<PatchBaselineSourceArgs>> sources)
        Parameters:
        sources - Configuration block with alternate sources for patches. Applies to Linux instances only. See `source` below.
        Returns:
        builder
      • sources

        public PatchBaselineArgs.Builder sources​(java.util.List<PatchBaselineSourceArgs> sources)
        Parameters:
        sources - Configuration block with alternate sources for patches. Applies to Linux instances only. See `source` below.
        Returns:
        builder
      • sources

        public PatchBaselineArgs.Builder sources​(PatchBaselineSourceArgs... sources)
        Parameters:
        sources - Configuration block with alternate sources for patches. Applies to Linux instances only. See `source` below.
        Returns:
        builder
      • tags

        public PatchBaselineArgs.Builder tags​(@Nullable
                                              com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public PatchBaselineArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder