Class AppConfig.Builder

java.lang.Object
com.hashicorp.cdktf.AppConfig.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<AppConfig>
Enclosing interface:
AppConfig

@Stability(Experimental) public static final class AppConfig.Builder extends Object implements software.amazon.jsii.Builder<AppConfig>
A builder for AppConfig
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • context

      @Stability(Experimental) public AppConfig.Builder context(Map<String,? extends Object> context)
      Sets the value of AppConfig.getContext()
      Parameters:
      context - Additional context values for the application. Context set by the CLI or the context key in cdktf.json has precedence.

      Context can be read from any construct using node.getContext(key).

      Returns:
      this
    • hclOutput

      @Stability(Experimental) public AppConfig.Builder hclOutput(Boolean hclOutput)
      Sets the value of AppConfig.getHclOutput()
      Parameters:
      hclOutput - the value to be set.
      Returns:
      this
    • outdir

      @Stability(Experimental) public AppConfig.Builder outdir(String outdir)
      Sets the value of AppConfig.getOutdir()
      Parameters:
      outdir - The directory to output Terraform resources.
      Returns:
      this
    • skipBackendValidation

      @Stability(Experimental) public AppConfig.Builder skipBackendValidation(Boolean skipBackendValidation)
      Parameters:
      skipBackendValidation - Whether to skip backend validation during synthesis of the app.
      Returns:
      this
    • skipValidation

      @Stability(Experimental) public AppConfig.Builder skipValidation(Boolean skipValidation)
      Parameters:
      skipValidation - Whether to skip all validations during synthesis of the app.
      Returns:
      this
    • stackTraces

      @Stability(Experimental) public AppConfig.Builder stackTraces(Boolean stackTraces)
      Sets the value of AppConfig.getStackTraces()
      Parameters:
      stackTraces - the value to be set.
      Returns:
      this
    • build

      @Stability(Experimental) public AppConfig build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<AppConfig>
      Returns:
      a new instance of AppConfig
      Throws:
      NullPointerException - if any required attribute was not provided