Interface Schedule.Builder

    • Method Detail

      • at

        Schedule.Builder at​(Instant at)

        The timestamp of when Amazon Redshift Serverless should run the scheduled action. Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For example, "at(2016-03-04T17:27:00)".

        Parameters:
        at - The timestamp of when Amazon Redshift Serverless should run the scheduled action. Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)". For example, " at(2016-03-04T17:27:00)".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cron

        Schedule.Builder cron​(String cron)

        The cron expression to use to schedule a recurring scheduled action. Schedule invocations must be separated by at least one hour.

        Format of cron expressions is "cron(Minutes Hours Day-of-month Month Day-of-week Year) ". For example, "cron(0 10 ? * MON *) ". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.

        Parameters:
        cron - The cron expression to use to schedule a recurring scheduled action. Schedule invocations must be separated by at least one hour.

        Format of cron expressions is "cron(Minutes Hours Day-of-month Month Day-of-week Year) ". For example, "cron(0 10 ? * MON *) ". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.