Interface Schedule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Schedule.Builder,Schedule>,SdkBuilder<Schedule.Builder,Schedule>,SdkPojo
- Enclosing class:
- Schedule
public static interface Schedule.Builder extends SdkPojo, CopyableBuilder<Schedule.Builder,Schedule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Schedule.Builderat(Instant at)The timestamp of when Amazon Redshift Serverless should run the scheduled action.Schedule.Buildercron(String cron)The cron expression to use to schedule a recurring scheduled action.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
-
-