@Stability(value=Experimental) public static final class BranchOptions.Builder extends Object implements software.amazon.jsii.Builder<BranchOptions>
BranchOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BranchOptions |
build()
Builds the configured instance.
|
BranchOptions.Builder |
majorVersion(Number majorVersion)
Sets the value of
BranchOptions.getMajorVersion() |
BranchOptions.Builder |
npmDistTag(String npmDistTag)
Sets the value of
BranchOptions.getNpmDistTag() |
BranchOptions.Builder |
prerelease(String prerelease)
Sets the value of
BranchOptions.getPrerelease() |
BranchOptions.Builder |
tagPrefix(String tagPrefix)
Sets the value of
BranchOptions.getTagPrefix() |
BranchOptions.Builder |
workflowName(String workflowName)
Sets the value of
BranchOptions.getWorkflowName() |
@Stability(value=Experimental) public BranchOptions.Builder majorVersion(Number majorVersion)
BranchOptions.getMajorVersion()majorVersion - The major versions released from this branch. This parameter is required.this@Stability(value=Experimental) public BranchOptions.Builder npmDistTag(String npmDistTag)
BranchOptions.getNpmDistTag()npmDistTag - The npm distribution tag to use for this branch.this@Stability(value=Experimental) public BranchOptions.Builder prerelease(String prerelease)
BranchOptions.getPrerelease()prerelease - Bump the version as a pre-release tag.this@Stability(value=Experimental) public BranchOptions.Builder tagPrefix(String tagPrefix)
BranchOptions.getTagPrefix()tagPrefix - Automatically add the given prefix to release tags. Useful if you are releasing on multiple branches with overlapping version numbers.
Note: this prefix is used to detect the latest tagged version
when bumping, so if you change this on a project with an existing version
history, you may need to manually tag your latest release
with the new prefix.this@Stability(value=Experimental) public BranchOptions.Builder workflowName(String workflowName)
BranchOptions.getWorkflowName()workflowName - The name of the release workflow.this@Stability(value=Experimental) public BranchOptions build()
build in interface software.amazon.jsii.Builder<BranchOptions>BranchOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.