Class CfnSchedule.Builder

java.lang.Object
software.amazon.awscdk.services.databrew.CfnSchedule.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchedule>
Enclosing class:
CfnSchedule

@Stability(Stable) public static final class CfnSchedule.Builder extends Object implements software.amazon.jsii.Builder<CfnSchedule>
A fluent builder for CfnSchedule.
  • Method Details

    • create

      @Stability(Stable) public static CfnSchedule.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnSchedule.Builder.
    • cronExpression

      @Stability(Stable) public CfnSchedule.Builder cronExpression(String cronExpression)
      The dates and times when the job is to run.

      For more information, see Working with cron expressions for recipe jobs in the AWS Glue DataBrew Developer Guide .

      Parameters:
      cronExpression - The dates and times when the job is to run. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnSchedule.Builder name(String name)
      The name of the schedule.

      Parameters:
      name - The name of the schedule. This parameter is required.
      Returns:
      this
    • jobNames

      @Stability(Stable) public CfnSchedule.Builder jobNames(List<String> jobNames)
      A list of jobs to be run, according to the schedule.

      Parameters:
      jobNames - A list of jobs to be run, according to the schedule. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnSchedule.Builder tags(List<? extends CfnTag> tags)
      Metadata tags that have been applied to the schedule.

      Parameters:
      tags - Metadata tags that have been applied to the schedule. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnSchedule build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnSchedule>
      Returns:
      a newly built instance of CfnSchedule.