Class ScheduledActionState.Builder

  • Enclosing class:
    ScheduledActionState

    public static final class ScheduledActionState.Builder
    extends java.lang.Object
    • 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
      • 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
      • 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