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.
|
Node.Builder |
kmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) that the node uses
for encryption at rest.
|
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 method 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 method 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.
CREATING - The Amazon Web Services account is in the process of creating a node.
AVAILABLE - The node has been created and can participate in the network.
UNHEALTHY - The node is impaired and might not function as expected. Amazon Managed Blockchain
automatically finds nodes in this state and tries to recover them. If a node is recoverable, it returns to
AVAILABLE. Otherwise, it moves to FAILED status.
CREATE_FAILED - The Amazon Web Services account attempted to create a node and creation failed.
UPDATING - The node is in the process of being updated.
DELETING - The node is in the process of being deleted.
DELETED - The node can no longer participate on the network.
FAILED - The node is no longer functional, cannot be recovered, and must be deleted.
INACCESSIBLE_ENCRYPTION_KEY - The node is impaired and might not function as expected because it
cannot access the specified customer managed key in KMS for encryption at rest. Either the KMS key was
disabled or deleted, or the grants on the key were revoked.
The effect of disabling or deleting a key or of revoking a grant isn't immediate. It might take some time for the node resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.
status - The status of the node.
CREATING - The Amazon Web Services account is in the process of creating a node.
AVAILABLE - The node has been created and can participate in the network.
UNHEALTHY - The node is impaired and might not function as expected. Amazon Managed
Blockchain automatically finds nodes in this state and tries to recover them. If a node is
recoverable, it returns to AVAILABLE. Otherwise, it moves to FAILED status.
CREATE_FAILED - The Amazon Web Services account attempted to create a node and creation
failed.
UPDATING - The node is in the process of being updated.
DELETING - The node is in the process of being deleted.
DELETED - The node can no longer participate on the network.
FAILED - The node is no longer functional, cannot be recovered, and must be deleted.
INACCESSIBLE_ENCRYPTION_KEY - The node is impaired and might not function as expected
because it cannot access the specified customer managed key in KMS for encryption at rest. Either the
KMS key was disabled or deleted, or the grants on the key were revoked.
The effect of disabling or deleting a key or of revoking a grant isn't immediate. It might take some time for the node resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.
NodeStatus,
NodeStatusNode.Builder status(NodeStatus status)
The status of the node.
CREATING - The Amazon Web Services account is in the process of creating a node.
AVAILABLE - The node has been created and can participate in the network.
UNHEALTHY - The node is impaired and might not function as expected. Amazon Managed Blockchain
automatically finds nodes in this state and tries to recover them. If a node is recoverable, it returns to
AVAILABLE. Otherwise, it moves to FAILED status.
CREATE_FAILED - The Amazon Web Services account attempted to create a node and creation failed.
UPDATING - The node is in the process of being updated.
DELETING - The node is in the process of being deleted.
DELETED - The node can no longer participate on the network.
FAILED - The node is no longer functional, cannot be recovered, and must be deleted.
INACCESSIBLE_ENCRYPTION_KEY - The node is impaired and might not function as expected because it
cannot access the specified customer managed key in KMS for encryption at rest. Either the KMS key was
disabled or deleted, or the grants on the key were revoked.
The effect of disabling or deleting a key or of revoking a grant isn't immediate. It might take some time for the node resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.
status - The status of the node.
CREATING - The Amazon Web Services account is in the process of creating a node.
AVAILABLE - The node has been created and can participate in the network.
UNHEALTHY - The node is impaired and might not function as expected. Amazon Managed
Blockchain automatically finds nodes in this state and tries to recover them. If a node is
recoverable, it returns to AVAILABLE. Otherwise, it moves to FAILED status.
CREATE_FAILED - The Amazon Web Services account attempted to create a node and creation
failed.
UPDATING - The node is in the process of being updated.
DELETING - The node is in the process of being deleted.
DELETED - The node can no longer participate on the network.
FAILED - The node is no longer functional, cannot be recovered, and must be deleted.
INACCESSIBLE_ENCRYPTION_KEY - The node is impaired and might not function as expected
because it cannot access the specified customer managed key in KMS for encryption at rest. Either the
KMS key was disabled or deleted, or the grants on the key were revoked.
The effect of disabling or deleting a key or of revoking a grant isn't immediate. It might take some time for the node resource to discover that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.
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 Amazon Web Services 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 Amazon Web Services General Reference.Node.Builder kmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) that the node uses
for encryption at rest. If the value of this parameter is "AWS Owned KMS Key", the node uses an
Amazon Web Services owned KMS key for encryption. The node inherits this parameter from the member that it
belongs to.
For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Applies only to Hyperledger Fabric.
kmsKeyArn - The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) that the
node uses for encryption at rest. If the value of this parameter is "AWS Owned KMS Key",
the node uses an Amazon Web Services owned KMS key for encryption. The node inherits this parameter
from the member that it belongs to.
For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Applies only to Hyperledger Fabric.
Copyright © 2023. All rights reserved.