software.aws.awsprototypingsdk.pipeline.PDKPipelinePyProjectOptions Maven / Gradle / Ivy
package software.aws.awsprototypingsdk.pipeline;
/**
* Configuration options for the PDKPipelinePyProject.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.71.0 (build f1f58ae)", date = "2022-12-14T02:22:20.454Z")
@software.amazon.jsii.Jsii(module = software.aws.awsprototypingsdk.$Module.class, fqn = "aws-prototyping-sdk.pipeline.PDKPipelinePyProjectOptions")
@software.amazon.jsii.Jsii.Proxy(PDKPipelinePyProjectOptions.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public interface PDKPipelinePyProjectOptions extends software.amazon.jsii.JsiiSerializable, io.github.cdklabs.projen.awscdk.AwsCdkPythonAppOptions {
/**
* @return a {@link Builder} of {@link PDKPipelinePyProjectOptions}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
static Builder builder() {
return new Builder();
}
/**
* A builder for {@link PDKPipelinePyProjectOptions}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static final class Builder implements software.amazon.jsii.Builder {
java.lang.String appEntrypoint;
java.lang.String testdir;
java.lang.String moduleName;
java.util.List deps;
java.util.List devDeps;
java.lang.Boolean pip;
java.lang.Boolean poetry;
java.lang.Boolean projenrcJs;
io.github.cdklabs.projen.javascript.ProjenrcOptions projenrcJsOptions;
java.lang.Boolean projenrcPython;
io.github.cdklabs.projen.python.ProjenrcOptions projenrcPythonOptions;
java.lang.Boolean pytest;
io.github.cdklabs.projen.python.PytestOptions pytestOptions;
java.lang.Boolean sample;
java.lang.Boolean setuptools;
java.lang.Boolean venv;
io.github.cdklabs.projen.python.VenvOptions venvOptions;
io.github.cdklabs.projen.github.AutoApproveOptions autoApproveOptions;
java.lang.Boolean autoMerge;
io.github.cdklabs.projen.github.AutoMergeOptions autoMergeOptions;
java.lang.Boolean clobber;
java.lang.Boolean devContainer;
java.lang.Boolean github;
io.github.cdklabs.projen.github.GitHubOptions githubOptions;
java.lang.Boolean gitpod;
java.lang.Boolean mergify;
io.github.cdklabs.projen.github.MergifyOptions mergifyOptions;
io.github.cdklabs.projen.ProjectType projectType;
io.github.cdklabs.projen.github.GithubCredentials projenCredentials;
java.lang.String projenTokenSecret;
io.github.cdklabs.projen.SampleReadmeProps readme;
java.lang.Boolean stale;
io.github.cdklabs.projen.github.StaleOptions staleOptions;
java.lang.Boolean vscode;
java.lang.String name;
java.lang.Boolean commitGenerated;
io.github.cdklabs.projen.LoggerOptions logging;
java.lang.String outdir;
io.github.cdklabs.projen.Project parent;
java.lang.String projenCommand;
java.lang.Boolean projenrcJson;
io.github.cdklabs.projen.ProjenrcOptions projenrcJsonOptions;
java.lang.Boolean renovatebot;
io.github.cdklabs.projen.RenovatebotOptions renovatebotOptions;
java.lang.String authorEmail;
java.lang.String authorName;
java.lang.String version;
java.util.List classifiers;
java.lang.String description;
java.lang.String homepage;
java.lang.String license;
java.lang.String packageName;
io.github.cdklabs.projen.python.PoetryPyprojectOptionsWithoutDeps poetryOptions;
java.util.Map setupConfig;
java.lang.String buildCommand;
java.lang.String cdkout;
java.util.Map context;
java.lang.Boolean featureFlags;
io.github.cdklabs.projen.awscdk.ApprovalLevel requireApproval;
java.util.List watchExcludes;
java.util.List watchIncludes;
java.lang.String cdkVersion;
java.lang.Boolean cdkAssert;
java.lang.Boolean cdkAssertions;
java.util.List cdkDependencies;
java.lang.Boolean cdkDependenciesAsDeps;
java.util.List cdkTestDependencies;
java.lang.Boolean cdkVersionPinning;
java.lang.String constructsVersion;
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getAppEntrypoint}
* @param appEntrypoint The CDK app's entrypoint (relative to the source directory, which is "src" by default).
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder appEntrypoint(java.lang.String appEntrypoint) {
this.appEntrypoint = appEntrypoint;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getTestdir}
* @param testdir Python sources directory.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder testdir(java.lang.String testdir) {
this.testdir = testdir;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getModuleName}
* @param moduleName Name of the python package as used in imports and filenames. This parameter is required.
* Must only consist of alphanumeric characters and underscores.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder moduleName(java.lang.String moduleName) {
this.moduleName = moduleName;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getDeps}
* @param deps List of runtime dependencies for this project.
* Dependencies use the format: <module>@<semver>
*
* Additional dependencies can be added via project.addDependency()
.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder deps(java.util.List deps) {
this.deps = deps;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getDevDeps}
* @param devDeps List of dev dependencies for this project.
* Dependencies use the format: <module>@<semver>
*
* Additional dependencies can be added via project.addDevDependency()
.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder devDeps(java.util.List devDeps) {
this.devDeps = devDeps;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getPip}
* @param pip Use pip with a requirements.txt file to track project dependencies.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder pip(java.lang.Boolean pip) {
this.pip = pip;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getPoetry}
* @param poetry Use poetry to manage your project dependencies, virtual environment, and (optional) packaging/publishing.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder poetry(java.lang.Boolean poetry) {
this.poetry = poetry;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getProjenrcJs}
* @param projenrcJs Use projenrc in javascript.
* This will install projen
as a JavaScript dependency and add a synth
* task which will run .projenrc.js
.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder projenrcJs(java.lang.Boolean projenrcJs) {
this.projenrcJs = projenrcJs;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getProjenrcJsOptions}
* @param projenrcJsOptions Options related to projenrc in JavaScript.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder projenrcJsOptions(io.github.cdklabs.projen.javascript.ProjenrcOptions projenrcJsOptions) {
this.projenrcJsOptions = projenrcJsOptions;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getProjenrcPython}
* @param projenrcPython Use projenrc in Python.
* This will install projen
as a Python dependency and add a synth
* task which will run .projenrc.py
.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder projenrcPython(java.lang.Boolean projenrcPython) {
this.projenrcPython = projenrcPython;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getProjenrcPythonOptions}
* @param projenrcPythonOptions Options related to projenrc in python.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder projenrcPythonOptions(io.github.cdklabs.projen.python.ProjenrcOptions projenrcPythonOptions) {
this.projenrcPythonOptions = projenrcPythonOptions;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getPytest}
* @param pytest Include pytest tests.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder pytest(java.lang.Boolean pytest) {
this.pytest = pytest;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getPytestOptions}
* @param pytestOptions pytest options.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder pytestOptions(io.github.cdklabs.projen.python.PytestOptions pytestOptions) {
this.pytestOptions = pytestOptions;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getSample}
* @param sample Include sample code and test if the relevant directories don't exist.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder sample(java.lang.Boolean sample) {
this.sample = sample;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getSetuptools}
* @param setuptools Use setuptools with a setup.py script for packaging and publishing.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder setuptools(java.lang.Boolean setuptools) {
this.setuptools = setuptools;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getVenv}
* @param venv Use venv to manage a virtual environment for installing dependencies inside.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder venv(java.lang.Boolean venv) {
this.venv = venv;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getVenvOptions}
* @param venvOptions Venv options.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder venvOptions(io.github.cdklabs.projen.python.VenvOptions venvOptions) {
this.venvOptions = venvOptions;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getAutoApproveOptions}
* @param autoApproveOptions Enable and configure the 'auto approve' workflow.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder autoApproveOptions(io.github.cdklabs.projen.github.AutoApproveOptions autoApproveOptions) {
this.autoApproveOptions = autoApproveOptions;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getAutoMerge}
* @param autoMerge Enable automatic merging on GitHub.
* Has no effect if github.mergify
* is set to false.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder autoMerge(java.lang.Boolean autoMerge) {
this.autoMerge = autoMerge;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getAutoMergeOptions}
* @param autoMergeOptions Configure options for automatic merging on GitHub.
* Has no effect if
* github.mergify
or autoMerge
is set to false.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder autoMergeOptions(io.github.cdklabs.projen.github.AutoMergeOptions autoMergeOptions) {
this.autoMergeOptions = autoMergeOptions;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getClobber}
* @param clobber Add a `clobber` task which resets the repo to origin.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder clobber(java.lang.Boolean clobber) {
this.clobber = clobber;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getDevContainer}
* @param devContainer Add a VSCode development environment (used for GitHub Codespaces).
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder devContainer(java.lang.Boolean devContainer) {
this.devContainer = devContainer;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getGithub}
* @param github Enable GitHub integration.
* Enabled by default for root projects. Disabled for non-root projects.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder github(java.lang.Boolean github) {
this.github = github;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getGithubOptions}
* @param githubOptions Options for GitHub integration.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder githubOptions(io.github.cdklabs.projen.github.GitHubOptions githubOptions) {
this.githubOptions = githubOptions;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getGitpod}
* @param gitpod Add a Gitpod development environment.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder gitpod(java.lang.Boolean gitpod) {
this.gitpod = gitpod;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getMergify}
* @param mergify Whether mergify should be enabled on this repository or not.
* @return {@code this}
* @deprecated use `githubOptions.mergify` instead
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder mergify(java.lang.Boolean mergify) {
this.mergify = mergify;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getMergifyOptions}
* @param mergifyOptions Options for mergify.
* @return {@code this}
* @deprecated use `githubOptions.mergifyOptions` instead
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder mergifyOptions(io.github.cdklabs.projen.github.MergifyOptions mergifyOptions) {
this.mergifyOptions = mergifyOptions;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getProjectType}
* @param projectType Which type of project this is (library/app).
* @return {@code this}
* @deprecated no longer supported at the base project level
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder projectType(io.github.cdklabs.projen.ProjectType projectType) {
this.projectType = projectType;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getProjenCredentials}
* @param projenCredentials Choose a method of providing GitHub API access for projen workflows.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder projenCredentials(io.github.cdklabs.projen.github.GithubCredentials projenCredentials) {
this.projenCredentials = projenCredentials;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getProjenTokenSecret}
* @param projenTokenSecret The name of a secret which includes a GitHub Personal Access Token to be used by projen workflows.
* This token needs to have the repo
, workflows
* and packages
scope.
* @return {@code this}
* @deprecated use `projenCredentials`
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder projenTokenSecret(java.lang.String projenTokenSecret) {
this.projenTokenSecret = projenTokenSecret;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getReadme}
* @param readme The README setup.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder readme(io.github.cdklabs.projen.SampleReadmeProps readme) {
this.readme = readme;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getStale}
* @param stale Auto-close of stale issues and pull request.
* See staleOptions
for options.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder stale(java.lang.Boolean stale) {
this.stale = stale;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getStaleOptions}
* @param staleOptions Auto-close stale issues and pull requests.
* To disable set stale
to false
.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder staleOptions(io.github.cdklabs.projen.github.StaleOptions staleOptions) {
this.staleOptions = staleOptions;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getVscode}
* @param vscode Enable VSCode integration.
* Enabled by default for root projects. Disabled for non-root projects.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder vscode(java.lang.Boolean vscode) {
this.vscode = vscode;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getName}
* @param name This is the name of your project. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder name(java.lang.String name) {
this.name = name;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getCommitGenerated}
* @param commitGenerated Whether to commit the managed files by default.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder commitGenerated(java.lang.Boolean commitGenerated) {
this.commitGenerated = commitGenerated;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getLogging}
* @param logging Configure logging options such as verbosity.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder logging(io.github.cdklabs.projen.LoggerOptions logging) {
this.logging = logging;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getOutdir}
* @param outdir The root directory of the project.
* Relative to this directory, all files are synthesized.
*
* If this project has a parent, this directory is relative to the parent
* directory and it cannot be the same as the parent or any of it's other
* sub-projects.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder outdir(java.lang.String outdir) {
this.outdir = outdir;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getParent}
* @param parent The parent project, if this project is part of a bigger project.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder parent(io.github.cdklabs.projen.Project parent) {
this.parent = parent;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getProjenCommand}
* @param projenCommand The shell command to use in order to run the projen CLI.
* Can be used to customize in special environments.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder projenCommand(java.lang.String projenCommand) {
this.projenCommand = projenCommand;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getProjenrcJson}
* @param projenrcJson Generate (once) .projenrc.json (in JSON). Set to `false` in order to disable .projenrc.json generation.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder projenrcJson(java.lang.Boolean projenrcJson) {
this.projenrcJson = projenrcJson;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getProjenrcJsonOptions}
* @param projenrcJsonOptions Options for .projenrc.json.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder projenrcJsonOptions(io.github.cdklabs.projen.ProjenrcOptions projenrcJsonOptions) {
this.projenrcJsonOptions = projenrcJsonOptions;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getRenovatebot}
* @param renovatebot Use renovatebot to handle dependency upgrades.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder renovatebot(java.lang.Boolean renovatebot) {
this.renovatebot = renovatebot;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getRenovatebotOptions}
* @param renovatebotOptions Options for renovatebot.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder renovatebotOptions(io.github.cdklabs.projen.RenovatebotOptions renovatebotOptions) {
this.renovatebotOptions = renovatebotOptions;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getAuthorEmail}
* @param authorEmail Author's e-mail. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder authorEmail(java.lang.String authorEmail) {
this.authorEmail = authorEmail;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getAuthorName}
* @param authorName Author's name. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder authorName(java.lang.String authorName) {
this.authorName = authorName;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getVersion}
* @param version Version of the package. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder version(java.lang.String version) {
this.version = version;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getClassifiers}
* @param classifiers A list of PyPI trove classifiers that describe the project.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder classifiers(java.util.List classifiers) {
this.classifiers = classifiers;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getDescription}
* @param description A short description of the package.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder description(java.lang.String description) {
this.description = description;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getHomepage}
* @param homepage A URL to the website of the project.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder homepage(java.lang.String homepage) {
this.homepage = homepage;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getLicense}
* @param license License of this package as an SPDX identifier.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder license(java.lang.String license) {
this.license = license;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getPackageName}
* @param packageName Package name.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder packageName(java.lang.String packageName) {
this.packageName = packageName;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getPoetryOptions}
* @param poetryOptions Additional options to set for poetry if using poetry.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder poetryOptions(io.github.cdklabs.projen.python.PoetryPyprojectOptionsWithoutDeps poetryOptions) {
this.poetryOptions = poetryOptions;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getSetupConfig}
* @param setupConfig Additional fields to pass in the setup() function if using setuptools.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@SuppressWarnings("unchecked")
public Builder setupConfig(java.util.Map setupConfig) {
this.setupConfig = (java.util.Map)setupConfig;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getBuildCommand}
* @param buildCommand A command to execute before synthesis.
* This command will be called when
* running cdk synth
or when cdk watch
identifies a change in your source
* code before redeployment.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder buildCommand(java.lang.String buildCommand) {
this.buildCommand = buildCommand;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getCdkout}
* @param cdkout cdk.out directory.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder cdkout(java.lang.String cdkout) {
this.cdkout = cdkout;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getContext}
* @param context Additional context to include in `cdk.json`.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@SuppressWarnings("unchecked")
public Builder context(java.util.Map context) {
this.context = (java.util.Map)context;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getFeatureFlags}
* @param featureFlags Include all feature flags in cdk.json.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder featureFlags(java.lang.Boolean featureFlags) {
this.featureFlags = featureFlags;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getRequireApproval}
* @param requireApproval To protect you against unintended changes that affect your security posture, the AWS CDK Toolkit prompts you to approve security-related changes before deploying them.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder requireApproval(io.github.cdklabs.projen.awscdk.ApprovalLevel requireApproval) {
this.requireApproval = requireApproval;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getWatchExcludes}
* @param watchExcludes Glob patterns to exclude from `cdk watch`.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder watchExcludes(java.util.List watchExcludes) {
this.watchExcludes = watchExcludes;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getWatchIncludes}
* @param watchIncludes Glob patterns to include in `cdk watch`.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder watchIncludes(java.util.List watchIncludes) {
this.watchIncludes = watchIncludes;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getCdkVersion}
* @param cdkVersion Minimum version of the AWS CDK to depend on. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder cdkVersion(java.lang.String cdkVersion) {
this.cdkVersion = cdkVersion;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getCdkAssert}
* @param cdkAssert Warning: NodeJS only.
* Install the @aws-cdk/assert library?
* @return {@code this}
* @deprecated The
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder cdkAssert(java.lang.Boolean cdkAssert) {
this.cdkAssert = cdkAssert;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getCdkAssertions}
* @param cdkAssertions Install the assertions library?.
* Only needed for CDK 1.x. If using CDK 2.x then
* assertions is already included in 'aws-cdk-lib'
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder cdkAssertions(java.lang.Boolean cdkAssertions) {
this.cdkAssertions = cdkAssertions;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getCdkDependencies}
* @param cdkDependencies Which AWS CDKv1 modules this project requires.
* @return {@code this}
* @deprecated For CDK 2.x use "deps" instead. (or "peerDeps" if you're building a library)
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder cdkDependencies(java.util.List cdkDependencies) {
this.cdkDependencies = cdkDependencies;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getCdkDependenciesAsDeps}
* @param cdkDependenciesAsDeps If this is enabled (default), all modules declared in `cdkDependencies` will be also added as normal `dependencies` (as well as `peerDependencies`).
* This is to ensure that downstream consumers actually have your CDK dependencies installed
* when using npm < 7 or yarn, where peer dependencies are not automatically installed.
* If this is disabled, cdkDependencies
will be added to devDependencies
to ensure
* they are present during development.
*
* Note: this setting only applies to construct library projects
* @return {@code this}
* @deprecated Not supported in CDK v2.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder cdkDependenciesAsDeps(java.lang.Boolean cdkDependenciesAsDeps) {
this.cdkDependenciesAsDeps = cdkDependenciesAsDeps;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getCdkTestDependencies}
* @param cdkTestDependencies AWS CDK modules required for testing.
* @return {@code this}
* @deprecated For CDK 2.x use 'devDeps' (in node.js projects) or 'testDeps' (in java projects) instead
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public Builder cdkTestDependencies(java.util.List cdkTestDependencies) {
this.cdkTestDependencies = cdkTestDependencies;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getCdkVersionPinning}
* @param cdkVersionPinning Use pinned version instead of caret version for CDK.
* You can use this to prevent mixed versions for your CDK dependencies and to prevent auto-updates.
* If you use experimental features this will let you define the moment you include breaking changes.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder cdkVersionPinning(java.lang.Boolean cdkVersionPinning) {
this.cdkVersionPinning = cdkVersionPinning;
return this;
}
/**
* Sets the value of {@link PDKPipelinePyProjectOptions#getConstructsVersion}
* @param constructsVersion Minimum version of the `constructs` library to depend on.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder constructsVersion(java.lang.String constructsVersion) {
this.constructsVersion = constructsVersion;
return this;
}
/**
* Builds the configured instance.
* @return a new instance of {@link PDKPipelinePyProjectOptions}
* @throws NullPointerException if any required attribute was not provided
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public PDKPipelinePyProjectOptions build() {
return new Jsii$Proxy(this);
}
}
/**
* An implementation for {@link PDKPipelinePyProjectOptions}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PDKPipelinePyProjectOptions {
private final java.lang.String appEntrypoint;
private final java.lang.String testdir;
private final java.lang.String moduleName;
private final java.util.List deps;
private final java.util.List devDeps;
private final java.lang.Boolean pip;
private final java.lang.Boolean poetry;
private final java.lang.Boolean projenrcJs;
private final io.github.cdklabs.projen.javascript.ProjenrcOptions projenrcJsOptions;
private final java.lang.Boolean projenrcPython;
private final io.github.cdklabs.projen.python.ProjenrcOptions projenrcPythonOptions;
private final java.lang.Boolean pytest;
private final io.github.cdklabs.projen.python.PytestOptions pytestOptions;
private final java.lang.Boolean sample;
private final java.lang.Boolean setuptools;
private final java.lang.Boolean venv;
private final io.github.cdklabs.projen.python.VenvOptions venvOptions;
private final io.github.cdklabs.projen.github.AutoApproveOptions autoApproveOptions;
private final java.lang.Boolean autoMerge;
private final io.github.cdklabs.projen.github.AutoMergeOptions autoMergeOptions;
private final java.lang.Boolean clobber;
private final java.lang.Boolean devContainer;
private final java.lang.Boolean github;
private final io.github.cdklabs.projen.github.GitHubOptions githubOptions;
private final java.lang.Boolean gitpod;
private final java.lang.Boolean mergify;
private final io.github.cdklabs.projen.github.MergifyOptions mergifyOptions;
private final io.github.cdklabs.projen.ProjectType projectType;
private final io.github.cdklabs.projen.github.GithubCredentials projenCredentials;
private final java.lang.String projenTokenSecret;
private final io.github.cdklabs.projen.SampleReadmeProps readme;
private final java.lang.Boolean stale;
private final io.github.cdklabs.projen.github.StaleOptions staleOptions;
private final java.lang.Boolean vscode;
private final java.lang.String name;
private final java.lang.Boolean commitGenerated;
private final io.github.cdklabs.projen.LoggerOptions logging;
private final java.lang.String outdir;
private final io.github.cdklabs.projen.Project parent;
private final java.lang.String projenCommand;
private final java.lang.Boolean projenrcJson;
private final io.github.cdklabs.projen.ProjenrcOptions projenrcJsonOptions;
private final java.lang.Boolean renovatebot;
private final io.github.cdklabs.projen.RenovatebotOptions renovatebotOptions;
private final java.lang.String authorEmail;
private final java.lang.String authorName;
private final java.lang.String version;
private final java.util.List classifiers;
private final java.lang.String description;
private final java.lang.String homepage;
private final java.lang.String license;
private final java.lang.String packageName;
private final io.github.cdklabs.projen.python.PoetryPyprojectOptionsWithoutDeps poetryOptions;
private final java.util.Map setupConfig;
private final java.lang.String buildCommand;
private final java.lang.String cdkout;
private final java.util.Map context;
private final java.lang.Boolean featureFlags;
private final io.github.cdklabs.projen.awscdk.ApprovalLevel requireApproval;
private final java.util.List watchExcludes;
private final java.util.List watchIncludes;
private final java.lang.String cdkVersion;
private final java.lang.Boolean cdkAssert;
private final java.lang.Boolean cdkAssertions;
private final java.util.List cdkDependencies;
private final java.lang.Boolean cdkDependenciesAsDeps;
private final java.util.List cdkTestDependencies;
private final java.lang.Boolean cdkVersionPinning;
private final java.lang.String constructsVersion;
/**
* Constructor that initializes the object based on values retrieved from the JsiiObject.
* @param objRef Reference to the JSII managed object.
*/
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
this.appEntrypoint = software.amazon.jsii.Kernel.get(this, "appEntrypoint", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.testdir = software.amazon.jsii.Kernel.get(this, "testdir", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.moduleName = software.amazon.jsii.Kernel.get(this, "moduleName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.deps = software.amazon.jsii.Kernel.get(this, "deps", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)));
this.devDeps = software.amazon.jsii.Kernel.get(this, "devDeps", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)));
this.pip = software.amazon.jsii.Kernel.get(this, "pip", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.poetry = software.amazon.jsii.Kernel.get(this, "poetry", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.projenrcJs = software.amazon.jsii.Kernel.get(this, "projenrcJs", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.projenrcJsOptions = software.amazon.jsii.Kernel.get(this, "projenrcJsOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.javascript.ProjenrcOptions.class));
this.projenrcPython = software.amazon.jsii.Kernel.get(this, "projenrcPython", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.projenrcPythonOptions = software.amazon.jsii.Kernel.get(this, "projenrcPythonOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.python.ProjenrcOptions.class));
this.pytest = software.amazon.jsii.Kernel.get(this, "pytest", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.pytestOptions = software.amazon.jsii.Kernel.get(this, "pytestOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.python.PytestOptions.class));
this.sample = software.amazon.jsii.Kernel.get(this, "sample", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.setuptools = software.amazon.jsii.Kernel.get(this, "setuptools", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.venv = software.amazon.jsii.Kernel.get(this, "venv", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.venvOptions = software.amazon.jsii.Kernel.get(this, "venvOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.python.VenvOptions.class));
this.autoApproveOptions = software.amazon.jsii.Kernel.get(this, "autoApproveOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.github.AutoApproveOptions.class));
this.autoMerge = software.amazon.jsii.Kernel.get(this, "autoMerge", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.autoMergeOptions = software.amazon.jsii.Kernel.get(this, "autoMergeOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.github.AutoMergeOptions.class));
this.clobber = software.amazon.jsii.Kernel.get(this, "clobber", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.devContainer = software.amazon.jsii.Kernel.get(this, "devContainer", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.github = software.amazon.jsii.Kernel.get(this, "github", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.githubOptions = software.amazon.jsii.Kernel.get(this, "githubOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.github.GitHubOptions.class));
this.gitpod = software.amazon.jsii.Kernel.get(this, "gitpod", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.mergify = software.amazon.jsii.Kernel.get(this, "mergify", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.mergifyOptions = software.amazon.jsii.Kernel.get(this, "mergifyOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.github.MergifyOptions.class));
this.projectType = software.amazon.jsii.Kernel.get(this, "projectType", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.ProjectType.class));
this.projenCredentials = software.amazon.jsii.Kernel.get(this, "projenCredentials", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.github.GithubCredentials.class));
this.projenTokenSecret = software.amazon.jsii.Kernel.get(this, "projenTokenSecret", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.readme = software.amazon.jsii.Kernel.get(this, "readme", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.SampleReadmeProps.class));
this.stale = software.amazon.jsii.Kernel.get(this, "stale", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.staleOptions = software.amazon.jsii.Kernel.get(this, "staleOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.github.StaleOptions.class));
this.vscode = software.amazon.jsii.Kernel.get(this, "vscode", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.name = software.amazon.jsii.Kernel.get(this, "name", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.commitGenerated = software.amazon.jsii.Kernel.get(this, "commitGenerated", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.logging = software.amazon.jsii.Kernel.get(this, "logging", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.LoggerOptions.class));
this.outdir = software.amazon.jsii.Kernel.get(this, "outdir", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.parent = software.amazon.jsii.Kernel.get(this, "parent", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.Project.class));
this.projenCommand = software.amazon.jsii.Kernel.get(this, "projenCommand", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.projenrcJson = software.amazon.jsii.Kernel.get(this, "projenrcJson", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.projenrcJsonOptions = software.amazon.jsii.Kernel.get(this, "projenrcJsonOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.ProjenrcOptions.class));
this.renovatebot = software.amazon.jsii.Kernel.get(this, "renovatebot", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.renovatebotOptions = software.amazon.jsii.Kernel.get(this, "renovatebotOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.RenovatebotOptions.class));
this.authorEmail = software.amazon.jsii.Kernel.get(this, "authorEmail", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.authorName = software.amazon.jsii.Kernel.get(this, "authorName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.version = software.amazon.jsii.Kernel.get(this, "version", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.classifiers = software.amazon.jsii.Kernel.get(this, "classifiers", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)));
this.description = software.amazon.jsii.Kernel.get(this, "description", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.homepage = software.amazon.jsii.Kernel.get(this, "homepage", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.license = software.amazon.jsii.Kernel.get(this, "license", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.packageName = software.amazon.jsii.Kernel.get(this, "packageName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.poetryOptions = software.amazon.jsii.Kernel.get(this, "poetryOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.python.PoetryPyprojectOptionsWithoutDeps.class));
this.setupConfig = software.amazon.jsii.Kernel.get(this, "setupConfig", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)));
this.buildCommand = software.amazon.jsii.Kernel.get(this, "buildCommand", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.cdkout = software.amazon.jsii.Kernel.get(this, "cdkout", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.context = software.amazon.jsii.Kernel.get(this, "context", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)));
this.featureFlags = software.amazon.jsii.Kernel.get(this, "featureFlags", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.requireApproval = software.amazon.jsii.Kernel.get(this, "requireApproval", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.awscdk.ApprovalLevel.class));
this.watchExcludes = software.amazon.jsii.Kernel.get(this, "watchExcludes", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)));
this.watchIncludes = software.amazon.jsii.Kernel.get(this, "watchIncludes", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)));
this.cdkVersion = software.amazon.jsii.Kernel.get(this, "cdkVersion", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.cdkAssert = software.amazon.jsii.Kernel.get(this, "cdkAssert", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.cdkAssertions = software.amazon.jsii.Kernel.get(this, "cdkAssertions", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.cdkDependencies = software.amazon.jsii.Kernel.get(this, "cdkDependencies", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)));
this.cdkDependenciesAsDeps = software.amazon.jsii.Kernel.get(this, "cdkDependenciesAsDeps", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.cdkTestDependencies = software.amazon.jsii.Kernel.get(this, "cdkTestDependencies", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)));
this.cdkVersionPinning = software.amazon.jsii.Kernel.get(this, "cdkVersionPinning", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.constructsVersion = software.amazon.jsii.Kernel.get(this, "constructsVersion", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* Constructor that initializes the object based on literal property values passed by the {@link Builder}.
*/
@SuppressWarnings("unchecked")
protected Jsii$Proxy(final Builder builder) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
this.appEntrypoint = builder.appEntrypoint;
this.testdir = builder.testdir;
this.moduleName = java.util.Objects.requireNonNull(builder.moduleName, "moduleName is required");
this.deps = builder.deps;
this.devDeps = builder.devDeps;
this.pip = builder.pip;
this.poetry = builder.poetry;
this.projenrcJs = builder.projenrcJs;
this.projenrcJsOptions = builder.projenrcJsOptions;
this.projenrcPython = builder.projenrcPython;
this.projenrcPythonOptions = builder.projenrcPythonOptions;
this.pytest = builder.pytest;
this.pytestOptions = builder.pytestOptions;
this.sample = builder.sample;
this.setuptools = builder.setuptools;
this.venv = builder.venv;
this.venvOptions = builder.venvOptions;
this.autoApproveOptions = builder.autoApproveOptions;
this.autoMerge = builder.autoMerge;
this.autoMergeOptions = builder.autoMergeOptions;
this.clobber = builder.clobber;
this.devContainer = builder.devContainer;
this.github = builder.github;
this.githubOptions = builder.githubOptions;
this.gitpod = builder.gitpod;
this.mergify = builder.mergify;
this.mergifyOptions = builder.mergifyOptions;
this.projectType = builder.projectType;
this.projenCredentials = builder.projenCredentials;
this.projenTokenSecret = builder.projenTokenSecret;
this.readme = builder.readme;
this.stale = builder.stale;
this.staleOptions = builder.staleOptions;
this.vscode = builder.vscode;
this.name = java.util.Objects.requireNonNull(builder.name, "name is required");
this.commitGenerated = builder.commitGenerated;
this.logging = builder.logging;
this.outdir = builder.outdir;
this.parent = builder.parent;
this.projenCommand = builder.projenCommand;
this.projenrcJson = builder.projenrcJson;
this.projenrcJsonOptions = builder.projenrcJsonOptions;
this.renovatebot = builder.renovatebot;
this.renovatebotOptions = builder.renovatebotOptions;
this.authorEmail = java.util.Objects.requireNonNull(builder.authorEmail, "authorEmail is required");
this.authorName = java.util.Objects.requireNonNull(builder.authorName, "authorName is required");
this.version = java.util.Objects.requireNonNull(builder.version, "version is required");
this.classifiers = builder.classifiers;
this.description = builder.description;
this.homepage = builder.homepage;
this.license = builder.license;
this.packageName = builder.packageName;
this.poetryOptions = builder.poetryOptions;
this.setupConfig = (java.util.Map)builder.setupConfig;
this.buildCommand = builder.buildCommand;
this.cdkout = builder.cdkout;
this.context = (java.util.Map)builder.context;
this.featureFlags = builder.featureFlags;
this.requireApproval = builder.requireApproval;
this.watchExcludes = builder.watchExcludes;
this.watchIncludes = builder.watchIncludes;
this.cdkVersion = java.util.Objects.requireNonNull(builder.cdkVersion, "cdkVersion is required");
this.cdkAssert = builder.cdkAssert;
this.cdkAssertions = builder.cdkAssertions;
this.cdkDependencies = builder.cdkDependencies;
this.cdkDependenciesAsDeps = builder.cdkDependenciesAsDeps;
this.cdkTestDependencies = builder.cdkTestDependencies;
this.cdkVersionPinning = builder.cdkVersionPinning;
this.constructsVersion = builder.constructsVersion;
}
@Override
public final java.lang.String getAppEntrypoint() {
return this.appEntrypoint;
}
@Override
public final java.lang.String getTestdir() {
return this.testdir;
}
@Override
public final java.lang.String getModuleName() {
return this.moduleName;
}
@Override
public final java.util.List getDeps() {
return this.deps;
}
@Override
public final java.util.List getDevDeps() {
return this.devDeps;
}
@Override
public final java.lang.Boolean getPip() {
return this.pip;
}
@Override
public final java.lang.Boolean getPoetry() {
return this.poetry;
}
@Override
public final java.lang.Boolean getProjenrcJs() {
return this.projenrcJs;
}
@Override
public final io.github.cdklabs.projen.javascript.ProjenrcOptions getProjenrcJsOptions() {
return this.projenrcJsOptions;
}
@Override
public final java.lang.Boolean getProjenrcPython() {
return this.projenrcPython;
}
@Override
public final io.github.cdklabs.projen.python.ProjenrcOptions getProjenrcPythonOptions() {
return this.projenrcPythonOptions;
}
@Override
public final java.lang.Boolean getPytest() {
return this.pytest;
}
@Override
public final io.github.cdklabs.projen.python.PytestOptions getPytestOptions() {
return this.pytestOptions;
}
@Override
public final java.lang.Boolean getSample() {
return this.sample;
}
@Override
public final java.lang.Boolean getSetuptools() {
return this.setuptools;
}
@Override
public final java.lang.Boolean getVenv() {
return this.venv;
}
@Override
public final io.github.cdklabs.projen.python.VenvOptions getVenvOptions() {
return this.venvOptions;
}
@Override
public final io.github.cdklabs.projen.github.AutoApproveOptions getAutoApproveOptions() {
return this.autoApproveOptions;
}
@Override
public final java.lang.Boolean getAutoMerge() {
return this.autoMerge;
}
@Override
public final io.github.cdklabs.projen.github.AutoMergeOptions getAutoMergeOptions() {
return this.autoMergeOptions;
}
@Override
public final java.lang.Boolean getClobber() {
return this.clobber;
}
@Override
public final java.lang.Boolean getDevContainer() {
return this.devContainer;
}
@Override
public final java.lang.Boolean getGithub() {
return this.github;
}
@Override
public final io.github.cdklabs.projen.github.GitHubOptions getGithubOptions() {
return this.githubOptions;
}
@Override
public final java.lang.Boolean getGitpod() {
return this.gitpod;
}
@Override
public final java.lang.Boolean getMergify() {
return this.mergify;
}
@Override
public final io.github.cdklabs.projen.github.MergifyOptions getMergifyOptions() {
return this.mergifyOptions;
}
@Override
public final io.github.cdklabs.projen.ProjectType getProjectType() {
return this.projectType;
}
@Override
public final io.github.cdklabs.projen.github.GithubCredentials getProjenCredentials() {
return this.projenCredentials;
}
@Override
public final java.lang.String getProjenTokenSecret() {
return this.projenTokenSecret;
}
@Override
public final io.github.cdklabs.projen.SampleReadmeProps getReadme() {
return this.readme;
}
@Override
public final java.lang.Boolean getStale() {
return this.stale;
}
@Override
public final io.github.cdklabs.projen.github.StaleOptions getStaleOptions() {
return this.staleOptions;
}
@Override
public final java.lang.Boolean getVscode() {
return this.vscode;
}
@Override
public final java.lang.String getName() {
return this.name;
}
@Override
public final java.lang.Boolean getCommitGenerated() {
return this.commitGenerated;
}
@Override
public final io.github.cdklabs.projen.LoggerOptions getLogging() {
return this.logging;
}
@Override
public final java.lang.String getOutdir() {
return this.outdir;
}
@Override
public final io.github.cdklabs.projen.Project getParent() {
return this.parent;
}
@Override
public final java.lang.String getProjenCommand() {
return this.projenCommand;
}
@Override
public final java.lang.Boolean getProjenrcJson() {
return this.projenrcJson;
}
@Override
public final io.github.cdklabs.projen.ProjenrcOptions getProjenrcJsonOptions() {
return this.projenrcJsonOptions;
}
@Override
public final java.lang.Boolean getRenovatebot() {
return this.renovatebot;
}
@Override
public final io.github.cdklabs.projen.RenovatebotOptions getRenovatebotOptions() {
return this.renovatebotOptions;
}
@Override
public final java.lang.String getAuthorEmail() {
return this.authorEmail;
}
@Override
public final java.lang.String getAuthorName() {
return this.authorName;
}
@Override
public final java.lang.String getVersion() {
return this.version;
}
@Override
public final java.util.List getClassifiers() {
return this.classifiers;
}
@Override
public final java.lang.String getDescription() {
return this.description;
}
@Override
public final java.lang.String getHomepage() {
return this.homepage;
}
@Override
public final java.lang.String getLicense() {
return this.license;
}
@Override
public final java.lang.String getPackageName() {
return this.packageName;
}
@Override
public final io.github.cdklabs.projen.python.PoetryPyprojectOptionsWithoutDeps getPoetryOptions() {
return this.poetryOptions;
}
@Override
public final java.util.Map getSetupConfig() {
return this.setupConfig;
}
@Override
public final java.lang.String getBuildCommand() {
return this.buildCommand;
}
@Override
public final java.lang.String getCdkout() {
return this.cdkout;
}
@Override
public final java.util.Map getContext() {
return this.context;
}
@Override
public final java.lang.Boolean getFeatureFlags() {
return this.featureFlags;
}
@Override
public final io.github.cdklabs.projen.awscdk.ApprovalLevel getRequireApproval() {
return this.requireApproval;
}
@Override
public final java.util.List getWatchExcludes() {
return this.watchExcludes;
}
@Override
public final java.util.List getWatchIncludes() {
return this.watchIncludes;
}
@Override
public final java.lang.String getCdkVersion() {
return this.cdkVersion;
}
@Override
public final java.lang.Boolean getCdkAssert() {
return this.cdkAssert;
}
@Override
public final java.lang.Boolean getCdkAssertions() {
return this.cdkAssertions;
}
@Override
public final java.util.List getCdkDependencies() {
return this.cdkDependencies;
}
@Override
public final java.lang.Boolean getCdkDependenciesAsDeps() {
return this.cdkDependenciesAsDeps;
}
@Override
public final java.util.List getCdkTestDependencies() {
return this.cdkTestDependencies;
}
@Override
public final java.lang.Boolean getCdkVersionPinning() {
return this.cdkVersionPinning;
}
@Override
public final java.lang.String getConstructsVersion() {
return this.constructsVersion;
}
@Override
@software.amazon.jsii.Internal
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() {
final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE;
final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
if (this.getAppEntrypoint() != null) {
data.set("appEntrypoint", om.valueToTree(this.getAppEntrypoint()));
}
if (this.getTestdir() != null) {
data.set("testdir", om.valueToTree(this.getTestdir()));
}
data.set("moduleName", om.valueToTree(this.getModuleName()));
if (this.getDeps() != null) {
data.set("deps", om.valueToTree(this.getDeps()));
}
if (this.getDevDeps() != null) {
data.set("devDeps", om.valueToTree(this.getDevDeps()));
}
if (this.getPip() != null) {
data.set("pip", om.valueToTree(this.getPip()));
}
if (this.getPoetry() != null) {
data.set("poetry", om.valueToTree(this.getPoetry()));
}
if (this.getProjenrcJs() != null) {
data.set("projenrcJs", om.valueToTree(this.getProjenrcJs()));
}
if (this.getProjenrcJsOptions() != null) {
data.set("projenrcJsOptions", om.valueToTree(this.getProjenrcJsOptions()));
}
if (this.getProjenrcPython() != null) {
data.set("projenrcPython", om.valueToTree(this.getProjenrcPython()));
}
if (this.getProjenrcPythonOptions() != null) {
data.set("projenrcPythonOptions", om.valueToTree(this.getProjenrcPythonOptions()));
}
if (this.getPytest() != null) {
data.set("pytest", om.valueToTree(this.getPytest()));
}
if (this.getPytestOptions() != null) {
data.set("pytestOptions", om.valueToTree(this.getPytestOptions()));
}
if (this.getSample() != null) {
data.set("sample", om.valueToTree(this.getSample()));
}
if (this.getSetuptools() != null) {
data.set("setuptools", om.valueToTree(this.getSetuptools()));
}
if (this.getVenv() != null) {
data.set("venv", om.valueToTree(this.getVenv()));
}
if (this.getVenvOptions() != null) {
data.set("venvOptions", om.valueToTree(this.getVenvOptions()));
}
if (this.getAutoApproveOptions() != null) {
data.set("autoApproveOptions", om.valueToTree(this.getAutoApproveOptions()));
}
if (this.getAutoMerge() != null) {
data.set("autoMerge", om.valueToTree(this.getAutoMerge()));
}
if (this.getAutoMergeOptions() != null) {
data.set("autoMergeOptions", om.valueToTree(this.getAutoMergeOptions()));
}
if (this.getClobber() != null) {
data.set("clobber", om.valueToTree(this.getClobber()));
}
if (this.getDevContainer() != null) {
data.set("devContainer", om.valueToTree(this.getDevContainer()));
}
if (this.getGithub() != null) {
data.set("github", om.valueToTree(this.getGithub()));
}
if (this.getGithubOptions() != null) {
data.set("githubOptions", om.valueToTree(this.getGithubOptions()));
}
if (this.getGitpod() != null) {
data.set("gitpod", om.valueToTree(this.getGitpod()));
}
if (this.getMergify() != null) {
data.set("mergify", om.valueToTree(this.getMergify()));
}
if (this.getMergifyOptions() != null) {
data.set("mergifyOptions", om.valueToTree(this.getMergifyOptions()));
}
if (this.getProjectType() != null) {
data.set("projectType", om.valueToTree(this.getProjectType()));
}
if (this.getProjenCredentials() != null) {
data.set("projenCredentials", om.valueToTree(this.getProjenCredentials()));
}
if (this.getProjenTokenSecret() != null) {
data.set("projenTokenSecret", om.valueToTree(this.getProjenTokenSecret()));
}
if (this.getReadme() != null) {
data.set("readme", om.valueToTree(this.getReadme()));
}
if (this.getStale() != null) {
data.set("stale", om.valueToTree(this.getStale()));
}
if (this.getStaleOptions() != null) {
data.set("staleOptions", om.valueToTree(this.getStaleOptions()));
}
if (this.getVscode() != null) {
data.set("vscode", om.valueToTree(this.getVscode()));
}
data.set("name", om.valueToTree(this.getName()));
if (this.getCommitGenerated() != null) {
data.set("commitGenerated", om.valueToTree(this.getCommitGenerated()));
}
if (this.getLogging() != null) {
data.set("logging", om.valueToTree(this.getLogging()));
}
if (this.getOutdir() != null) {
data.set("outdir", om.valueToTree(this.getOutdir()));
}
if (this.getParent() != null) {
data.set("parent", om.valueToTree(this.getParent()));
}
if (this.getProjenCommand() != null) {
data.set("projenCommand", om.valueToTree(this.getProjenCommand()));
}
if (this.getProjenrcJson() != null) {
data.set("projenrcJson", om.valueToTree(this.getProjenrcJson()));
}
if (this.getProjenrcJsonOptions() != null) {
data.set("projenrcJsonOptions", om.valueToTree(this.getProjenrcJsonOptions()));
}
if (this.getRenovatebot() != null) {
data.set("renovatebot", om.valueToTree(this.getRenovatebot()));
}
if (this.getRenovatebotOptions() != null) {
data.set("renovatebotOptions", om.valueToTree(this.getRenovatebotOptions()));
}
data.set("authorEmail", om.valueToTree(this.getAuthorEmail()));
data.set("authorName", om.valueToTree(this.getAuthorName()));
data.set("version", om.valueToTree(this.getVersion()));
if (this.getClassifiers() != null) {
data.set("classifiers", om.valueToTree(this.getClassifiers()));
}
if (this.getDescription() != null) {
data.set("description", om.valueToTree(this.getDescription()));
}
if (this.getHomepage() != null) {
data.set("homepage", om.valueToTree(this.getHomepage()));
}
if (this.getLicense() != null) {
data.set("license", om.valueToTree(this.getLicense()));
}
if (this.getPackageName() != null) {
data.set("packageName", om.valueToTree(this.getPackageName()));
}
if (this.getPoetryOptions() != null) {
data.set("poetryOptions", om.valueToTree(this.getPoetryOptions()));
}
if (this.getSetupConfig() != null) {
data.set("setupConfig", om.valueToTree(this.getSetupConfig()));
}
if (this.getBuildCommand() != null) {
data.set("buildCommand", om.valueToTree(this.getBuildCommand()));
}
if (this.getCdkout() != null) {
data.set("cdkout", om.valueToTree(this.getCdkout()));
}
if (this.getContext() != null) {
data.set("context", om.valueToTree(this.getContext()));
}
if (this.getFeatureFlags() != null) {
data.set("featureFlags", om.valueToTree(this.getFeatureFlags()));
}
if (this.getRequireApproval() != null) {
data.set("requireApproval", om.valueToTree(this.getRequireApproval()));
}
if (this.getWatchExcludes() != null) {
data.set("watchExcludes", om.valueToTree(this.getWatchExcludes()));
}
if (this.getWatchIncludes() != null) {
data.set("watchIncludes", om.valueToTree(this.getWatchIncludes()));
}
data.set("cdkVersion", om.valueToTree(this.getCdkVersion()));
if (this.getCdkAssert() != null) {
data.set("cdkAssert", om.valueToTree(this.getCdkAssert()));
}
if (this.getCdkAssertions() != null) {
data.set("cdkAssertions", om.valueToTree(this.getCdkAssertions()));
}
if (this.getCdkDependencies() != null) {
data.set("cdkDependencies", om.valueToTree(this.getCdkDependencies()));
}
if (this.getCdkDependenciesAsDeps() != null) {
data.set("cdkDependenciesAsDeps", om.valueToTree(this.getCdkDependenciesAsDeps()));
}
if (this.getCdkTestDependencies() != null) {
data.set("cdkTestDependencies", om.valueToTree(this.getCdkTestDependencies()));
}
if (this.getCdkVersionPinning() != null) {
data.set("cdkVersionPinning", om.valueToTree(this.getCdkVersionPinning()));
}
if (this.getConstructsVersion() != null) {
data.set("constructsVersion", om.valueToTree(this.getConstructsVersion()));
}
final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
struct.set("fqn", om.valueToTree("aws-prototyping-sdk.pipeline.PDKPipelinePyProjectOptions"));
struct.set("data", data);
final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
obj.set("$jsii.struct", struct);
return obj;
}
@Override
public final boolean equals(final Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
PDKPipelinePyProjectOptions.Jsii$Proxy that = (PDKPipelinePyProjectOptions.Jsii$Proxy) o;
if (this.appEntrypoint != null ? !this.appEntrypoint.equals(that.appEntrypoint) : that.appEntrypoint != null) return false;
if (this.testdir != null ? !this.testdir.equals(that.testdir) : that.testdir != null) return false;
if (!moduleName.equals(that.moduleName)) return false;
if (this.deps != null ? !this.deps.equals(that.deps) : that.deps != null) return false;
if (this.devDeps != null ? !this.devDeps.equals(that.devDeps) : that.devDeps != null) return false;
if (this.pip != null ? !this.pip.equals(that.pip) : that.pip != null) return false;
if (this.poetry != null ? !this.poetry.equals(that.poetry) : that.poetry != null) return false;
if (this.projenrcJs != null ? !this.projenrcJs.equals(that.projenrcJs) : that.projenrcJs != null) return false;
if (this.projenrcJsOptions != null ? !this.projenrcJsOptions.equals(that.projenrcJsOptions) : that.projenrcJsOptions != null) return false;
if (this.projenrcPython != null ? !this.projenrcPython.equals(that.projenrcPython) : that.projenrcPython != null) return false;
if (this.projenrcPythonOptions != null ? !this.projenrcPythonOptions.equals(that.projenrcPythonOptions) : that.projenrcPythonOptions != null) return false;
if (this.pytest != null ? !this.pytest.equals(that.pytest) : that.pytest != null) return false;
if (this.pytestOptions != null ? !this.pytestOptions.equals(that.pytestOptions) : that.pytestOptions != null) return false;
if (this.sample != null ? !this.sample.equals(that.sample) : that.sample != null) return false;
if (this.setuptools != null ? !this.setuptools.equals(that.setuptools) : that.setuptools != null) return false;
if (this.venv != null ? !this.venv.equals(that.venv) : that.venv != null) return false;
if (this.venvOptions != null ? !this.venvOptions.equals(that.venvOptions) : that.venvOptions != null) return false;
if (this.autoApproveOptions != null ? !this.autoApproveOptions.equals(that.autoApproveOptions) : that.autoApproveOptions != null) return false;
if (this.autoMerge != null ? !this.autoMerge.equals(that.autoMerge) : that.autoMerge != null) return false;
if (this.autoMergeOptions != null ? !this.autoMergeOptions.equals(that.autoMergeOptions) : that.autoMergeOptions != null) return false;
if (this.clobber != null ? !this.clobber.equals(that.clobber) : that.clobber != null) return false;
if (this.devContainer != null ? !this.devContainer.equals(that.devContainer) : that.devContainer != null) return false;
if (this.github != null ? !this.github.equals(that.github) : that.github != null) return false;
if (this.githubOptions != null ? !this.githubOptions.equals(that.githubOptions) : that.githubOptions != null) return false;
if (this.gitpod != null ? !this.gitpod.equals(that.gitpod) : that.gitpod != null) return false;
if (this.mergify != null ? !this.mergify.equals(that.mergify) : that.mergify != null) return false;
if (this.mergifyOptions != null ? !this.mergifyOptions.equals(that.mergifyOptions) : that.mergifyOptions != null) return false;
if (this.projectType != null ? !this.projectType.equals(that.projectType) : that.projectType != null) return false;
if (this.projenCredentials != null ? !this.projenCredentials.equals(that.projenCredentials) : that.projenCredentials != null) return false;
if (this.projenTokenSecret != null ? !this.projenTokenSecret.equals(that.projenTokenSecret) : that.projenTokenSecret != null) return false;
if (this.readme != null ? !this.readme.equals(that.readme) : that.readme != null) return false;
if (this.stale != null ? !this.stale.equals(that.stale) : that.stale != null) return false;
if (this.staleOptions != null ? !this.staleOptions.equals(that.staleOptions) : that.staleOptions != null) return false;
if (this.vscode != null ? !this.vscode.equals(that.vscode) : that.vscode != null) return false;
if (!name.equals(that.name)) return false;
if (this.commitGenerated != null ? !this.commitGenerated.equals(that.commitGenerated) : that.commitGenerated != null) return false;
if (this.logging != null ? !this.logging.equals(that.logging) : that.logging != null) return false;
if (this.outdir != null ? !this.outdir.equals(that.outdir) : that.outdir != null) return false;
if (this.parent != null ? !this.parent.equals(that.parent) : that.parent != null) return false;
if (this.projenCommand != null ? !this.projenCommand.equals(that.projenCommand) : that.projenCommand != null) return false;
if (this.projenrcJson != null ? !this.projenrcJson.equals(that.projenrcJson) : that.projenrcJson != null) return false;
if (this.projenrcJsonOptions != null ? !this.projenrcJsonOptions.equals(that.projenrcJsonOptions) : that.projenrcJsonOptions != null) return false;
if (this.renovatebot != null ? !this.renovatebot.equals(that.renovatebot) : that.renovatebot != null) return false;
if (this.renovatebotOptions != null ? !this.renovatebotOptions.equals(that.renovatebotOptions) : that.renovatebotOptions != null) return false;
if (!authorEmail.equals(that.authorEmail)) return false;
if (!authorName.equals(that.authorName)) return false;
if (!version.equals(that.version)) return false;
if (this.classifiers != null ? !this.classifiers.equals(that.classifiers) : that.classifiers != null) return false;
if (this.description != null ? !this.description.equals(that.description) : that.description != null) return false;
if (this.homepage != null ? !this.homepage.equals(that.homepage) : that.homepage != null) return false;
if (this.license != null ? !this.license.equals(that.license) : that.license != null) return false;
if (this.packageName != null ? !this.packageName.equals(that.packageName) : that.packageName != null) return false;
if (this.poetryOptions != null ? !this.poetryOptions.equals(that.poetryOptions) : that.poetryOptions != null) return false;
if (this.setupConfig != null ? !this.setupConfig.equals(that.setupConfig) : that.setupConfig != null) return false;
if (this.buildCommand != null ? !this.buildCommand.equals(that.buildCommand) : that.buildCommand != null) return false;
if (this.cdkout != null ? !this.cdkout.equals(that.cdkout) : that.cdkout != null) return false;
if (this.context != null ? !this.context.equals(that.context) : that.context != null) return false;
if (this.featureFlags != null ? !this.featureFlags.equals(that.featureFlags) : that.featureFlags != null) return false;
if (this.requireApproval != null ? !this.requireApproval.equals(that.requireApproval) : that.requireApproval != null) return false;
if (this.watchExcludes != null ? !this.watchExcludes.equals(that.watchExcludes) : that.watchExcludes != null) return false;
if (this.watchIncludes != null ? !this.watchIncludes.equals(that.watchIncludes) : that.watchIncludes != null) return false;
if (!cdkVersion.equals(that.cdkVersion)) return false;
if (this.cdkAssert != null ? !this.cdkAssert.equals(that.cdkAssert) : that.cdkAssert != null) return false;
if (this.cdkAssertions != null ? !this.cdkAssertions.equals(that.cdkAssertions) : that.cdkAssertions != null) return false;
if (this.cdkDependencies != null ? !this.cdkDependencies.equals(that.cdkDependencies) : that.cdkDependencies != null) return false;
if (this.cdkDependenciesAsDeps != null ? !this.cdkDependenciesAsDeps.equals(that.cdkDependenciesAsDeps) : that.cdkDependenciesAsDeps != null) return false;
if (this.cdkTestDependencies != null ? !this.cdkTestDependencies.equals(that.cdkTestDependencies) : that.cdkTestDependencies != null) return false;
if (this.cdkVersionPinning != null ? !this.cdkVersionPinning.equals(that.cdkVersionPinning) : that.cdkVersionPinning != null) return false;
return this.constructsVersion != null ? this.constructsVersion.equals(that.constructsVersion) : that.constructsVersion == null;
}
@Override
public final int hashCode() {
int result = this.appEntrypoint != null ? this.appEntrypoint.hashCode() : 0;
result = 31 * result + (this.testdir != null ? this.testdir.hashCode() : 0);
result = 31 * result + (this.moduleName.hashCode());
result = 31 * result + (this.deps != null ? this.deps.hashCode() : 0);
result = 31 * result + (this.devDeps != null ? this.devDeps.hashCode() : 0);
result = 31 * result + (this.pip != null ? this.pip.hashCode() : 0);
result = 31 * result + (this.poetry != null ? this.poetry.hashCode() : 0);
result = 31 * result + (this.projenrcJs != null ? this.projenrcJs.hashCode() : 0);
result = 31 * result + (this.projenrcJsOptions != null ? this.projenrcJsOptions.hashCode() : 0);
result = 31 * result + (this.projenrcPython != null ? this.projenrcPython.hashCode() : 0);
result = 31 * result + (this.projenrcPythonOptions != null ? this.projenrcPythonOptions.hashCode() : 0);
result = 31 * result + (this.pytest != null ? this.pytest.hashCode() : 0);
result = 31 * result + (this.pytestOptions != null ? this.pytestOptions.hashCode() : 0);
result = 31 * result + (this.sample != null ? this.sample.hashCode() : 0);
result = 31 * result + (this.setuptools != null ? this.setuptools.hashCode() : 0);
result = 31 * result + (this.venv != null ? this.venv.hashCode() : 0);
result = 31 * result + (this.venvOptions != null ? this.venvOptions.hashCode() : 0);
result = 31 * result + (this.autoApproveOptions != null ? this.autoApproveOptions.hashCode() : 0);
result = 31 * result + (this.autoMerge != null ? this.autoMerge.hashCode() : 0);
result = 31 * result + (this.autoMergeOptions != null ? this.autoMergeOptions.hashCode() : 0);
result = 31 * result + (this.clobber != null ? this.clobber.hashCode() : 0);
result = 31 * result + (this.devContainer != null ? this.devContainer.hashCode() : 0);
result = 31 * result + (this.github != null ? this.github.hashCode() : 0);
result = 31 * result + (this.githubOptions != null ? this.githubOptions.hashCode() : 0);
result = 31 * result + (this.gitpod != null ? this.gitpod.hashCode() : 0);
result = 31 * result + (this.mergify != null ? this.mergify.hashCode() : 0);
result = 31 * result + (this.mergifyOptions != null ? this.mergifyOptions.hashCode() : 0);
result = 31 * result + (this.projectType != null ? this.projectType.hashCode() : 0);
result = 31 * result + (this.projenCredentials != null ? this.projenCredentials.hashCode() : 0);
result = 31 * result + (this.projenTokenSecret != null ? this.projenTokenSecret.hashCode() : 0);
result = 31 * result + (this.readme != null ? this.readme.hashCode() : 0);
result = 31 * result + (this.stale != null ? this.stale.hashCode() : 0);
result = 31 * result + (this.staleOptions != null ? this.staleOptions.hashCode() : 0);
result = 31 * result + (this.vscode != null ? this.vscode.hashCode() : 0);
result = 31 * result + (this.name.hashCode());
result = 31 * result + (this.commitGenerated != null ? this.commitGenerated.hashCode() : 0);
result = 31 * result + (this.logging != null ? this.logging.hashCode() : 0);
result = 31 * result + (this.outdir != null ? this.outdir.hashCode() : 0);
result = 31 * result + (this.parent != null ? this.parent.hashCode() : 0);
result = 31 * result + (this.projenCommand != null ? this.projenCommand.hashCode() : 0);
result = 31 * result + (this.projenrcJson != null ? this.projenrcJson.hashCode() : 0);
result = 31 * result + (this.projenrcJsonOptions != null ? this.projenrcJsonOptions.hashCode() : 0);
result = 31 * result + (this.renovatebot != null ? this.renovatebot.hashCode() : 0);
result = 31 * result + (this.renovatebotOptions != null ? this.renovatebotOptions.hashCode() : 0);
result = 31 * result + (this.authorEmail.hashCode());
result = 31 * result + (this.authorName.hashCode());
result = 31 * result + (this.version.hashCode());
result = 31 * result + (this.classifiers != null ? this.classifiers.hashCode() : 0);
result = 31 * result + (this.description != null ? this.description.hashCode() : 0);
result = 31 * result + (this.homepage != null ? this.homepage.hashCode() : 0);
result = 31 * result + (this.license != null ? this.license.hashCode() : 0);
result = 31 * result + (this.packageName != null ? this.packageName.hashCode() : 0);
result = 31 * result + (this.poetryOptions != null ? this.poetryOptions.hashCode() : 0);
result = 31 * result + (this.setupConfig != null ? this.setupConfig.hashCode() : 0);
result = 31 * result + (this.buildCommand != null ? this.buildCommand.hashCode() : 0);
result = 31 * result + (this.cdkout != null ? this.cdkout.hashCode() : 0);
result = 31 * result + (this.context != null ? this.context.hashCode() : 0);
result = 31 * result + (this.featureFlags != null ? this.featureFlags.hashCode() : 0);
result = 31 * result + (this.requireApproval != null ? this.requireApproval.hashCode() : 0);
result = 31 * result + (this.watchExcludes != null ? this.watchExcludes.hashCode() : 0);
result = 31 * result + (this.watchIncludes != null ? this.watchIncludes.hashCode() : 0);
result = 31 * result + (this.cdkVersion.hashCode());
result = 31 * result + (this.cdkAssert != null ? this.cdkAssert.hashCode() : 0);
result = 31 * result + (this.cdkAssertions != null ? this.cdkAssertions.hashCode() : 0);
result = 31 * result + (this.cdkDependencies != null ? this.cdkDependencies.hashCode() : 0);
result = 31 * result + (this.cdkDependenciesAsDeps != null ? this.cdkDependenciesAsDeps.hashCode() : 0);
result = 31 * result + (this.cdkTestDependencies != null ? this.cdkTestDependencies.hashCode() : 0);
result = 31 * result + (this.cdkVersionPinning != null ? this.cdkVersionPinning.hashCode() : 0);
result = 31 * result + (this.constructsVersion != null ? this.constructsVersion.hashCode() : 0);
return result;
}
}
}