Package com.pulumi.gcp.compute.inputs
Class RegionAutoscalerAutoscalingPolicyScalingScheduleArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.compute.inputs.RegionAutoscalerAutoscalingPolicyScalingScheduleArgs.Builder
-
- Enclosing class:
- RegionAutoscalerAutoscalingPolicyScalingScheduleArgs
public static final class RegionAutoscalerAutoscalingPolicyScalingScheduleArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(RegionAutoscalerAutoscalingPolicyScalingScheduleArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RegionAutoscalerAutoscalingPolicyScalingScheduleArgs defaults)
-
-
Method Detail
-
description
public RegionAutoscalerAutoscalingPolicyScalingScheduleArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- An optional description of this resource.- Returns:
- builder
-
description
public RegionAutoscalerAutoscalingPolicyScalingScheduleArgs.Builder description(java.lang.String description)
- Parameters:
description
- An optional description of this resource.- Returns:
- builder
-
disabled
public RegionAutoscalerAutoscalingPolicyScalingScheduleArgs.Builder disabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> disabled)
- Parameters:
disabled
- A boolean value that specifies if a scaling schedule can influence autoscaler recommendations. If set to true, then a scaling schedule has no effect.- Returns:
- builder
-
disabled
public RegionAutoscalerAutoscalingPolicyScalingScheduleArgs.Builder disabled(java.lang.Boolean disabled)
- Parameters:
disabled
- A boolean value that specifies if a scaling schedule can influence autoscaler recommendations. If set to true, then a scaling schedule has no effect.- Returns:
- builder
-
durationSec
public RegionAutoscalerAutoscalingPolicyScalingScheduleArgs.Builder durationSec(com.pulumi.core.Output<java.lang.Integer> durationSec)
- Parameters:
durationSec
- The duration of time intervals (in seconds) for which this scaling schedule will be running. The minimum allowed value is 300.- Returns:
- builder
-
durationSec
public RegionAutoscalerAutoscalingPolicyScalingScheduleArgs.Builder durationSec(java.lang.Integer durationSec)
- Parameters:
durationSec
- The duration of time intervals (in seconds) for which this scaling schedule will be running. The minimum allowed value is 300.- Returns:
- builder
-
minRequiredReplicas
public RegionAutoscalerAutoscalingPolicyScalingScheduleArgs.Builder minRequiredReplicas(com.pulumi.core.Output<java.lang.Integer> minRequiredReplicas)
- Parameters:
minRequiredReplicas
- Minimum number of VM instances that autoscaler will recommend in time intervals starting according to schedule.- Returns:
- builder
-
minRequiredReplicas
public RegionAutoscalerAutoscalingPolicyScalingScheduleArgs.Builder minRequiredReplicas(java.lang.Integer minRequiredReplicas)
- Parameters:
minRequiredReplicas
- Minimum number of VM instances that autoscaler will recommend in time intervals starting according to schedule.- Returns:
- builder
-
name
public RegionAutoscalerAutoscalingPolicyScalingScheduleArgs.Builder name(com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The identifier for this object. Format specified above.- Returns:
- builder
-
name
public RegionAutoscalerAutoscalingPolicyScalingScheduleArgs.Builder name(java.lang.String name)
- Parameters:
name
- The identifier for this object. Format specified above.- Returns:
- builder
-
schedule
public RegionAutoscalerAutoscalingPolicyScalingScheduleArgs.Builder schedule(com.pulumi.core.Output<java.lang.String> schedule)
- Parameters:
schedule
- The start timestamps of time intervals when this scaling schedule should provide a scaling signal. This field uses the extended cron format (with an optional year field).- Returns:
- builder
-
schedule
public RegionAutoscalerAutoscalingPolicyScalingScheduleArgs.Builder schedule(java.lang.String schedule)
- Parameters:
schedule
- The start timestamps of time intervals when this scaling schedule should provide a scaling signal. This field uses the extended cron format (with an optional year field).- Returns:
- builder
-
timeZone
public RegionAutoscalerAutoscalingPolicyScalingScheduleArgs.Builder timeZone(@Nullable com.pulumi.core.Output<java.lang.String> timeZone)
- Parameters:
timeZone
- The time zone to be used when interpreting the schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database.- Returns:
- builder
-
timeZone
public RegionAutoscalerAutoscalingPolicyScalingScheduleArgs.Builder timeZone(java.lang.String timeZone)
- Parameters:
timeZone
- The time zone to be used when interpreting the schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database.- Returns:
- builder
-
build
public RegionAutoscalerAutoscalingPolicyScalingScheduleArgs build()
-
-