Struct aws_sdk_managedblockchain::model::NodeConfiguration
source · [−]#[non_exhaustive]pub struct NodeConfiguration {
pub instance_type: Option<String>,
pub availability_zone: Option<String>,
pub log_publishing_configuration: Option<NodeLogPublishingConfiguration>,
pub state_db: Option<StateDbType>,
}Expand description
Configuration properties of a node.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.instance_type: Option<String>The Amazon Managed Blockchain instance type for the node.
availability_zone: Option<String>The Availability Zone in which the node exists. Required for Ethereum nodes.
log_publishing_configuration: Option<NodeLogPublishingConfiguration>Configuration properties for logging events associated with a peer node on a Hyperledger Fabric network on Managed Blockchain.
state_db: 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.
Implementations
sourceimpl 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.
sourceimpl NodeConfiguration
impl NodeConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NodeConfiguration.
Trait Implementations
sourceimpl Clone for NodeConfiguration
impl Clone for NodeConfiguration
sourcefn clone(&self) -> NodeConfiguration
fn clone(&self) -> NodeConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for NodeConfiguration
impl Debug for NodeConfiguration
sourceimpl PartialEq<NodeConfiguration> for NodeConfiguration
impl PartialEq<NodeConfiguration> for NodeConfiguration
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &NodeConfiguration) -> bool
fn ne(&self, other: &NodeConfiguration) -> bool
This method tests for !=.
impl StructuralPartialEq for NodeConfiguration
Auto Trait Implementations
impl RefUnwindSafe for NodeConfiguration
impl Send for NodeConfiguration
impl Sync for NodeConfiguration
impl Unpin for NodeConfiguration
impl UnwindSafe for NodeConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more