All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.aws.awsprototypingsdk.openapigateway.OpenApiGatewayJavaProjectOptions Maven / Gradle / Ivy

There is a newer version: 0.19.68
Show newest version
package software.aws.awsprototypingsdk.openapigateway;

/**
 * (experimental) Configuration for the OpenApiGatewayJavaProject.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.82.0 (build 2d2ddd7)", date = "2023-08-15T05:38:04.590Z")
@software.amazon.jsii.Jsii(module = software.aws.awsprototypingsdk.openapigateway.$Module.class, fqn = "@aws-prototyping-sdk/open-api-gateway.OpenApiGatewayJavaProjectOptions")
@software.amazon.jsii.Jsii.Proxy(OpenApiGatewayJavaProjectOptions.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public interface OpenApiGatewayJavaProjectOptions extends software.amazon.jsii.JsiiSerializable, io.github.cdklabs.projen.java.JavaProjectOptions, software.aws.awsprototypingsdk.openapigateway.OpenApiGatewayProjectOptions {

    /**
     * @return a {@link Builder} of {@link OpenApiGatewayJavaProjectOptions}
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    static Builder builder() {
        return new Builder();
    }
    /**
     * A builder for {@link OpenApiGatewayJavaProjectOptions}
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public static final class Builder implements software.amazon.jsii.Builder {
        java.lang.Boolean sample;
        java.lang.String sampleJavaPackage;
        io.github.cdklabs.projen.java.MavenCompileOptions compileOptions;
        java.util.List deps;
        java.lang.String distdir;
        java.lang.Boolean junit;
        io.github.cdklabs.projen.java.JunitOptions junitOptions;
        io.github.cdklabs.projen.java.MavenPackagingOptions packagingOptions;
        java.lang.Boolean projenrcJava;
        io.github.cdklabs.projen.java.ProjenrcOptions projenrcJavaOptions;
        java.util.List testDeps;
        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.IgnoreFileOptions gitIgnoreOptions;
        io.github.cdklabs.projen.GitOptions gitOptions;
        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.ProjenrcJsonOptions projenrcJsonOptions;
        java.lang.Boolean renovatebot;
        io.github.cdklabs.projen.RenovatebotOptions renovatebotOptions;
        java.lang.String artifactId;
        java.lang.String groupId;
        java.lang.String version;
        java.lang.String description;
        java.lang.String packaging;
        java.lang.String url;
        java.lang.String specFile;
        java.util.List clientLanguages;
        java.lang.String apiSrcDir;
        java.util.List documentationFormats;
        java.lang.Boolean forceGenerateCodeAndDocs;
        java.lang.String generatedCodeDir;
        io.github.cdklabs.projen.java.JavaProjectOptions javaClientOptions;
        java.lang.String parsedSpecFileName;
        io.github.cdklabs.projen.python.PythonProjectOptions pythonClientOptions;
        io.github.cdklabs.projen.typescript.TypeScriptProjectOptions typescriptClientOptions;

        /**
         * Sets the value of {@link OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#getSampleJavaPackage}
         * @param sampleJavaPackage The java package to use for the code sample.
         * @return {@code this}
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder sampleJavaPackage(java.lang.String sampleJavaPackage) {
            this.sampleJavaPackage = sampleJavaPackage;
            return this;
        }

        /**
         * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getCompileOptions}
         * @param compileOptions Compile options.
         * @return {@code this}
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder compileOptions(io.github.cdklabs.projen.java.MavenCompileOptions compileOptions) {
            this.compileOptions = compileOptions;
            return this;
        }

        /**
         * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getDeps}
         * @param deps List of runtime dependencies for this project.
         *             Dependencies use the format: <groupId>/<artifactId>@<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 OpenApiGatewayJavaProjectOptions#getDistdir} * @param distdir Final artifact output directory. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder distdir(java.lang.String distdir) { this.distdir = distdir; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getJunit} * @param junit Include junit tests. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder junit(java.lang.Boolean junit) { this.junit = junit; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getJunitOptions} * @param junitOptions junit options. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder junitOptions(io.github.cdklabs.projen.java.JunitOptions junitOptions) { this.junitOptions = junitOptions; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getPackagingOptions} * @param packagingOptions Packaging options. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder packagingOptions(io.github.cdklabs.projen.java.MavenPackagingOptions packagingOptions) { this.packagingOptions = packagingOptions; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getProjenrcJava} * @param projenrcJava Use projenrc in java. * This will install projen as a java dependency and will add a synth task which * will compile & execute main() from src/main/java/projenrc.java. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder projenrcJava(java.lang.Boolean projenrcJava) { this.projenrcJava = projenrcJava; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getProjenrcJavaOptions} * @param projenrcJavaOptions Options related to projenrc in java. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder projenrcJavaOptions(io.github.cdklabs.projen.java.ProjenrcOptions projenrcJavaOptions) { this.projenrcJavaOptions = projenrcJavaOptions; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getTestDeps} * @param testDeps List of test dependencies for this project. * Dependencies use the format: <groupId>/<artifactId>@<semver> *

* Additional dependencies can be added via project.addTestDependency(). * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder testDeps(java.util.List testDeps) { this.testDeps = testDeps; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#getGitIgnoreOptions} * @param gitIgnoreOptions Configuration options for .gitignore file. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder gitIgnoreOptions(io.github.cdklabs.projen.IgnoreFileOptions gitIgnoreOptions) { this.gitIgnoreOptions = gitIgnoreOptions; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getGitOptions} * @param gitOptions Configuration options for git. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder gitOptions(io.github.cdklabs.projen.GitOptions gitOptions) { this.gitOptions = gitOptions; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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.ProjenrcJsonOptions projenrcJsonOptions) { this.projenrcJsonOptions = projenrcJsonOptions; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#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 OpenApiGatewayJavaProjectOptions#getArtifactId} * @param artifactId The artifactId is generally the name that the project is known by. This parameter is required. * Although * the groupId is important, people within the group will rarely mention the * groupId in discussion (they are often all be the same ID, such as the * MojoHaus project groupId: org.codehaus.mojo). It, along with the groupId, * creates a key that separates this project from every other project in the * world (at least, it should :) ). Along with the groupId, the artifactId * fully defines the artifact's living quarters within the repository. In the * case of the above project, my-project lives in * $M2_REPO/org/codehaus/mojo/my-project. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder artifactId(java.lang.String artifactId) { this.artifactId = artifactId; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getGroupId} * @param groupId This is generally unique amongst an organization or a project. This parameter is required. * For example, * all core Maven artifacts do (well, should) live under the groupId * org.apache.maven. Group ID's do not necessarily use the dot notation, for * example, the junit project. Note that the dot-notated groupId does not have * to correspond to the package structure that the project contains. It is, * however, a good practice to follow. When stored within a repository, the * group acts much like the Java packaging structure does in an operating * system. The dots are replaced by OS specific directory separators (such as * '/' in Unix) which becomes a relative directory structure from the base * repository. In the example given, the org.codehaus.mojo group lives within * the directory $M2_REPO/org/codehaus/mojo. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder groupId(java.lang.String groupId) { this.groupId = groupId; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getVersion} * @param version This is the last piece of the naming puzzle. This parameter is required. * groupId:artifactId denotes a * single project but they cannot delineate which incarnation of that project * we are talking about. Do we want the junit:junit of 2018 (version 4.12), or * of 2007 (version 3.8.2)? In short: code changes, those changes should be * versioned, and this element keeps those versions in line. It is also used * within an artifact's repository to separate versions from each other. * my-project version 1.0 files live in the directory structure * $M2_REPO/org/codehaus/mojo/my-project/1.0. * @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 OpenApiGatewayJavaProjectOptions#getDescription} * @param description Description of a project is always good. * Although this should not replace * formal documentation, a quick comment to any readers of the POM is always * helpful. * @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 OpenApiGatewayJavaProjectOptions#getPackaging} * @param packaging Project packaging format. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder packaging(java.lang.String packaging) { this.packaging = packaging; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getUrl} * @param url The URL, like the name, is not required. * This is a nice gesture for * projects users, however, so that they know where the project lives. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder url(java.lang.String url) { this.url = url; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getSpecFile} * @param specFile The path to the OpenAPI specification file, relative to the project source directory (srcdir). * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder specFile(java.lang.String specFile) { this.specFile = specFile; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getClientLanguages} * @param clientLanguages The list of languages for which clients will be generated. This parameter is required. * A typescript client will always be generated. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @SuppressWarnings("unchecked") public Builder clientLanguages(java.util.List clientLanguages) { this.clientLanguages = (java.util.List)clientLanguages; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getApiSrcDir} * @param apiSrcDir The directory in which the api generated code will reside, relative to the project srcdir. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder apiSrcDir(java.lang.String apiSrcDir) { this.apiSrcDir = apiSrcDir; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getDocumentationFormats} * @param documentationFormats Formats to generate documentation in. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @SuppressWarnings("unchecked") public Builder documentationFormats(java.util.List documentationFormats) { this.documentationFormats = (java.util.List)documentationFormats; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getForceGenerateCodeAndDocs} * @param forceGenerateCodeAndDocs Force to generate code and docs even if there were no changes in spec. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder forceGenerateCodeAndDocs(java.lang.Boolean forceGenerateCodeAndDocs) { this.forceGenerateCodeAndDocs = forceGenerateCodeAndDocs; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getGeneratedCodeDir} * @param generatedCodeDir The directory in which generated client code will be generated, relative to the outdir of this project. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder generatedCodeDir(java.lang.String generatedCodeDir) { this.generatedCodeDir = generatedCodeDir; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getJavaClientOptions} * @param javaClientOptions Options for the generated java client (if specified in clientLanguages). * These override the default inferred options. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder javaClientOptions(io.github.cdklabs.projen.java.JavaProjectOptions javaClientOptions) { this.javaClientOptions = javaClientOptions; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getParsedSpecFileName} * @param parsedSpecFileName The name of the output parsed OpenAPI specification file. * Must end with .json. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder parsedSpecFileName(java.lang.String parsedSpecFileName) { this.parsedSpecFileName = parsedSpecFileName; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getPythonClientOptions} * @param pythonClientOptions Options for the generated python client (if specified in clientLanguages). * These override the default inferred options. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder pythonClientOptions(io.github.cdklabs.projen.python.PythonProjectOptions pythonClientOptions) { this.pythonClientOptions = pythonClientOptions; return this; } /** * Sets the value of {@link OpenApiGatewayJavaProjectOptions#getTypescriptClientOptions} * @param typescriptClientOptions Options for the generated typescript client. * These override the default inferred options. * @return {@code this} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder typescriptClientOptions(io.github.cdklabs.projen.typescript.TypeScriptProjectOptions typescriptClientOptions) { this.typescriptClientOptions = typescriptClientOptions; return this; } /** * Builds the configured instance. * @return a new instance of {@link OpenApiGatewayJavaProjectOptions} * @throws NullPointerException if any required attribute was not provided */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public OpenApiGatewayJavaProjectOptions build() { return new Jsii$Proxy(this); } } /** * An implementation for {@link OpenApiGatewayJavaProjectOptions} */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @software.amazon.jsii.Internal final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements OpenApiGatewayJavaProjectOptions { private final java.lang.Boolean sample; private final java.lang.String sampleJavaPackage; private final io.github.cdklabs.projen.java.MavenCompileOptions compileOptions; private final java.util.List deps; private final java.lang.String distdir; private final java.lang.Boolean junit; private final io.github.cdklabs.projen.java.JunitOptions junitOptions; private final io.github.cdklabs.projen.java.MavenPackagingOptions packagingOptions; private final java.lang.Boolean projenrcJava; private final io.github.cdklabs.projen.java.ProjenrcOptions projenrcJavaOptions; private final java.util.List testDeps; 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.IgnoreFileOptions gitIgnoreOptions; private final io.github.cdklabs.projen.GitOptions gitOptions; 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.ProjenrcJsonOptions projenrcJsonOptions; private final java.lang.Boolean renovatebot; private final io.github.cdklabs.projen.RenovatebotOptions renovatebotOptions; private final java.lang.String artifactId; private final java.lang.String groupId; private final java.lang.String version; private final java.lang.String description; private final java.lang.String packaging; private final java.lang.String url; private final java.lang.String specFile; private final java.util.List clientLanguages; private final java.lang.String apiSrcDir; private final java.util.List documentationFormats; private final java.lang.Boolean forceGenerateCodeAndDocs; private final java.lang.String generatedCodeDir; private final io.github.cdklabs.projen.java.JavaProjectOptions javaClientOptions; private final java.lang.String parsedSpecFileName; private final io.github.cdklabs.projen.python.PythonProjectOptions pythonClientOptions; private final io.github.cdklabs.projen.typescript.TypeScriptProjectOptions typescriptClientOptions; /** * 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.sample = software.amazon.jsii.Kernel.get(this, "sample", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class)); this.sampleJavaPackage = software.amazon.jsii.Kernel.get(this, "sampleJavaPackage", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.compileOptions = software.amazon.jsii.Kernel.get(this, "compileOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.java.MavenCompileOptions.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.distdir = software.amazon.jsii.Kernel.get(this, "distdir", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.junit = software.amazon.jsii.Kernel.get(this, "junit", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class)); this.junitOptions = software.amazon.jsii.Kernel.get(this, "junitOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.java.JunitOptions.class)); this.packagingOptions = software.amazon.jsii.Kernel.get(this, "packagingOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.java.MavenPackagingOptions.class)); this.projenrcJava = software.amazon.jsii.Kernel.get(this, "projenrcJava", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class)); this.projenrcJavaOptions = software.amazon.jsii.Kernel.get(this, "projenrcJavaOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.java.ProjenrcOptions.class)); this.testDeps = software.amazon.jsii.Kernel.get(this, "testDeps", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.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.gitIgnoreOptions = software.amazon.jsii.Kernel.get(this, "gitIgnoreOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.IgnoreFileOptions.class)); this.gitOptions = software.amazon.jsii.Kernel.get(this, "gitOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.GitOptions.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.ProjenrcJsonOptions.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.artifactId = software.amazon.jsii.Kernel.get(this, "artifactId", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.groupId = software.amazon.jsii.Kernel.get(this, "groupId", 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.description = software.amazon.jsii.Kernel.get(this, "description", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.packaging = software.amazon.jsii.Kernel.get(this, "packaging", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.url = software.amazon.jsii.Kernel.get(this, "url", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.specFile = software.amazon.jsii.Kernel.get(this, "specFile", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.clientLanguages = software.amazon.jsii.Kernel.get(this, "clientLanguages", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.openapigateway.ClientLanguage.class))); this.apiSrcDir = software.amazon.jsii.Kernel.get(this, "apiSrcDir", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.documentationFormats = software.amazon.jsii.Kernel.get(this, "documentationFormats", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.openapigateway.DocumentationFormat.class))); this.forceGenerateCodeAndDocs = software.amazon.jsii.Kernel.get(this, "forceGenerateCodeAndDocs", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class)); this.generatedCodeDir = software.amazon.jsii.Kernel.get(this, "generatedCodeDir", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.javaClientOptions = software.amazon.jsii.Kernel.get(this, "javaClientOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.java.JavaProjectOptions.class)); this.parsedSpecFileName = software.amazon.jsii.Kernel.get(this, "parsedSpecFileName", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); this.pythonClientOptions = software.amazon.jsii.Kernel.get(this, "pythonClientOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.python.PythonProjectOptions.class)); this.typescriptClientOptions = software.amazon.jsii.Kernel.get(this, "typescriptClientOptions", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.typescript.TypeScriptProjectOptions.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.sample = builder.sample; this.sampleJavaPackage = builder.sampleJavaPackage; this.compileOptions = builder.compileOptions; this.deps = builder.deps; this.distdir = builder.distdir; this.junit = builder.junit; this.junitOptions = builder.junitOptions; this.packagingOptions = builder.packagingOptions; this.projenrcJava = builder.projenrcJava; this.projenrcJavaOptions = builder.projenrcJavaOptions; this.testDeps = builder.testDeps; 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.gitIgnoreOptions = builder.gitIgnoreOptions; this.gitOptions = builder.gitOptions; 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.artifactId = java.util.Objects.requireNonNull(builder.artifactId, "artifactId is required"); this.groupId = java.util.Objects.requireNonNull(builder.groupId, "groupId is required"); this.version = java.util.Objects.requireNonNull(builder.version, "version is required"); this.description = builder.description; this.packaging = builder.packaging; this.url = builder.url; this.specFile = builder.specFile; this.clientLanguages = (java.util.List)java.util.Objects.requireNonNull(builder.clientLanguages, "clientLanguages is required"); this.apiSrcDir = builder.apiSrcDir; this.documentationFormats = (java.util.List)builder.documentationFormats; this.forceGenerateCodeAndDocs = builder.forceGenerateCodeAndDocs; this.generatedCodeDir = builder.generatedCodeDir; this.javaClientOptions = builder.javaClientOptions; this.parsedSpecFileName = builder.parsedSpecFileName; this.pythonClientOptions = builder.pythonClientOptions; this.typescriptClientOptions = builder.typescriptClientOptions; } @Override public final java.lang.Boolean getSample() { return this.sample; } @Override public final java.lang.String getSampleJavaPackage() { return this.sampleJavaPackage; } @Override public final io.github.cdklabs.projen.java.MavenCompileOptions getCompileOptions() { return this.compileOptions; } @Override public final java.util.List getDeps() { return this.deps; } @Override public final java.lang.String getDistdir() { return this.distdir; } @Override public final java.lang.Boolean getJunit() { return this.junit; } @Override public final io.github.cdklabs.projen.java.JunitOptions getJunitOptions() { return this.junitOptions; } @Override public final io.github.cdklabs.projen.java.MavenPackagingOptions getPackagingOptions() { return this.packagingOptions; } @Override public final java.lang.Boolean getProjenrcJava() { return this.projenrcJava; } @Override public final io.github.cdklabs.projen.java.ProjenrcOptions getProjenrcJavaOptions() { return this.projenrcJavaOptions; } @Override public final java.util.List getTestDeps() { return this.testDeps; } @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.IgnoreFileOptions getGitIgnoreOptions() { return this.gitIgnoreOptions; } @Override public final io.github.cdklabs.projen.GitOptions getGitOptions() { return this.gitOptions; } @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.ProjenrcJsonOptions 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 getArtifactId() { return this.artifactId; } @Override public final java.lang.String getGroupId() { return this.groupId; } @Override public final java.lang.String getVersion() { return this.version; } @Override public final java.lang.String getDescription() { return this.description; } @Override public final java.lang.String getPackaging() { return this.packaging; } @Override public final java.lang.String getUrl() { return this.url; } @Override public final java.lang.String getSpecFile() { return this.specFile; } @Override public final java.util.List getClientLanguages() { return this.clientLanguages; } @Override public final java.lang.String getApiSrcDir() { return this.apiSrcDir; } @Override public final java.util.List getDocumentationFormats() { return this.documentationFormats; } @Override public final java.lang.Boolean getForceGenerateCodeAndDocs() { return this.forceGenerateCodeAndDocs; } @Override public final java.lang.String getGeneratedCodeDir() { return this.generatedCodeDir; } @Override public final io.github.cdklabs.projen.java.JavaProjectOptions getJavaClientOptions() { return this.javaClientOptions; } @Override public final java.lang.String getParsedSpecFileName() { return this.parsedSpecFileName; } @Override public final io.github.cdklabs.projen.python.PythonProjectOptions getPythonClientOptions() { return this.pythonClientOptions; } @Override public final io.github.cdklabs.projen.typescript.TypeScriptProjectOptions getTypescriptClientOptions() { return this.typescriptClientOptions; } @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.getSample() != null) { data.set("sample", om.valueToTree(this.getSample())); } if (this.getSampleJavaPackage() != null) { data.set("sampleJavaPackage", om.valueToTree(this.getSampleJavaPackage())); } if (this.getCompileOptions() != null) { data.set("compileOptions", om.valueToTree(this.getCompileOptions())); } if (this.getDeps() != null) { data.set("deps", om.valueToTree(this.getDeps())); } if (this.getDistdir() != null) { data.set("distdir", om.valueToTree(this.getDistdir())); } if (this.getJunit() != null) { data.set("junit", om.valueToTree(this.getJunit())); } if (this.getJunitOptions() != null) { data.set("junitOptions", om.valueToTree(this.getJunitOptions())); } if (this.getPackagingOptions() != null) { data.set("packagingOptions", om.valueToTree(this.getPackagingOptions())); } if (this.getProjenrcJava() != null) { data.set("projenrcJava", om.valueToTree(this.getProjenrcJava())); } if (this.getProjenrcJavaOptions() != null) { data.set("projenrcJavaOptions", om.valueToTree(this.getProjenrcJavaOptions())); } if (this.getTestDeps() != null) { data.set("testDeps", om.valueToTree(this.getTestDeps())); } 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.getGitIgnoreOptions() != null) { data.set("gitIgnoreOptions", om.valueToTree(this.getGitIgnoreOptions())); } if (this.getGitOptions() != null) { data.set("gitOptions", om.valueToTree(this.getGitOptions())); } 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("artifactId", om.valueToTree(this.getArtifactId())); data.set("groupId", om.valueToTree(this.getGroupId())); data.set("version", om.valueToTree(this.getVersion())); if (this.getDescription() != null) { data.set("description", om.valueToTree(this.getDescription())); } if (this.getPackaging() != null) { data.set("packaging", om.valueToTree(this.getPackaging())); } if (this.getUrl() != null) { data.set("url", om.valueToTree(this.getUrl())); } if (this.getSpecFile() != null) { data.set("specFile", om.valueToTree(this.getSpecFile())); } data.set("clientLanguages", om.valueToTree(this.getClientLanguages())); if (this.getApiSrcDir() != null) { data.set("apiSrcDir", om.valueToTree(this.getApiSrcDir())); } if (this.getDocumentationFormats() != null) { data.set("documentationFormats", om.valueToTree(this.getDocumentationFormats())); } if (this.getForceGenerateCodeAndDocs() != null) { data.set("forceGenerateCodeAndDocs", om.valueToTree(this.getForceGenerateCodeAndDocs())); } if (this.getGeneratedCodeDir() != null) { data.set("generatedCodeDir", om.valueToTree(this.getGeneratedCodeDir())); } if (this.getJavaClientOptions() != null) { data.set("javaClientOptions", om.valueToTree(this.getJavaClientOptions())); } if (this.getParsedSpecFileName() != null) { data.set("parsedSpecFileName", om.valueToTree(this.getParsedSpecFileName())); } if (this.getPythonClientOptions() != null) { data.set("pythonClientOptions", om.valueToTree(this.getPythonClientOptions())); } if (this.getTypescriptClientOptions() != null) { data.set("typescriptClientOptions", om.valueToTree(this.getTypescriptClientOptions())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); struct.set("fqn", om.valueToTree("@aws-prototyping-sdk/open-api-gateway.OpenApiGatewayJavaProjectOptions")); 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; OpenApiGatewayJavaProjectOptions.Jsii$Proxy that = (OpenApiGatewayJavaProjectOptions.Jsii$Proxy) o; if (this.sample != null ? !this.sample.equals(that.sample) : that.sample != null) return false; if (this.sampleJavaPackage != null ? !this.sampleJavaPackage.equals(that.sampleJavaPackage) : that.sampleJavaPackage != null) return false; if (this.compileOptions != null ? !this.compileOptions.equals(that.compileOptions) : that.compileOptions != null) return false; if (this.deps != null ? !this.deps.equals(that.deps) : that.deps != null) return false; if (this.distdir != null ? !this.distdir.equals(that.distdir) : that.distdir != null) return false; if (this.junit != null ? !this.junit.equals(that.junit) : that.junit != null) return false; if (this.junitOptions != null ? !this.junitOptions.equals(that.junitOptions) : that.junitOptions != null) return false; if (this.packagingOptions != null ? !this.packagingOptions.equals(that.packagingOptions) : that.packagingOptions != null) return false; if (this.projenrcJava != null ? !this.projenrcJava.equals(that.projenrcJava) : that.projenrcJava != null) return false; if (this.projenrcJavaOptions != null ? !this.projenrcJavaOptions.equals(that.projenrcJavaOptions) : that.projenrcJavaOptions != null) return false; if (this.testDeps != null ? !this.testDeps.equals(that.testDeps) : that.testDeps != 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.gitIgnoreOptions != null ? !this.gitIgnoreOptions.equals(that.gitIgnoreOptions) : that.gitIgnoreOptions != null) return false; if (this.gitOptions != null ? !this.gitOptions.equals(that.gitOptions) : that.gitOptions != 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 (!artifactId.equals(that.artifactId)) return false; if (!groupId.equals(that.groupId)) return false; if (!version.equals(that.version)) return false; if (this.description != null ? !this.description.equals(that.description) : that.description != null) return false; if (this.packaging != null ? !this.packaging.equals(that.packaging) : that.packaging != null) return false; if (this.url != null ? !this.url.equals(that.url) : that.url != null) return false; if (this.specFile != null ? !this.specFile.equals(that.specFile) : that.specFile != null) return false; if (!clientLanguages.equals(that.clientLanguages)) return false; if (this.apiSrcDir != null ? !this.apiSrcDir.equals(that.apiSrcDir) : that.apiSrcDir != null) return false; if (this.documentationFormats != null ? !this.documentationFormats.equals(that.documentationFormats) : that.documentationFormats != null) return false; if (this.forceGenerateCodeAndDocs != null ? !this.forceGenerateCodeAndDocs.equals(that.forceGenerateCodeAndDocs) : that.forceGenerateCodeAndDocs != null) return false; if (this.generatedCodeDir != null ? !this.generatedCodeDir.equals(that.generatedCodeDir) : that.generatedCodeDir != null) return false; if (this.javaClientOptions != null ? !this.javaClientOptions.equals(that.javaClientOptions) : that.javaClientOptions != null) return false; if (this.parsedSpecFileName != null ? !this.parsedSpecFileName.equals(that.parsedSpecFileName) : that.parsedSpecFileName != null) return false; if (this.pythonClientOptions != null ? !this.pythonClientOptions.equals(that.pythonClientOptions) : that.pythonClientOptions != null) return false; return this.typescriptClientOptions != null ? this.typescriptClientOptions.equals(that.typescriptClientOptions) : that.typescriptClientOptions == null; } @Override public final int hashCode() { int result = this.sample != null ? this.sample.hashCode() : 0; result = 31 * result + (this.sampleJavaPackage != null ? this.sampleJavaPackage.hashCode() : 0); result = 31 * result + (this.compileOptions != null ? this.compileOptions.hashCode() : 0); result = 31 * result + (this.deps != null ? this.deps.hashCode() : 0); result = 31 * result + (this.distdir != null ? this.distdir.hashCode() : 0); result = 31 * result + (this.junit != null ? this.junit.hashCode() : 0); result = 31 * result + (this.junitOptions != null ? this.junitOptions.hashCode() : 0); result = 31 * result + (this.packagingOptions != null ? this.packagingOptions.hashCode() : 0); result = 31 * result + (this.projenrcJava != null ? this.projenrcJava.hashCode() : 0); result = 31 * result + (this.projenrcJavaOptions != null ? this.projenrcJavaOptions.hashCode() : 0); result = 31 * result + (this.testDeps != null ? this.testDeps.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.gitIgnoreOptions != null ? this.gitIgnoreOptions.hashCode() : 0); result = 31 * result + (this.gitOptions != null ? this.gitOptions.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.artifactId.hashCode()); result = 31 * result + (this.groupId.hashCode()); result = 31 * result + (this.version.hashCode()); result = 31 * result + (this.description != null ? this.description.hashCode() : 0); result = 31 * result + (this.packaging != null ? this.packaging.hashCode() : 0); result = 31 * result + (this.url != null ? this.url.hashCode() : 0); result = 31 * result + (this.specFile != null ? this.specFile.hashCode() : 0); result = 31 * result + (this.clientLanguages.hashCode()); result = 31 * result + (this.apiSrcDir != null ? this.apiSrcDir.hashCode() : 0); result = 31 * result + (this.documentationFormats != null ? this.documentationFormats.hashCode() : 0); result = 31 * result + (this.forceGenerateCodeAndDocs != null ? this.forceGenerateCodeAndDocs.hashCode() : 0); result = 31 * result + (this.generatedCodeDir != null ? this.generatedCodeDir.hashCode() : 0); result = 31 * result + (this.javaClientOptions != null ? this.javaClientOptions.hashCode() : 0); result = 31 * result + (this.parsedSpecFileName != null ? this.parsedSpecFileName.hashCode() : 0); result = 31 * result + (this.pythonClientOptions != null ? this.pythonClientOptions.hashCode() : 0); result = 31 * result + (this.typescriptClientOptions != null ? this.typescriptClientOptions.hashCode() : 0); return result; } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy