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 Details

    • 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 the NodeLogPublishingConfiguration.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).

      Parameters:
      logPublishingConfiguration - a consumer that will call methods on NodeLogPublishingConfiguration.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 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.

      Parameters:
      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.

      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 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: