#[non_exhaustive]pub struct CreateNodeInput {
pub client_request_token: Option<String>,
pub network_id: Option<String>,
pub member_id: Option<String>,
pub node_configuration: Option<NodeConfiguration>,
pub tags: Option<HashMap<String, String>>,
}
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.client_request_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the CLI.
network_id: Option<String>
The unique identifier of the network for the node.
Ethereum public networks have the following NetworkId
s:
-
n-ethereum-mainnet
-
n-ethereum-goerli
member_id: Option<String>
The unique identifier of the member that owns this node.
Applies only to Hyperledger Fabric.
node_configuration: Option<NodeConfiguration>
The properties of a node configuration.
Tags to assign to the node.
Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request with an overall maximum of 50 tags allowed per resource.
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.
Implementations§
source§impl CreateNodeInput
impl CreateNodeInput
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the CLI.
sourcepub fn network_id(&self) -> Option<&str>
pub fn network_id(&self) -> Option<&str>
The unique identifier of the network for the node.
Ethereum public networks have the following NetworkId
s:
-
n-ethereum-mainnet
-
n-ethereum-goerli
sourcepub fn member_id(&self) -> Option<&str>
pub fn member_id(&self) -> Option<&str>
The unique identifier of the member that owns this node.
Applies only to Hyperledger Fabric.
sourcepub fn node_configuration(&self) -> Option<&NodeConfiguration>
pub fn node_configuration(&self) -> Option<&NodeConfiguration>
The properties of a node configuration.
Tags to assign to the node.
Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request with an overall maximum of 50 tags allowed per resource.
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.
source§impl CreateNodeInput
impl CreateNodeInput
sourcepub fn builder() -> CreateNodeInputBuilder
pub fn builder() -> CreateNodeInputBuilder
Creates a new builder-style object to manufacture CreateNodeInput
.
Trait Implementations§
source§impl Clone for CreateNodeInput
impl Clone for CreateNodeInput
source§fn clone(&self) -> CreateNodeInput
fn clone(&self) -> CreateNodeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateNodeInput
impl Debug for CreateNodeInput
source§impl PartialEq for CreateNodeInput
impl PartialEq for CreateNodeInput
source§fn eq(&self, other: &CreateNodeInput) -> bool
fn eq(&self, other: &CreateNodeInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateNodeInput
Auto Trait Implementations§
impl Freeze for CreateNodeInput
impl RefUnwindSafe for CreateNodeInput
impl Send for CreateNodeInput
impl Sync for CreateNodeInput
impl Unpin for CreateNodeInput
impl UnwindSafe for CreateNodeInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more