@Stability(value=Experimental) public static final class PullRequestTargetOptions.Builder extends Object implements software.amazon.jsii.Builder<PullRequestTargetOptions>
PullRequestTargetOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PullRequestTargetOptions.Builder |
branches(List<String> branches)
Sets the value of
PushOptions.getBranches() |
PullRequestTargetOptions |
build()
Builds the configured instance.
|
PullRequestTargetOptions.Builder |
paths(List<String> paths)
Sets the value of
PushOptions.getPaths() |
PullRequestTargetOptions.Builder |
tags(List<String> tags)
Sets the value of
PushOptions.getTags() |
PullRequestTargetOptions.Builder |
types(List<String> types)
Sets the value of
PullRequestTargetOptions.getTypes() |
@Stability(value=Experimental) public PullRequestTargetOptions.Builder types(List<String> types)
PullRequestTargetOptions.getTypes()types - Which activity types to trigger on.this@Stability(value=Experimental) public PullRequestTargetOptions.Builder branches(List<String> branches)
PushOptions.getBranches()branches - When using the push and pull_request events, you can configure a workflow to run on specific branches or tags.
For a pull_request event, only
branches and tags on the base are evaluated. If you define only tags or
only branches, the workflow won't run for events affecting the undefined
Git ref.this@Stability(value=Experimental) public PullRequestTargetOptions.Builder paths(List<String> paths)
PushOptions.getPaths()paths - When using the push and pull_request events, you can configure a workflow to run when at least one file does not match paths-ignore or at least one modified file matches the configured paths.
Path filters are not
evaluated for pushes to tags.this@Stability(value=Experimental) public PullRequestTargetOptions.Builder tags(List<String> tags)
PushOptions.getTags()tags - When using the push and pull_request events, you can configure a workflow to run on specific branches or tags.
For a pull_request event, only
branches and tags on the base are evaluated. If you define only tags or
only branches, the workflow won't run for events affecting the undefined
Git ref.this@Stability(value=Experimental) public PullRequestTargetOptions build()
build in interface software.amazon.jsii.Builder<PullRequestTargetOptions>PullRequestTargetOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.