Class ScheduleArgs.Builder

  • Enclosing class:
    ScheduleArgs

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

      • Builder

        public Builder()
    • Method Detail

      • autoscalingGroupName

        public ScheduleArgs.Builder autoscalingGroupName​(com.pulumi.core.Output<java.lang.String> autoscalingGroupName)
        Parameters:
        autoscalingGroupName - The name of the Auto Scaling group.
        Returns:
        builder
      • autoscalingGroupName

        public ScheduleArgs.Builder autoscalingGroupName​(java.lang.String autoscalingGroupName)
        Parameters:
        autoscalingGroupName - The name of the Auto Scaling group.
        Returns:
        builder
      • desiredCapacity

        public ScheduleArgs.Builder desiredCapacity​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Integer> desiredCapacity)
        Parameters:
        desiredCapacity - The initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain. Set to `-1` if you don't want to change the desired capacity at the scheduled time. Defaults to `0`.
        Returns:
        builder
      • desiredCapacity

        public ScheduleArgs.Builder desiredCapacity​(java.lang.Integer desiredCapacity)
        Parameters:
        desiredCapacity - The initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain. Set to `-1` if you don't want to change the desired capacity at the scheduled time. Defaults to `0`.
        Returns:
        builder
      • endTime

        public ScheduleArgs.Builder endTime​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> endTime)
        Parameters:
        endTime - The date and time for the recurring schedule to end, in UTC with the format `"YYYY-MM-DDThh:mm:ssZ"` (e.g. `"2021-06-01T00:00:00Z"`).
        Returns:
        builder
      • endTime

        public ScheduleArgs.Builder endTime​(java.lang.String endTime)
        Parameters:
        endTime - The date and time for the recurring schedule to end, in UTC with the format `"YYYY-MM-DDThh:mm:ssZ"` (e.g. `"2021-06-01T00:00:00Z"`).
        Returns:
        builder
      • maxSize

        public ScheduleArgs.Builder maxSize​(@Nullable
                                            com.pulumi.core.Output<java.lang.Integer> maxSize)
        Parameters:
        maxSize - The maximum size of the Auto Scaling group. Set to `-1` if you don't want to change the maximum size at the scheduled time. Defaults to `0`.
        Returns:
        builder
      • maxSize

        public ScheduleArgs.Builder maxSize​(java.lang.Integer maxSize)
        Parameters:
        maxSize - The maximum size of the Auto Scaling group. Set to `-1` if you don't want to change the maximum size at the scheduled time. Defaults to `0`.
        Returns:
        builder
      • minSize

        public ScheduleArgs.Builder minSize​(@Nullable
                                            com.pulumi.core.Output<java.lang.Integer> minSize)
        Parameters:
        minSize - The minimum size of the Auto Scaling group. Set to `-1` if you don't want to change the minimum size at the scheduled time. Defaults to `0`.
        Returns:
        builder
      • minSize

        public ScheduleArgs.Builder minSize​(java.lang.Integer minSize)
        Parameters:
        minSize - The minimum size of the Auto Scaling group. Set to `-1` if you don't want to change the minimum size at the scheduled time. Defaults to `0`.
        Returns:
        builder
      • recurrence

        public ScheduleArgs.Builder recurrence​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> recurrence)
        Parameters:
        recurrence - The recurring schedule for this action specified using the Unix cron syntax format.
        Returns:
        builder
      • recurrence

        public ScheduleArgs.Builder recurrence​(java.lang.String recurrence)
        Parameters:
        recurrence - The recurring schedule for this action specified using the Unix cron syntax format.
        Returns:
        builder
      • region

        public ScheduleArgs.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 ScheduleArgs.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
      • scheduledActionName

        public ScheduleArgs.Builder scheduledActionName​(com.pulumi.core.Output<java.lang.String> scheduledActionName)
        Parameters:
        scheduledActionName - The name of this scaling action. The following arguments are optional:
        Returns:
        builder
      • scheduledActionName

        public ScheduleArgs.Builder scheduledActionName​(java.lang.String scheduledActionName)
        Parameters:
        scheduledActionName - The name of this scaling action. The following arguments are optional:
        Returns:
        builder
      • startTime

        public ScheduleArgs.Builder startTime​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> startTime)
        Parameters:
        startTime - The date and time for the recurring schedule to start, in UTC with the format `"YYYY-MM-DDThh:mm:ssZ"` (e.g. `"2021-06-01T00:00:00Z"`).
        Returns:
        builder
      • startTime

        public ScheduleArgs.Builder startTime​(java.lang.String startTime)
        Parameters:
        startTime - The date and time for the recurring schedule to start, in UTC with the format `"YYYY-MM-DDThh:mm:ssZ"` (e.g. `"2021-06-01T00:00:00Z"`).
        Returns:
        builder
      • timeZone

        public ScheduleArgs.Builder timeZone​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> timeZone)
        Parameters:
        timeZone - Specifies the time zone for a cron expression. Valid values are the canonical names of the IANA time zones (such as `Etc/GMT+9` or `Pacific/Tahiti`). > **NOTE:** When `startTime` and `endTime` are specified with `recurrence` , they form the boundaries of when the recurring action will start and stop.
        Returns:
        builder
      • timeZone

        public ScheduleArgs.Builder timeZone​(java.lang.String timeZone)
        Parameters:
        timeZone - Specifies the time zone for a cron expression. Valid values are the canonical names of the IANA time zones (such as `Etc/GMT+9` or `Pacific/Tahiti`). > **NOTE:** When `startTime` and `endTime` are specified with `recurrence` , they form the boundaries of when the recurring action will start and stop.
        Returns:
        builder