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
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- 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
n-ethereum-goerli
n-ethereum-rinkeby
- Parameters:
networkId
- The unique identifier of the network for the node. This parameter is required.- Returns:
this
-
nodeConfiguration
Configuration properties of a peer node.- Parameters:
nodeConfiguration
- Configuration properties of a peer node. This parameter is required.- Returns:
this
-
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
-
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
-
build
-