Class CfnNodeMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.managedblockchain.CfnNodeMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNodeMixinProps>
- Enclosing interface:
CfnNodeMixinProps
@Stability(Stable)
public static final class CfnNodeMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNodeMixinProps>
A builder for
CfnNodeMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnNodeMixinProps.getMemberId()Sets the value ofCfnNodeMixinProps.getNetworkId()nodeConfiguration(CfnNodePropsMixin.NodeConfigurationProperty nodeConfiguration) Sets the value ofCfnNodeMixinProps.getNodeConfiguration()nodeConfiguration(IResolvable nodeConfiguration) Sets the value ofCfnNodeMixinProps.getNodeConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
memberId
Sets the value ofCfnNodeMixinProps.getMemberId()- Parameters:
memberId- The unique identifier of the member to which the node belongs. Applies only to Hyperledger Fabric.- Returns:
this
-
networkId
Sets the value ofCfnNodeMixinProps.getNetworkId()- Parameters:
networkId- The unique identifier of the network for the node. Ethereum public networks have the followingNetworkIds:n-ethereum-mainnet
- Returns:
this
-
nodeConfiguration
@Stability(Stable) public CfnNodeMixinProps.Builder nodeConfiguration(IResolvable nodeConfiguration) Sets the value ofCfnNodeMixinProps.getNodeConfiguration()- Parameters:
nodeConfiguration- Configuration properties of a peer node.- Returns:
this
-
nodeConfiguration
@Stability(Stable) public CfnNodeMixinProps.Builder nodeConfiguration(CfnNodePropsMixin.NodeConfigurationProperty nodeConfiguration) Sets the value ofCfnNodeMixinProps.getNodeConfiguration()- Parameters:
nodeConfiguration- Configuration properties of a peer node.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNodeMixinProps>- Returns:
- a new instance of
CfnNodeMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-