Interface NodeConfiguration.Builder

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

        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.

        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:
        StateDBType, StateDBType
      • stateDB

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

        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:
        StateDBType, StateDBType