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 Details

    • create

      @Stability(Stable) public static CfnNode.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnNode.Builder.
    • networkId

      @Stability(Stable) public CfnNode.Builder networkId(String 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

      @Stability(Stable) public CfnNode.Builder nodeConfiguration(IResolvable 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

      @Stability(Stable) public CfnNode.Builder memberId(String 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

      @Stability(Stable) public CfnNode build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnNode>
      Returns:
      a newly built instance of CfnNode.