Class Workflow.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.circleci.Workflow.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Workflowbuild()Builds the configured instance.Workflow.Builderidentifier(String identifier)Sets the value ofWorkflow.getIdentifier()Workflow.Builderjobs(List<? extends WorkflowJob> jobs)Sets the value ofWorkflow.getJobs()Workflow.Buildertriggers(List<? extends Triggers> triggers)Sets the value ofWorkflow.getTriggers()Workflow.Builderwhen(Object when)Sets the value ofWorkflow.getWhen()
-
-
-
Method Detail
-
identifier
@Stability(Experimental) public Workflow.Builder identifier(String identifier)
Sets the value ofWorkflow.getIdentifier()- Parameters:
identifier- name of dynamic key *. This parameter is required.- Returns:
this
-
jobs
@Stability(Experimental) public Workflow.Builder jobs(List<? extends WorkflowJob> jobs)
Sets the value ofWorkflow.getJobs()- Parameters:
jobs- the value to be set.- Returns:
this
-
triggers
@Stability(Experimental) public Workflow.Builder triggers(List<? extends Triggers> triggers)
Sets the value ofWorkflow.getTriggers()- Parameters:
triggers- the value to be set.- Returns:
this
-
when
@Stability(Experimental) public Workflow.Builder when(Object when)
Sets the value ofWorkflow.getWhen()- Parameters:
when- when is too dynamic to be casted to interfaces. Check Docu as reference- Returns:
this
-
build
@Stability(Experimental) public Workflow build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Workflow>- Returns:
- a new instance of
Workflow - Throws:
NullPointerException- if any required attribute was not provided
-
-