@Stability(value=Stable) public static final class CfnNodeProps.Builder extends Object implements software.amazon.jsii.Builder<CfnNodeProps>
CfnNodeProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnNodeProps |
build()
Builds the configured instance.
|
CfnNodeProps.Builder |
memberId(String memberId)
Sets the value of
CfnNodeProps.getMemberId() |
CfnNodeProps.Builder |
networkId(String networkId)
Sets the value of
CfnNodeProps.getNetworkId() |
CfnNodeProps.Builder |
nodeConfiguration(CfnNode.NodeConfigurationProperty nodeConfiguration)
Sets the value of
CfnNodeProps.getNodeConfiguration() |
CfnNodeProps.Builder |
nodeConfiguration(IResolvable nodeConfiguration)
Sets the value of
CfnNodeProps.getNodeConfiguration() |
@Stability(value=Stable) public CfnNodeProps.Builder networkId(String networkId)
CfnNodeProps.getNetworkId()networkId - The unique identifier of the network for the node. This parameter is required.
Ethereum public networks have the following NetworkId s:
n-ethereum-mainnetn-ethereum-rinkebyn-ethereum-ropstenthis@Stability(value=Stable) public CfnNodeProps.Builder nodeConfiguration(CfnNode.NodeConfigurationProperty nodeConfiguration)
CfnNodeProps.getNodeConfiguration()nodeConfiguration - Configuration properties of a peer node. This parameter is required.this@Stability(value=Stable) public CfnNodeProps.Builder nodeConfiguration(IResolvable nodeConfiguration)
CfnNodeProps.getNodeConfiguration()nodeConfiguration - Configuration properties of a peer node. This parameter is required.this@Stability(value=Stable) public CfnNodeProps.Builder memberId(String memberId)
CfnNodeProps.getMemberId()memberId - The unique identifier of the member to which the node belongs.
Applies only to Hyperledger Fabric.this@Stability(value=Stable) public CfnNodeProps build()
build in interface software.amazon.jsii.Builder<CfnNodeProps>CfnNodePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.