public static final class CfnSchedule.Builder
extends java.lang.Object
CfnSchedule
.Modifier and Type | Method and Description |
---|---|
CfnSchedule |
build() |
static CfnSchedule.Builder |
create(Construct scope,
java.lang.String id) |
CfnSchedule.Builder |
cronExpression(java.lang.String cronExpression)
The dates and times when the job is to run.
|
CfnSchedule.Builder |
jobNames(java.util.List<java.lang.String> jobNames)
A list of jobs to be run, according to the schedule.
|
CfnSchedule.Builder |
name(java.lang.String name)
The name of the schedule.
|
CfnSchedule.Builder |
tags(java.util.List<? extends CfnTag> tags)
Metadata tags that have been applied to the schedule.
|
public static CfnSchedule.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnSchedule.Builder
.public CfnSchedule.Builder cronExpression(java.lang.String cronExpression)
For more information, see Working with cron expressions for recipe jobs in the AWS Glue DataBrew Developer Guide .
cronExpression
- The dates and times when the job is to run. This parameter is required.this
public CfnSchedule.Builder name(java.lang.String name)
name
- The name of the schedule. This parameter is required.this
public CfnSchedule.Builder jobNames(java.util.List<java.lang.String> jobNames)
jobNames
- A list of jobs to be run, according to the schedule. This parameter is required.this
public CfnSchedule.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- Metadata tags that have been applied to the schedule. This parameter is required.this
public CfnSchedule build()