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