Class CreateScheduledActionRequest

    • Method Detail

      • scheduledActionName

        public final String scheduledActionName()

        The name of the scheduled action. The name must be unique within an account. For more information about this parameter, see ScheduledAction.

        Returns:
        The name of the scheduled action. The name must be unique within an account. For more information about this parameter, see ScheduledAction.
      • targetAction

        public final ScheduledActionType targetAction()

        A JSON format string of the Amazon Redshift API operation with input parameters. For more information about this parameter, see ScheduledAction.

        Returns:
        A JSON format string of the Amazon Redshift API operation with input parameters. For more information about this parameter, see ScheduledAction.
      • schedule

        public final String schedule()

        The schedule in at( ) or cron( ) format. For more information about this parameter, see ScheduledAction.

        Returns:
        The schedule in at( ) or cron( ) format. For more information about this parameter, see ScheduledAction.
      • iamRole

        public final String iamRole()

        The IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.

        Returns:
        The IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.
      • scheduledActionDescription

        public final String scheduledActionDescription()

        The description of the scheduled action.

        Returns:
        The description of the scheduled action.
      • startTime

        public final Instant startTime()

        The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.

        Returns:
        The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.
      • endTime

        public final Instant endTime()

        The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.

        Returns:
        The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger. For more information about this parameter, see ScheduledAction.
      • enable

        public final Boolean enable()

        If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information about state of the scheduled action, see ScheduledAction.

        Returns:
        If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information about state of the scheduled action, see ScheduledAction.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object