Package io.github.cdklabs.projen.python
Class SetupPyOptions.Builder
- java.lang.Object
-
- io.github.cdklabs.projen.python.SetupPyOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SetupPyOptions>
- Enclosing interface:
- SetupPyOptions
@Stability(Experimental) public static final class SetupPyOptions.Builder extends Object implements software.amazon.jsii.Builder<SetupPyOptions>
A builder forSetupPyOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
additionalOptions
@Stability(Experimental) public SetupPyOptions.Builder additionalOptions(Map<String,? extends Object> additionalOptions)
Sets the value ofSetupPyOptions.getAdditionalOptions()- Parameters:
additionalOptions- Escape hatch to allow any value.- Returns:
this
-
authorEmail
@Stability(Experimental) public SetupPyOptions.Builder authorEmail(String authorEmail)
Sets the value ofSetupPyOptions.getAuthorEmail()- Parameters:
authorEmail- Author's e-mail.- Returns:
this
-
authorName
@Stability(Experimental) public SetupPyOptions.Builder authorName(String authorName)
Sets the value ofSetupPyOptions.getAuthorName()- Parameters:
authorName- Author's name.- Returns:
this
-
classifiers
@Stability(Experimental) public SetupPyOptions.Builder classifiers(List<String> classifiers)
Sets the value ofSetupPyOptions.getClassifiers()- Parameters:
classifiers- A list of PyPI trove classifiers that describe the project.- Returns:
this
-
description
@Stability(Experimental) public SetupPyOptions.Builder description(String description)
Sets the value ofSetupPyOptions.getDescription()- Parameters:
description- A short project description.- Returns:
this
-
homepage
@Stability(Experimental) public SetupPyOptions.Builder homepage(String homepage)
Sets the value ofSetupPyOptions.getHomepage()- Parameters:
homepage- Package's Homepage / Website.- Returns:
this
-
license
@Stability(Experimental) public SetupPyOptions.Builder license(String license)
Sets the value ofSetupPyOptions.getLicense()- Parameters:
license- The project license.- Returns:
this
-
name
@Stability(Experimental) public SetupPyOptions.Builder name(String name)
Sets the value ofSetupPyOptions.getName()- Parameters:
name- Name of the package.- Returns:
this
-
packages
@Stability(Experimental) public SetupPyOptions.Builder packages(List<String> packages)
Sets the value ofSetupPyOptions.getPackages()- Parameters:
packages- List of submodules to be packaged.- Returns:
this
-
version
@Stability(Experimental) public SetupPyOptions.Builder version(String version)
Sets the value ofSetupPyOptions.getVersion()- Parameters:
version- Manually specify package version.- Returns:
this
-
build
@Stability(Experimental) public SetupPyOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SetupPyOptions>- Returns:
- a new instance of
SetupPyOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-