Interface NodeConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NodeConfiguration.Builder,NodeConfiguration>,SdkBuilder<NodeConfiguration.Builder,NodeConfiguration>,SdkPojo
- Enclosing class:
- NodeConfiguration
public static interface NodeConfiguration.Builder extends SdkPojo, CopyableBuilder<NodeConfiguration.Builder,NodeConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NodeConfiguration.BuilderavailabilityZone(String availabilityZone)The Availability Zone in which the node exists.NodeConfiguration.BuilderinstanceType(String instanceType)The Amazon Managed Blockchain instance type for the node.default NodeConfiguration.BuilderlogPublishingConfiguration(Consumer<NodeLogPublishingConfiguration.Builder> logPublishingConfiguration)Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.NodeConfiguration.BuilderlogPublishingConfiguration(NodeLogPublishingConfiguration logPublishingConfiguration)Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.NodeConfiguration.BuilderstateDB(String stateDB)The state database that the node uses.NodeConfiguration.BuilderstateDB(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
instanceType
NodeConfiguration.Builder instanceType(String 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
NodeConfiguration.Builder availabilityZone(String 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.Builderavoiding the need to create one manually viaNodeLogPublishingConfiguration.builder().When the
Consumercompletes,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:
logPublishingConfiguration(NodeLogPublishingConfiguration)
-
stateDB
NodeConfiguration.Builder stateDB(String stateDB)
The state database that the node uses. Values are
LevelDBorCouchDB. 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 areLevelDBorCouchDB. 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:
StateDBType,StateDBType
-
stateDB
NodeConfiguration.Builder stateDB(StateDBType stateDB)
The state database that the node uses. Values are
LevelDBorCouchDB. 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 areLevelDBorCouchDB. 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:
StateDBType,StateDBType
-
-