public static interface Node.Builder extends SdkPojo, CopyableBuilder<Node.Builder,Node>
| Modifier and Type | Method and Description |
|---|---|
Node.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the node.
|
Node.Builder |
availabilityZone(String availabilityZone)
The Availability Zone in which the node exists.
|
Node.Builder |
creationDate(Instant creationDate)
The date and time that the node was created.
|
default Node.Builder |
frameworkAttributes(Consumer<NodeFrameworkAttributes.Builder> frameworkAttributes)
Attributes of the blockchain framework being used.
|
Node.Builder |
frameworkAttributes(NodeFrameworkAttributes frameworkAttributes)
Attributes of the blockchain framework being used.
|
Node.Builder |
id(String id)
The unique identifier of the node.
|
Node.Builder |
instanceType(String instanceType)
The instance type of the node.
|
default Node.Builder |
logPublishingConfiguration(Consumer<NodeLogPublishingConfiguration.Builder> logPublishingConfiguration)
Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on
Managed Blockchain.
|
Node.Builder |
logPublishingConfiguration(NodeLogPublishingConfiguration logPublishingConfiguration)
Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on
Managed Blockchain.
|
Node.Builder |
memberId(String memberId)
The unique identifier of the member to which the node belongs.
|
Node.Builder |
networkId(String networkId)
The unique identifier of the network that the node is on.
|
Node.Builder |
stateDB(StateDBType stateDB)
The state database that the node uses.
|
Node.Builder |
stateDB(String stateDB)
The state database that the node uses.
|
Node.Builder |
status(NodeStatus status)
The status of the node.
|
Node.Builder |
status(String status)
The status of the node.
|
Node.Builder |
tags(Map<String,String> tags)
Tags assigned to the node.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNode.Builder networkId(String networkId)
The unique identifier of the network that the node is on.
networkId - The unique identifier of the network that the node is on.Node.Builder memberId(String memberId)
The unique identifier of the member to which the node belongs.
Applies only to Hyperledger Fabric.
memberId - The unique identifier of the member to which the node belongs.
Applies only to Hyperledger Fabric.
Node.Builder id(String id)
The unique identifier of the node.
id - The unique identifier of the node.Node.Builder instanceType(String instanceType)
The instance type of the node.
instanceType - The instance type of the node.Node.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.Node.Builder frameworkAttributes(NodeFrameworkAttributes frameworkAttributes)
Attributes of the blockchain framework being used.
frameworkAttributes - Attributes of the blockchain framework being used.default Node.Builder frameworkAttributes(Consumer<NodeFrameworkAttributes.Builder> frameworkAttributes)
Attributes of the blockchain framework being used.
This is a convenience that creates an instance of theNodeFrameworkAttributes.Builder avoiding the
need to create one manually via NodeFrameworkAttributes.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to frameworkAttributes(NodeFrameworkAttributes).frameworkAttributes - a consumer that will call methods on NodeFrameworkAttributes.BuilderframeworkAttributes(NodeFrameworkAttributes)Node.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 Node.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 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)Node.Builder stateDB(String stateDB)
The state database that the node uses. Values are LevelDB or CouchDB.
Applies only to Hyperledger Fabric.
stateDB - The state database that the node uses. Values are LevelDB or CouchDB.
Applies only to Hyperledger Fabric.
StateDBType,
StateDBTypeNode.Builder stateDB(StateDBType stateDB)
The state database that the node uses. Values are LevelDB or CouchDB.
Applies only to Hyperledger Fabric.
stateDB - The state database that the node uses. Values are LevelDB or CouchDB.
Applies only to Hyperledger Fabric.
StateDBType,
StateDBTypeNode.Builder status(String status)
The status of the node.
status - The status of the node.NodeStatus,
NodeStatusNode.Builder status(NodeStatus status)
The status of the node.
status - The status of the node.NodeStatus,
NodeStatusNode.Builder creationDate(Instant creationDate)
The date and time that the node was created.
creationDate - The date and time that the node was created.Node.Builder tags(Map<String,String> tags)
Tags assigned to the node. Each tag consists of a key and optional value.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
tags - Tags assigned to the node. Each tag consists of a key and optional value.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Node.Builder arn(String arn)
The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.
arn - The Amazon Resource Name (ARN) of the node. For more information about ARNs and their format, see Amazon Resource
Names (ARNs) in the AWS General Reference.Copyright © 2021. All rights reserved.