Class MaintenanceWindowState.Builder

  • Enclosing class:
    MaintenanceWindowState

    public static final class MaintenanceWindowState.Builder
    extends java.lang.Object
    • Method Detail

      • allowUnassociatedTargets

        public MaintenanceWindowState.Builder allowUnassociatedTargets​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.Boolean> allowUnassociatedTargets)
        Parameters:
        allowUnassociatedTargets - Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.
        Returns:
        builder
      • allowUnassociatedTargets

        public MaintenanceWindowState.Builder allowUnassociatedTargets​(java.lang.Boolean allowUnassociatedTargets)
        Parameters:
        allowUnassociatedTargets - Whether targets must be registered with the Maintenance Window before tasks can be defined for those targets.
        Returns:
        builder
      • cutoff

        public MaintenanceWindowState.Builder cutoff​(@Nullable
                                                     com.pulumi.core.Output<java.lang.Integer> cutoff)
        Parameters:
        cutoff - The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.
        Returns:
        builder
      • cutoff

        public MaintenanceWindowState.Builder cutoff​(java.lang.Integer cutoff)
        Parameters:
        cutoff - The number of hours before the end of the Maintenance Window that Systems Manager stops scheduling new tasks for execution.
        Returns:
        builder
      • description

        public MaintenanceWindowState.Builder description​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A description for the maintenance window.
        Returns:
        builder
      • description

        public MaintenanceWindowState.Builder description​(java.lang.String description)
        Parameters:
        description - A description for the maintenance window.
        Returns:
        builder
      • duration

        public MaintenanceWindowState.Builder duration​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Integer> duration)
        Parameters:
        duration - The duration of the Maintenance Window in hours.
        Returns:
        builder
      • duration

        public MaintenanceWindowState.Builder duration​(java.lang.Integer duration)
        Parameters:
        duration - The duration of the Maintenance Window in hours.
        Returns:
        builder
      • enabled

        public MaintenanceWindowState.Builder enabled​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Boolean> enabled)
        Parameters:
        enabled - Whether the maintenance window is enabled. Default: `true`.
        Returns:
        builder
      • enabled

        public MaintenanceWindowState.Builder enabled​(java.lang.Boolean enabled)
        Parameters:
        enabled - Whether the maintenance window is enabled. Default: `true`.
        Returns:
        builder
      • endDate

        public MaintenanceWindowState.Builder endDate​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> endDate)
        Parameters:
        endDate - Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to no longer run the maintenance window.
        Returns:
        builder
      • endDate

        public MaintenanceWindowState.Builder endDate​(java.lang.String endDate)
        Parameters:
        endDate - Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to no longer run the maintenance window.
        Returns:
        builder
      • name

        public MaintenanceWindowState.Builder name​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the maintenance window.
        Returns:
        builder
      • name

        public MaintenanceWindowState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the maintenance window.
        Returns:
        builder
      • schedule

        public MaintenanceWindowState.Builder schedule​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> schedule)
        Parameters:
        schedule - The schedule of the Maintenance Window in the form of a [cron or rate expression](https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html).
        Returns:
        builder
      • schedule

        public MaintenanceWindowState.Builder schedule​(java.lang.String schedule)
        Parameters:
        schedule - The schedule of the Maintenance Window in the form of a [cron or rate expression](https://docs.aws.amazon.com/systems-manager/latest/userguide/reference-cron-and-rate-expressions.html).
        Returns:
        builder
      • scheduleOffset

        public MaintenanceWindowState.Builder scheduleOffset​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Integer> scheduleOffset)
        Parameters:
        scheduleOffset - The number of days to wait after the date and time specified by a CRON expression before running the maintenance window.
        Returns:
        builder
      • scheduleOffset

        public MaintenanceWindowState.Builder scheduleOffset​(java.lang.Integer scheduleOffset)
        Parameters:
        scheduleOffset - The number of days to wait after the date and time specified by a CRON expression before running the maintenance window.
        Returns:
        builder
      • scheduleTimezone

        public MaintenanceWindowState.Builder scheduleTimezone​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> scheduleTimezone)
        Parameters:
        scheduleTimezone - Timezone for schedule in [Internet Assigned Numbers Authority (IANA) Time Zone Database format](https://www.iana.org/time-zones). For example: `America/Los_Angeles`, `etc/UTC`, or `Asia/Seoul`.
        Returns:
        builder
      • scheduleTimezone

        public MaintenanceWindowState.Builder scheduleTimezone​(java.lang.String scheduleTimezone)
        Parameters:
        scheduleTimezone - Timezone for schedule in [Internet Assigned Numbers Authority (IANA) Time Zone Database format](https://www.iana.org/time-zones). For example: `America/Los_Angeles`, `etc/UTC`, or `Asia/Seoul`.
        Returns:
        builder
      • startDate

        public MaintenanceWindowState.Builder startDate​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> startDate)
        Parameters:
        startDate - Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to begin the maintenance window.
        Returns:
        builder
      • startDate

        public MaintenanceWindowState.Builder startDate​(java.lang.String startDate)
        Parameters:
        startDate - Timestamp in [ISO-8601 extended format](https://www.iso.org/iso-8601-date-and-time-format.html) when to begin the maintenance window.
        Returns:
        builder
      • tags

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

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

        @Deprecated
        public MaintenanceWindowState.Builder tagsAll​(@Nullable
                                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public MaintenanceWindowState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder