Package com.pulumi.aws.autoscaling
Class ScheduleArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.autoscaling.ScheduleArgs.Builder
-
- Enclosing class:
- ScheduleArgs
public static final class ScheduleArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ScheduleArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleArgs.BuilderautoscalingGroupName(com.pulumi.core.Output<java.lang.String> autoscalingGroupName)ScheduleArgs.BuilderautoscalingGroupName(java.lang.String autoscalingGroupName)ScheduleArgsbuild()ScheduleArgs.BuilderdesiredCapacity(com.pulumi.core.Output<java.lang.Integer> desiredCapacity)ScheduleArgs.BuilderdesiredCapacity(java.lang.Integer desiredCapacity)ScheduleArgs.BuilderendTime(com.pulumi.core.Output<java.lang.String> endTime)ScheduleArgs.BuilderendTime(java.lang.String endTime)ScheduleArgs.BuildermaxSize(com.pulumi.core.Output<java.lang.Integer> maxSize)ScheduleArgs.BuildermaxSize(java.lang.Integer maxSize)ScheduleArgs.BuilderminSize(com.pulumi.core.Output<java.lang.Integer> minSize)ScheduleArgs.BuilderminSize(java.lang.Integer minSize)ScheduleArgs.Builderrecurrence(com.pulumi.core.Output<java.lang.String> recurrence)ScheduleArgs.Builderrecurrence(java.lang.String recurrence)ScheduleArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)ScheduleArgs.Builderregion(java.lang.String region)ScheduleArgs.BuilderscheduledActionName(com.pulumi.core.Output<java.lang.String> scheduledActionName)ScheduleArgs.BuilderscheduledActionName(java.lang.String scheduledActionName)ScheduleArgs.BuilderstartTime(com.pulumi.core.Output<java.lang.String> startTime)ScheduleArgs.BuilderstartTime(java.lang.String startTime)ScheduleArgs.BuildertimeZone(com.pulumi.core.Output<java.lang.String> timeZone)ScheduleArgs.BuildertimeZone(java.lang.String timeZone)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ScheduleArgs defaults)
-
-
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
-
build
public ScheduleArgs build()
-
-