#[non_exhaustive]pub struct CreateNodeInputBuilder { /* private fields */ }
Expand description
A builder for CreateNodeInput
.
Implementations§
source§impl CreateNodeInputBuilder
impl CreateNodeInputBuilder
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
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.
This field is required.sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
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 get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &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.
sourcepub fn network_id(self, input: impl Into<String>) -> Self
pub fn network_id(self, input: impl Into<String>) -> Self
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 set_network_id(self, input: Option<String>) -> Self
pub fn set_network_id(self, input: Option<String>) -> Self
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 get_network_id(&self) -> &Option<String>
pub fn get_network_id(&self) -> &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
sourcepub fn member_id(self, input: impl Into<String>) -> Self
pub fn member_id(self, input: impl Into<String>) -> Self
The unique identifier of the member that owns this node.
Applies only to Hyperledger Fabric.
sourcepub fn set_member_id(self, input: Option<String>) -> Self
pub fn set_member_id(self, input: Option<String>) -> Self
The unique identifier of the member that owns this node.
Applies only to Hyperledger Fabric.
sourcepub fn get_member_id(&self) -> &Option<String>
pub fn get_member_id(&self) -> &Option<String>
The unique identifier of the member that owns this node.
Applies only to Hyperledger Fabric.
sourcepub fn node_configuration(self, input: NodeConfiguration) -> Self
pub fn node_configuration(self, input: NodeConfiguration) -> Self
The properties of a node configuration.
This field is required.sourcepub fn set_node_configuration(self, input: Option<NodeConfiguration>) -> Self
pub fn set_node_configuration(self, input: Option<NodeConfiguration>) -> Self
The properties of a node configuration.
sourcepub fn get_node_configuration(&self) -> &Option<NodeConfiguration>
pub fn get_node_configuration(&self) -> &Option<NodeConfiguration>
The properties of a node configuration.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
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.
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.
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.
sourcepub fn build(self) -> Result<CreateNodeInput, BuildError>
pub fn build(self) -> Result<CreateNodeInput, BuildError>
Consumes the builder and constructs a CreateNodeInput
.
source§impl CreateNodeInputBuilder
impl CreateNodeInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateNodeOutput, SdkError<CreateNodeError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateNodeOutput, SdkError<CreateNodeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateNodeInputBuilder
impl Clone for CreateNodeInputBuilder
source§fn clone(&self) -> CreateNodeInputBuilder
fn clone(&self) -> CreateNodeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateNodeInputBuilder
impl Debug for CreateNodeInputBuilder
source§impl Default for CreateNodeInputBuilder
impl Default for CreateNodeInputBuilder
source§fn default() -> CreateNodeInputBuilder
fn default() -> CreateNodeInputBuilder
source§impl PartialEq for CreateNodeInputBuilder
impl PartialEq for CreateNodeInputBuilder
source§fn eq(&self, other: &CreateNodeInputBuilder) -> bool
fn eq(&self, other: &CreateNodeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateNodeInputBuilder
Auto Trait Implementations§
impl Freeze for CreateNodeInputBuilder
impl RefUnwindSafe for CreateNodeInputBuilder
impl Send for CreateNodeInputBuilder
impl Sync for CreateNodeInputBuilder
impl Unpin for CreateNodeInputBuilder
impl UnwindSafe for CreateNodeInputBuilder
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