Package com.hashicorp.cdktf
Class TerraformOutputConfig.Builder
java.lang.Object
com.hashicorp.cdktf.TerraformOutputConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TerraformOutputConfig>
- Enclosing interface:
TerraformOutputConfig
@Stability(Experimental)
public static final class TerraformOutputConfig.Builder
extends Object
implements software.amazon.jsii.Builder<TerraformOutputConfig>
A builder for
TerraformOutputConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dependsOn(List<? extends ITerraformDependable> dependsOn) Sets the value ofTerraformOutputConfig.getDependsOn()description(String description) Sets the value ofTerraformOutputConfig.getDescription()precondition(Precondition precondition) Sets the value ofTerraformOutputConfig.getPrecondition()Sets the value ofTerraformOutputConfig.getSensitive()Sets the value ofTerraformOutputConfig.getStaticId()Sets the value ofTerraformOutputConfig.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
value
Sets the value ofTerraformOutputConfig.getValue()- Parameters:
value- the value to be set. This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public TerraformOutputConfig.Builder dependsOn(List<? extends ITerraformDependable> dependsOn) Sets the value ofTerraformOutputConfig.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
description
Sets the value ofTerraformOutputConfig.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
precondition
@Stability(Experimental) public TerraformOutputConfig.Builder precondition(Precondition precondition) Sets the value ofTerraformOutputConfig.getPrecondition()- Parameters:
precondition- the value to be set.- Returns:
this
-
sensitive
Sets the value ofTerraformOutputConfig.getSensitive()- Parameters:
sensitive- the value to be set.- Returns:
this
-
staticId
Sets the value ofTerraformOutputConfig.getStaticId()- Parameters:
staticId- If set to true the synthesized Terraform Output will be named after theidpassed to the constructor instead of the default (TerraformOutput.friendlyUniqueId).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TerraformOutputConfig>- Returns:
- a new instance of
TerraformOutputConfig - Throws:
NullPointerException- if any required attribute was not provided
-