Package com.hashicorp.cdktf
Class TerraformAssetConfig.Builder
java.lang.Object
com.hashicorp.cdktf.TerraformAssetConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TerraformAssetConfig>
- Enclosing interface:
TerraformAssetConfig
@Stability(Experimental)
public static final class TerraformAssetConfig.Builder
extends Object
implements software.amazon.jsii.Builder<TerraformAssetConfig>
A builder for
TerraformAssetConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofTerraformAssetConfig.getAssetHash()
build()
Builds the configured instance.Sets the value ofTerraformAssetConfig.getPath()
Sets the value ofTerraformAssetConfig.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
path
Sets the value ofTerraformAssetConfig.getPath()
- Parameters:
path
- the value to be set. This parameter is required.- Returns:
this
-
assetHash
Sets the value ofTerraformAssetConfig.getAssetHash()
- Parameters:
assetHash
- the value to be set.- Returns:
this
-
type
Sets the value ofTerraformAssetConfig.getType()
- Parameters:
type
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<TerraformAssetConfig>
- Returns:
- a new instance of
TerraformAssetConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-