public static interface NodeConfiguration.Builder extends SdkPojo, CopyableBuilder<NodeConfiguration.Builder,NodeConfiguration>
| Modifier and Type | Method and Description |
|---|---|
NodeConfiguration.Builder |
availabilityZone(String availabilityZone)
The Availability Zone in which the node exists.
|
NodeConfiguration.Builder |
instanceType(String instanceType)
The Amazon Managed Blockchain instance type for the node.
|
default NodeConfiguration.Builder |
logPublishingConfiguration(Consumer<NodeLogPublishingConfiguration.Builder> logPublishingConfiguration)
Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on
Managed Blockchain.
|
NodeConfiguration.Builder |
logPublishingConfiguration(NodeLogPublishingConfiguration logPublishingConfiguration)
Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on
Managed Blockchain.
|
NodeConfiguration.Builder |
stateDB(StateDBType stateDB)
The state database that the node uses.
|
NodeConfiguration.Builder |
stateDB(String stateDB)
The state database that the node uses.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNodeConfiguration.Builder instanceType(String instanceType)
The Amazon Managed Blockchain instance type for the node.
instanceType - The Amazon Managed Blockchain instance type for the node.NodeConfiguration.Builder availabilityZone(String availabilityZone)
The Availability Zone in which the node exists. Required for Ethereum nodes.
availabilityZone - The Availability Zone in which the node exists. Required for Ethereum nodes.NodeConfiguration.Builder logPublishingConfiguration(NodeLogPublishingConfiguration logPublishingConfiguration)
Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
logPublishingConfiguration - Configuration properties for logging events associated with a peer node on a Hyperledger Fabric
network on Managed Blockchain.default NodeConfiguration.Builder logPublishingConfiguration(Consumer<NodeLogPublishingConfiguration.Builder> logPublishingConfiguration)
Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
This is a convenience method that creates an instance of theNodeLogPublishingConfiguration.Builder
avoiding the need to create one manually via NodeLogPublishingConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to logPublishingConfiguration(NodeLogPublishingConfiguration).
logPublishingConfiguration - a consumer that will call methods on NodeLogPublishingConfiguration.BuilderlogPublishingConfiguration(NodeLogPublishingConfiguration)NodeConfiguration.Builder stateDB(String stateDB)
The state database that the node uses. Values are LevelDB or CouchDB. When using an
Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default is
CouchDB.
Applies only to Hyperledger Fabric.
stateDB - The state database that the node uses. Values are LevelDB or CouchDB. When
using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default
is CouchDB.
Applies only to Hyperledger Fabric.
StateDBType,
StateDBTypeNodeConfiguration.Builder stateDB(StateDBType stateDB)
The state database that the node uses. Values are LevelDB or CouchDB. When using an
Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default is
CouchDB.
Applies only to Hyperledger Fabric.
stateDB - The state database that the node uses. Values are LevelDB or CouchDB. When
using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default
is CouchDB.
Applies only to Hyperledger Fabric.
StateDBType,
StateDBTypeCopyright © 2023. All rights reserved.