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