Package io.github.cdklabs.projen
Class GroupRunnerOptions.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.GroupRunnerOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GroupRunnerOptions>
- Enclosing interface:
- GroupRunnerOptions
@Stability(Experimental) public static final class GroupRunnerOptions.Builder extends Object implements software.amazon.jsii.Builder<GroupRunnerOptions>
A builder forGroupRunnerOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupRunnerOptionsbuild()Builds the configured instance.GroupRunnerOptions.Buildergroup(String group)Sets the value ofGroupRunnerOptions.getGroup()GroupRunnerOptions.Builderlabels(List<String> labels)Sets the value ofGroupRunnerOptions.getLabels()
-
-
-
Method Detail
-
group
@Stability(Experimental) public GroupRunnerOptions.Builder group(String group)
Sets the value ofGroupRunnerOptions.getGroup()- Parameters:
group- the value to be set. This parameter is required.- Returns:
this
-
labels
@Stability(Experimental) public GroupRunnerOptions.Builder labels(List<String> labels)
Sets the value ofGroupRunnerOptions.getLabels()- Parameters:
labels- the value to be set.- Returns:
this
-
build
@Stability(Experimental) public GroupRunnerOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GroupRunnerOptions>- Returns:
- a new instance of
GroupRunnerOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-