Class Schedule.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.circleci.Schedule.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Schedulebuild()Builds the configured instance.Schedule.Buildercron(String cron)Sets the value ofSchedule.getCron()Schedule.Builderfilters(Filter filters)Sets the value ofSchedule.getFilters()
-
-
-
Method Detail
-
filters
@Stability(Experimental) public Schedule.Builder filters(Filter filters)
Sets the value ofSchedule.getFilters()- Parameters:
filters- the value to be set. This parameter is required.- Returns:
this
-
cron
@Stability(Experimental) public Schedule.Builder cron(String cron)
Sets the value ofSchedule.getCron()- Parameters:
cron- The cron key is defined using POSIX crontab syntax.- Returns:
this
-
build
@Stability(Experimental) public Schedule build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Schedule>- Returns:
- a new instance of
Schedule - Throws:
NullPointerException- if any required attribute was not provided
-
-