Package io.github.cdklabs.projen.release
Class JsiiReleasePyPi.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.release.JsiiReleasePyPi.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<JsiiReleasePyPi>
- Enclosing interface:
- JsiiReleasePyPi
@Stability(Deprecated) @Deprecated public static final class JsiiReleasePyPi.Builder extends Object implements software.amazon.jsii.Builder<JsiiReleasePyPi>
Deprecated.A builder forJsiiReleasePyPi
-
-
Constructor Summary
Constructors Constructor Description Builder()Deprecated.
-
Method Summary
-
-
-
Method Detail
-
codeArtifactOptions
@Stability(Experimental) public JsiiReleasePyPi.Builder codeArtifactOptions(CodeArtifactOptions codeArtifactOptions)
Deprecated.Sets the value ofPyPiPublishOptions.getCodeArtifactOptions()- Parameters:
codeArtifactOptions- Options for publishing to AWS CodeArtifact.- Returns:
this
-
twinePasswordSecret
@Stability(Experimental) public JsiiReleasePyPi.Builder twinePasswordSecret(String twinePasswordSecret)
Deprecated.Sets the value ofPyPiPublishOptions.getTwinePasswordSecret()- Parameters:
twinePasswordSecret- The GitHub secret which contains PyPI password.- Returns:
this
-
twineRegistryUrl
@Stability(Experimental) public JsiiReleasePyPi.Builder twineRegistryUrl(String twineRegistryUrl)
Deprecated.Sets the value ofPyPiPublishOptions.getTwineRegistryUrl()- Parameters:
twineRegistryUrl- The registry url to use when releasing packages.- Returns:
this
-
twineUsernameSecret
@Stability(Experimental) public JsiiReleasePyPi.Builder twineUsernameSecret(String twineUsernameSecret)
Deprecated.Sets the value ofPyPiPublishOptions.getTwineUsernameSecret()- Parameters:
twineUsernameSecret- The GitHub secret which contains PyPI user name.- Returns:
this
-
postPublishSteps
@Stability(Experimental) public JsiiReleasePyPi.Builder postPublishSteps(List<? extends JobStep> postPublishSteps)
Deprecated.Sets the value ofCommonPublishOptions.getPostPublishSteps()- Parameters:
postPublishSteps- Steps to execute after executing the publishing command. These can be used to add/update the release artifacts ot any other tasks needed.Note that when using this in
publishToGitHubReleasesthis will override steps added viaaddGitHubPostPublishingSteps.- Returns:
this
-
prePublishSteps
@Stability(Experimental) public JsiiReleasePyPi.Builder prePublishSteps(List<? extends JobStep> prePublishSteps)
Deprecated.Sets the value ofCommonPublishOptions.getPrePublishSteps()- Parameters:
prePublishSteps- Steps to execute before executing the publishing command. These can be used to prepare the artifact for publishing if neede. These steps are executed afterdist/has been populated with the build output.Note that when using this in
publishToGitHubReleasesthis will override steps added viaaddGitHubPrePublishingSteps.- Returns:
this
-
publishTools
@Stability(Experimental) public JsiiReleasePyPi.Builder publishTools(Tools publishTools)
Deprecated.Sets the value ofCommonPublishOptions.getPublishTools()- Parameters:
publishTools- Additional tools to install in the publishing job.- Returns:
this
-
build
@Stability(Deprecated) @Deprecated public JsiiReleasePyPi build()
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<JsiiReleasePyPi>- Returns:
- a new instance of
JsiiReleasePyPi - Throws:
NullPointerException- if any required attribute was not provided
-
-