@Stability(value=Experimental) public static final class GitHubOptions.Builder extends Object implements software.amazon.jsii.Builder<GitHubOptions>
GitHubOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GitHubOptions |
build()
Builds the configured instance.
|
GitHubOptions.Builder |
mergify(Boolean mergify)
Sets the value of
GitHubOptions.getMergify() |
GitHubOptions.Builder |
mergifyOptions(MergifyOptions mergifyOptions)
Sets the value of
GitHubOptions.getMergifyOptions() |
GitHubOptions.Builder |
pullRequestLint(Boolean pullRequestLint)
Sets the value of
GitHubOptions.getPullRequestLint() |
GitHubOptions.Builder |
pullRequestLintOptions(PullRequestLintOptions pullRequestLintOptions)
Sets the value of
GitHubOptions.getPullRequestLintOptions() |
GitHubOptions.Builder |
workflows(Boolean workflows)
Sets the value of
GitHubOptions.getWorkflows() |
@Stability(value=Experimental) public GitHubOptions.Builder mergify(Boolean mergify)
GitHubOptions.getMergify()mergify - Whether mergify should be enabled on this repository or not.this@Stability(value=Experimental) public GitHubOptions.Builder mergifyOptions(MergifyOptions mergifyOptions)
GitHubOptions.getMergifyOptions()mergifyOptions - Options for Mergify.this@Stability(value=Experimental) public GitHubOptions.Builder pullRequestLint(Boolean pullRequestLint)
GitHubOptions.getPullRequestLint()pullRequestLint - Add a workflow that performs basic checks for pull requests, like validating that PRs follow Conventional Commits.this@Stability(value=Experimental) public GitHubOptions.Builder pullRequestLintOptions(PullRequestLintOptions pullRequestLintOptions)
GitHubOptions.getPullRequestLintOptions()pullRequestLintOptions - Options for configuring a pull request linter.this@Stability(value=Experimental) public GitHubOptions.Builder workflows(Boolean workflows)
GitHubOptions.getWorkflows()workflows - Enables GitHub workflows.
If this is set to false, workflows will not be created.this@Stability(value=Experimental) public GitHubOptions build()
build in interface software.amazon.jsii.Builder<GitHubOptions>GitHubOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.