Interface NodeConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NodeConfiguration.Builder,
,NodeConfiguration> SdkBuilder<NodeConfiguration.Builder,
,NodeConfiguration> SdkPojo
- Enclosing class:
NodeConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone
(String availabilityZone) The Availability Zone in which the node exists.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.logPublishingConfiguration
(NodeLogPublishingConfiguration logPublishingConfiguration) Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.The state database that the node uses.stateDB
(StateDBType stateDB) The state database that the node uses.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
instanceType
The Amazon Managed Blockchain instance type for the node.
- Parameters:
instanceType
- The Amazon Managed Blockchain instance type for the node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The Availability Zone in which the node exists. Required for Ethereum nodes.
- Parameters:
availabilityZone
- The Availability Zone in which the node exists. Required for Ethereum nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logPublishingConfiguration
NodeConfiguration.Builder logPublishingConfiguration(NodeLogPublishingConfiguration logPublishingConfiguration) Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
- Parameters:
logPublishingConfiguration
- Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logPublishingConfiguration
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 viaNodeLogPublishingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologPublishingConfiguration(NodeLogPublishingConfiguration)
.- Parameters:
logPublishingConfiguration
- a consumer that will call methods onNodeLogPublishingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateDB
The state database that the node uses. Values are
LevelDB
orCouchDB
. When using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default isCouchDB
.Applies only to Hyperledger Fabric.
- Parameters:
stateDB
- The state database that the node uses. Values areLevelDB
orCouchDB
. When using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default isCouchDB
.Applies only to Hyperledger Fabric.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateDB
The state database that the node uses. Values are
LevelDB
orCouchDB
. When using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default isCouchDB
.Applies only to Hyperledger Fabric.
- Parameters:
stateDB
- The state database that the node uses. Values areLevelDB
orCouchDB
. When using an Amazon Managed Blockchain network with Hyperledger Fabric version 1.4 or later, the default isCouchDB
.Applies only to Hyperledger Fabric.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-