@Stability(value=Experimental) public static final class GitPublishOptions.Builder extends Object implements software.amazon.jsii.Builder<GitPublishOptions>
GitPublishOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GitPublishOptions |
build()
Builds the configured instance.
|
GitPublishOptions.Builder |
changelogFile(String changelogFile)
Sets the value of
GitPublishOptions.getChangelogFile() |
GitPublishOptions.Builder |
gitBranch(String gitBranch)
Sets the value of
GitPublishOptions.getGitBranch() |
GitPublishOptions.Builder |
gitPushCommand(String gitPushCommand)
Sets the value of
GitPublishOptions.getGitPushCommand() |
GitPublishOptions.Builder |
projectChangelogFile(String projectChangelogFile)
Sets the value of
GitPublishOptions.getProjectChangelogFile() |
GitPublishOptions.Builder |
releaseTagFile(String releaseTagFile)
Sets the value of
GitPublishOptions.getReleaseTagFile() |
GitPublishOptions.Builder |
versionFile(String versionFile)
Sets the value of
GitPublishOptions.getVersionFile() |
@Stability(value=Experimental) public GitPublishOptions.Builder changelogFile(String changelogFile)
GitPublishOptions.getChangelogFile()changelogFile - The location of an .md file (relative to `dist/`) that includes the changelog for the release. This parameter is required.this@Stability(value=Experimental) public GitPublishOptions.Builder releaseTagFile(String releaseTagFile)
GitPublishOptions.getReleaseTagFile()releaseTagFile - The location of a text file (relative to `dist/`) that contains the release tag. This parameter is required.this@Stability(value=Experimental) public GitPublishOptions.Builder versionFile(String versionFile)
GitPublishOptions.getVersionFile()versionFile - The location of a text file (relative to `dist/`) that contains the version number. This parameter is required.this@Stability(value=Experimental) public GitPublishOptions.Builder gitBranch(String gitBranch)
GitPublishOptions.getGitBranch()gitBranch - Branch to push to.this@Stability(value=Experimental) public GitPublishOptions.Builder gitPushCommand(String gitPushCommand)
GitPublishOptions.getGitPushCommand()gitPushCommand - Override git-push command.
Set to an empty string to disable pushing.this@Stability(value=Experimental) public GitPublishOptions.Builder projectChangelogFile(String projectChangelogFile)
GitPublishOptions.getProjectChangelogFile()projectChangelogFile - The location of an .md file that includes the project-level changelog.this@Stability(value=Experimental) public GitPublishOptions build()
build in interface software.amazon.jsii.Builder<GitPublishOptions>GitPublishOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.