Package io.github.cdklabs.projen.gitlab
Class Workflow.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.gitlab.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.Builderrules(List<? extends WorkflowRule> rules)Sets the value ofWorkflow.getRules()
-
-
-
Method Detail
-
rules
@Stability(Experimental) public Workflow.Builder rules(List<? extends WorkflowRule> rules)
Sets the value ofWorkflow.getRules()- Parameters:
rules- Used to control whether or not a whole pipeline is created.- 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
-
-