#[non_exhaustive]pub struct NodeConfiguration { /* private fields */ }Expand description
Configuration properties of a node.
Implementations§
source§impl NodeConfiguration
impl NodeConfiguration
sourcepub fn instance_type(&self) -> Option<&str>
pub fn instance_type(&self) -> Option<&str>
The Amazon Managed Blockchain instance type for the node.
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone in which the node exists. Required for Ethereum nodes.
sourcepub fn log_publishing_configuration(
&self
) -> Option<&NodeLogPublishingConfiguration>
pub fn log_publishing_configuration(
&self
) -> Option<&NodeLogPublishingConfiguration>
Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
sourcepub fn state_db(&self) -> Option<&StateDbType>
pub fn state_db(&self) -> Option<&StateDbType>
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.
source§impl NodeConfiguration
impl NodeConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NodeConfiguration.
Trait Implementations§
source§impl Clone for NodeConfiguration
impl Clone for NodeConfiguration
source§fn clone(&self) -> NodeConfiguration
fn clone(&self) -> NodeConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for NodeConfiguration
impl Debug for NodeConfiguration
source§impl PartialEq<NodeConfiguration> for NodeConfiguration
impl PartialEq<NodeConfiguration> for NodeConfiguration
source§fn eq(&self, other: &NodeConfiguration) -> bool
fn eq(&self, other: &NodeConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.