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