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