Class TerraformAsset.Builder

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

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

    • create

      @Stability(Experimental) public static TerraformAsset.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of TerraformAsset.Builder.
    • path

      @Stability(Experimental) public TerraformAsset.Builder path(String path)
      Parameters:
      path - This parameter is required.
      Returns:
      this
    • assetHash

      @Stability(Experimental) public TerraformAsset.Builder assetHash(String assetHash)
      Parameters:
      assetHash - This parameter is required.
      Returns:
      this
    • type

      @Stability(Experimental) public TerraformAsset.Builder type(AssetType type)
      Parameters:
      type - This parameter is required.
      Returns:
      this
    • build

      @Stability(Experimental) public TerraformAsset build()
      Specified by:
      build in interface software.amazon.jsii.Builder<TerraformAsset>
      Returns:
      a newly built instance of TerraformAsset.