Class CfnScheduleMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.databrew.CfnScheduleMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScheduleMixinProps>
- Enclosing interface:
CfnScheduleMixinProps
@Stability(Stable)
public static final class CfnScheduleMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScheduleMixinProps>
A builder for
CfnScheduleMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cronExpression(String cronExpression) Sets the value ofCfnScheduleMixinProps.getCronExpression()Sets the value ofCfnScheduleMixinProps.getJobNames()Sets the value ofCfnScheduleMixinProps.getName()Sets the value ofCfnScheduleMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cronExpression
Sets the value ofCfnScheduleMixinProps.getCronExpression()- Parameters:
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 .- Returns:
this
-
jobNames
Sets the value ofCfnScheduleMixinProps.getJobNames()- Parameters:
jobNames- A list of jobs to be run, according to the schedule.- Returns:
this
-
name
Sets the value ofCfnScheduleMixinProps.getName()- Parameters:
name- The name of the schedule.- Returns:
this
-
tags
Sets the value ofCfnScheduleMixinProps.getTags()- Parameters:
tags- Metadata tags that have been applied to the schedule.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScheduleMixinProps>- Returns:
- a new instance of
CfnScheduleMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-