Class WorkflowRunOptions.Builder
- java.lang.Object
-
- io.github.cdklabs.cdkpipelines.github.WorkflowRunOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<WorkflowRunOptions>
- Enclosing interface:
- WorkflowRunOptions
@Stability(Stable) public static final class WorkflowRunOptions.Builder extends Object implements software.amazon.jsii.Builder<WorkflowRunOptions>
A builder forWorkflowRunOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowRunOptionsbuild()Builds the configured instance.WorkflowRunOptions.Buildertypes(List<String> types)Sets the value ofWorkflowRunOptions.getTypes()
-
-
-
Method Detail
-
types
@Stability(Stable) public WorkflowRunOptions.Builder types(List<String> types)
Sets the value ofWorkflowRunOptions.getTypes()- Parameters:
types- Which activity types to trigger on.- Returns:
this
-
build
@Stability(Stable) public WorkflowRunOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WorkflowRunOptions>- Returns:
- a new instance of
WorkflowRunOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-