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

com.hashicorp.cdktf.Manifest Maven / Gradle / Ivy

package com.hashicorp.cdktf;

/**
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.98.0 (build 00b106d)", date = "2024-05-27T11:46:32.211Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = com.hashicorp.cdktf.$Module.class, fqn = "cdktf.Manifest")
public class Manifest extends software.amazon.jsii.JsiiObject implements com.hashicorp.cdktf.IManifest {

    protected Manifest(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected Manifest(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    static {
        FILE_NAME = software.amazon.jsii.JsiiObject.jsiiStaticGet(com.hashicorp.cdktf.Manifest.class, "fileName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        STACK_METADATA_PATH = software.amazon.jsii.JsiiObject.jsiiStaticGet(com.hashicorp.cdktf.Manifest.class, "stackMetadataPath", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        STACKS_FOLDER = software.amazon.jsii.JsiiObject.jsiiStaticGet(com.hashicorp.cdktf.Manifest.class, "stacksFolder", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     * @param version This parameter is required.
     * @param outdir This parameter is required.
     * @param hclOutput This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public Manifest(final @org.jetbrains.annotations.NotNull java.lang.String version, final @org.jetbrains.annotations.NotNull java.lang.String outdir, final @org.jetbrains.annotations.NotNull java.lang.Boolean hclOutput) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(version, "version is required"), java.util.Objects.requireNonNull(outdir, "outdir is required"), java.util.Objects.requireNonNull(hclOutput, "hclOutput is required") });
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.IManifest buildManifest() {
        return software.amazon.jsii.Kernel.call(this, "buildManifest", software.amazon.jsii.NativeType.forClass(com.hashicorp.cdktf.IManifest.class));
    }

    /**
     * @param stack This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.StackManifest forStack(final @org.jetbrains.annotations.NotNull com.hashicorp.cdktf.TerraformStack stack) {
        return software.amazon.jsii.Kernel.call(this, "forStack", software.amazon.jsii.NativeType.forClass(com.hashicorp.cdktf.StackManifest.class), new Object[] { java.util.Objects.requireNonNull(stack, "stack is required") });
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public void writeToFile() {
        software.amazon.jsii.Kernel.call(this, "writeToFile", software.amazon.jsii.NativeType.VOID);
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public final static java.lang.String FILE_NAME;

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public final static java.lang.String STACK_METADATA_PATH;

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public final static java.lang.String STACKS_FOLDER;

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull java.lang.Boolean getHclOutput() {
        return software.amazon.jsii.Kernel.get(this, "hclOutput", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull java.lang.String getOutdir() {
        return software.amazon.jsii.Kernel.get(this, "outdir", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull java.lang.String getStackFileName() {
        return software.amazon.jsii.Kernel.get(this, "stackFileName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     */
    @Override
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull java.util.Map getStacks() {
        return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.get(this, "stacks", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(com.hashicorp.cdktf.StackManifest.class))));
    }

    /**
     */
    @Override
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull java.lang.String getVersion() {
        return software.amazon.jsii.Kernel.get(this, "version", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy