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