Class CfnNode.Builder
java.lang.Object
software.amazon.awscdk.services.managedblockchain.CfnNode.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNode>
- Enclosing class:
CfnNode
@Stability(Stable)
public static final class CfnNode.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNode>
A fluent builder for
CfnNode
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnNode.Builder
The unique identifier of the member to which the node belongs.The unique identifier of the network for the node.nodeConfiguration
(IResolvable nodeConfiguration) Configuration properties of a peer node.nodeConfiguration
(CfnNode.NodeConfigurationProperty nodeConfiguration) Configuration properties of a peer node.
-
Method Details
-
create
@Stability(Stable) public static CfnNode.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnNode.Builder
.
-
networkId
The unique identifier of the network for the node.Ethereum public networks have the following
NetworkId
s:n-ethereum-mainnet
- Parameters:
networkId
- The unique identifier of the network for the node. This parameter is required.- Returns:
this
- See Also:
-
nodeConfiguration
Configuration properties of a peer node.- Parameters:
nodeConfiguration
- Configuration properties of a peer node. This parameter is required.- Returns:
this
- See Also:
-
nodeConfiguration
@Stability(Stable) public CfnNode.Builder nodeConfiguration(CfnNode.NodeConfigurationProperty nodeConfiguration) Configuration properties of a peer node.- Parameters:
nodeConfiguration
- Configuration properties of a peer node. This parameter is required.- Returns:
this
- See Also:
-
memberId
The unique identifier of the member to which the node belongs.Applies only to Hyperledger Fabric.
- Parameters:
memberId
- The unique identifier of the member to which the node belongs. This parameter is required.- Returns:
this
- See Also:
-
build
-