Class ScheduledActionState.Builder
- java.lang.Object
-
- com.pulumi.aws.appautoscaling.inputs.ScheduledActionState.Builder
-
- Enclosing class:
- ScheduledActionState
public static final class ScheduledActionState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ScheduledActionState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduledActionState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
ScheduledActionState.Builder
arn(java.lang.String arn)
ScheduledActionState
build()
ScheduledActionState.Builder
endTime(com.pulumi.core.Output<java.lang.String> endTime)
ScheduledActionState.Builder
endTime(java.lang.String endTime)
ScheduledActionState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
ScheduledActionState.Builder
name(java.lang.String name)
ScheduledActionState.Builder
resourceId(com.pulumi.core.Output<java.lang.String> resourceId)
ScheduledActionState.Builder
resourceId(java.lang.String resourceId)
ScheduledActionState.Builder
scalableDimension(com.pulumi.core.Output<java.lang.String> scalableDimension)
ScheduledActionState.Builder
scalableDimension(java.lang.String scalableDimension)
ScheduledActionState.Builder
scalableTargetAction(ScheduledActionScalableTargetActionArgs scalableTargetAction)
ScheduledActionState.Builder
scalableTargetAction(com.pulumi.core.Output<ScheduledActionScalableTargetActionArgs> scalableTargetAction)
ScheduledActionState.Builder
schedule(com.pulumi.core.Output<java.lang.String> schedule)
ScheduledActionState.Builder
schedule(java.lang.String schedule)
ScheduledActionState.Builder
serviceNamespace(com.pulumi.core.Output<java.lang.String> serviceNamespace)
ScheduledActionState.Builder
serviceNamespace(java.lang.String serviceNamespace)
ScheduledActionState.Builder
startTime(com.pulumi.core.Output<java.lang.String> startTime)
ScheduledActionState.Builder
startTime(java.lang.String startTime)
ScheduledActionState.Builder
timezone(com.pulumi.core.Output<java.lang.String> timezone)
ScheduledActionState.Builder
timezone(java.lang.String timezone)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ScheduledActionState defaults)
-
-
Method Detail
-
arn
public ScheduledActionState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn
- ARN of the scheduled action.- Returns:
- builder
-
arn
public ScheduledActionState.Builder arn(java.lang.String arn)
- Parameters:
arn
- ARN of the scheduled action.- Returns:
- builder
-
endTime
public ScheduledActionState.Builder endTime(@Nullable com.pulumi.core.Output<java.lang.String> endTime)
- Parameters:
endTime
- Date and time for the scheduled action to end in RFC 3339 format. The timezone is not affected by the setting of `timezone`.- Returns:
- builder
-
endTime
public ScheduledActionState.Builder endTime(java.lang.String endTime)
- Parameters:
endTime
- Date and time for the scheduled action to end in RFC 3339 format. The timezone is not affected by the setting of `timezone`.- Returns:
- builder
-
name
public ScheduledActionState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- Name of the scheduled action.- Returns:
- builder
-
name
public ScheduledActionState.Builder name(java.lang.String name)
- Parameters:
name
- Name of the scheduled action.- Returns:
- builder
-
resourceId
public ScheduledActionState.Builder resourceId(@Nullable com.pulumi.core.Output<java.lang.String> resourceId)
- Parameters:
resourceId
- Identifier of the resource associated with the scheduled action. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html)- Returns:
- builder
-
resourceId
public ScheduledActionState.Builder resourceId(java.lang.String resourceId)
- Parameters:
resourceId
- Identifier of the resource associated with the scheduled action. Documentation can be found in the `ResourceId` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html)- Returns:
- builder
-
scalableDimension
public ScheduledActionState.Builder scalableDimension(@Nullable com.pulumi.core.Output<java.lang.String> scalableDimension)
- Parameters:
scalableDimension
- Scalable dimension. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Example: ecs:service:DesiredCount- Returns:
- builder
-
scalableDimension
public ScheduledActionState.Builder scalableDimension(java.lang.String scalableDimension)
- Parameters:
scalableDimension
- Scalable dimension. Documentation can be found in the `ScalableDimension` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Example: ecs:service:DesiredCount- Returns:
- builder
-
scalableTargetAction
public ScheduledActionState.Builder scalableTargetAction(@Nullable com.pulumi.core.Output<ScheduledActionScalableTargetActionArgs> scalableTargetAction)
- Parameters:
scalableTargetAction
- New minimum and maximum capacity. You can set both values or just one. See below- Returns:
- builder
-
scalableTargetAction
public ScheduledActionState.Builder scalableTargetAction(ScheduledActionScalableTargetActionArgs scalableTargetAction)
- Parameters:
scalableTargetAction
- New minimum and maximum capacity. You can set both values or just one. See below- Returns:
- builder
-
schedule
public ScheduledActionState.Builder schedule(@Nullable com.pulumi.core.Output<java.lang.String> schedule)
- Parameters:
schedule
- Schedule for this action. The following formats are supported: At expressions - at(yyyy-mm-ddThh:mm:ss), Rate expressions - rate(valueunit), Cron expressions - cron(fields). Times for at expressions and cron expressions are evaluated using the time zone configured in `timezone`. Documentation can be found in the `Timezone` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html)- Returns:
- builder
-
schedule
public ScheduledActionState.Builder schedule(java.lang.String schedule)
- Parameters:
schedule
- Schedule for this action. The following formats are supported: At expressions - at(yyyy-mm-ddThh:mm:ss), Rate expressions - rate(valueunit), Cron expressions - cron(fields). Times for at expressions and cron expressions are evaluated using the time zone configured in `timezone`. Documentation can be found in the `Timezone` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html)- Returns:
- builder
-
serviceNamespace
public ScheduledActionState.Builder serviceNamespace(@Nullable com.pulumi.core.Output<java.lang.String> serviceNamespace)
- Parameters:
serviceNamespace
- Namespace of the AWS service. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Example: ecs- Returns:
- builder
-
serviceNamespace
public ScheduledActionState.Builder serviceNamespace(java.lang.String serviceNamespace)
- Parameters:
serviceNamespace
- Namespace of the AWS service. Documentation can be found in the `ServiceNamespace` parameter at: [AWS Application Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/application/APIReference/API_PutScheduledAction.html) Example: ecs- Returns:
- builder
-
startTime
public ScheduledActionState.Builder startTime(@Nullable com.pulumi.core.Output<java.lang.String> startTime)
- Parameters:
startTime
- Date and time for the scheduled action to start in RFC 3339 format. The timezone is not affected by the setting of `timezone`.- Returns:
- builder
-
startTime
public ScheduledActionState.Builder startTime(java.lang.String startTime)
- Parameters:
startTime
- Date and time for the scheduled action to start in RFC 3339 format. The timezone is not affected by the setting of `timezone`.- Returns:
- builder
-
timezone
public ScheduledActionState.Builder timezone(@Nullable com.pulumi.core.Output<java.lang.String> timezone)
- Parameters:
timezone
- Time zone used when setting a scheduled action by using an at or cron expression. Does not affect timezone for `start_time` and `end_time`. Valid values are the [canonical names of the IANA time zones supported by Joda-Time](https://www.joda.org/joda-time/timezones.html), such as `Etc/GMT+9` or `Pacific/Tahiti`. Default is `UTC`.- Returns:
- builder
-
timezone
public ScheduledActionState.Builder timezone(java.lang.String timezone)
- Parameters:
timezone
- Time zone used when setting a scheduled action by using an at or cron expression. Does not affect timezone for `start_time` and `end_time`. Valid values are the [canonical names of the IANA time zones supported by Joda-Time](https://www.joda.org/joda-time/timezones.html), such as `Etc/GMT+9` or `Pacific/Tahiti`. Default is `UTC`.- Returns:
- builder
-
build
public ScheduledActionState build()
-
-