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