Class BlockchainNodeEngineBlockchainNodesConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.blockchain_node_engine_blockchain_nodes.BlockchainNodeEngineBlockchainNodesConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BlockchainNodeEngineBlockchainNodesConfig>
- Enclosing interface:
- BlockchainNodeEngineBlockchainNodesConfig
@Stability(Stable) public static final class BlockchainNodeEngineBlockchainNodesConfig.Builder extends Object implements software.amazon.jsii.Builder<BlockchainNodeEngineBlockchainNodesConfig>
A builder forBlockchainNodeEngineBlockchainNodesConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
blockchainNodeId
@Stability(Stable) public BlockchainNodeEngineBlockchainNodesConfig.Builder blockchainNodeId(String blockchainNodeId)
Sets the value ofBlockchainNodeEngineBlockchainNodesConfig.getBlockchainNodeId()- Parameters:
blockchainNodeId- ID of the requesting object. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/blockchain_node_engine_blockchain_nodes#blockchain_node_id BlockchainNodeEngineBlockchainNodes#blockchain_node_id}- Returns:
this
-
location
@Stability(Stable) public BlockchainNodeEngineBlockchainNodesConfig.Builder location(String location)
Sets the value ofBlockchainNodeEngineBlockchainNodesConfig.getLocation()- Parameters:
location- Location of Blockchain Node being created. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/blockchain_node_engine_blockchain_nodes#location BlockchainNodeEngineBlockchainNodes#location}- Returns:
this
-
blockchainType
@Stability(Stable) public BlockchainNodeEngineBlockchainNodesConfig.Builder blockchainType(String blockchainType)
Sets the value ofBlockchainNodeEngineBlockchainNodesConfig.getBlockchainType()- Parameters:
blockchainType- User-provided key-value pairs Possible values: ["ETHEREUM"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/blockchain_node_engine_blockchain_nodes#blockchain_type BlockchainNodeEngineBlockchainNodes#blockchain_type}- Returns:
this
-
ethereumDetails
@Stability(Stable) public BlockchainNodeEngineBlockchainNodesConfig.Builder ethereumDetails(BlockchainNodeEngineBlockchainNodesEthereumDetails ethereumDetails)
Sets the value ofBlockchainNodeEngineBlockchainNodesConfig.getEthereumDetails()- Parameters:
ethereumDetails- ethereum_details block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/blockchain_node_engine_blockchain_nodes#ethereum_details BlockchainNodeEngineBlockchainNodes#ethereum_details}- Returns:
this
-
id
@Stability(Stable) public BlockchainNodeEngineBlockchainNodesConfig.Builder id(String id)
Sets the value ofBlockchainNodeEngineBlockchainNodesConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/blockchain_node_engine_blockchain_nodes#id BlockchainNodeEngineBlockchainNodes#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
labels
@Stability(Stable) public BlockchainNodeEngineBlockchainNodesConfig.Builder labels(Map<String,String> labels)
Sets the value ofBlockchainNodeEngineBlockchainNodesConfig.getLabels()- Parameters:
labels- User-provided key-value pairs. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/blockchain_node_engine_blockchain_nodes#labels BlockchainNodeEngineBlockchainNodes#labels}- Returns:
this
-
project
@Stability(Stable) public BlockchainNodeEngineBlockchainNodesConfig.Builder project(String project)
Sets the value ofBlockchainNodeEngineBlockchainNodesConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/blockchain_node_engine_blockchain_nodes#project BlockchainNodeEngineBlockchainNodes#project}.- Returns:
this
-
timeouts
@Stability(Stable) public BlockchainNodeEngineBlockchainNodesConfig.Builder timeouts(BlockchainNodeEngineBlockchainNodesTimeouts timeouts)
Sets the value ofBlockchainNodeEngineBlockchainNodesConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/blockchain_node_engine_blockchain_nodes#timeouts BlockchainNodeEngineBlockchainNodes#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public BlockchainNodeEngineBlockchainNodesConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public BlockchainNodeEngineBlockchainNodesConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public BlockchainNodeEngineBlockchainNodesConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public BlockchainNodeEngineBlockchainNodesConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public BlockchainNodeEngineBlockchainNodesConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public BlockchainNodeEngineBlockchainNodesConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public BlockchainNodeEngineBlockchainNodesConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public BlockchainNodeEngineBlockchainNodesConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public BlockchainNodeEngineBlockchainNodesConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public BlockchainNodeEngineBlockchainNodesConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BlockchainNodeEngineBlockchainNodesConfig>- Returns:
- a new instance of
BlockchainNodeEngineBlockchainNodesConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-