pub struct CreateNodeFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateNode
.
Creates a node on the specified blockchain network.
Applies to Hyperledger Fabric and Ethereum.
Implementations§
source§impl CreateNodeFluentBuilder
impl CreateNodeFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateNode, AwsResponseRetryClassifier>, SdkError<CreateNodeError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateNode, AwsResponseRetryClassifier>, SdkError<CreateNodeError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<CreateNodeOutput, SdkError<CreateNodeError>>
pub async fn send(self) -> Result<CreateNodeOutput, SdkError<CreateNodeError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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.
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 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
-
n-ethereum-rinkeby
-
n-ethereum-ropsten
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
-
n-ethereum-rinkeby
-
n-ethereum-ropsten
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 node_configuration(self, input: NodeConfiguration) -> Self
pub fn node_configuration(self, input: NodeConfiguration) -> Self
The properties of a node configuration.
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.
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.
Trait Implementations§
source§impl Clone for CreateNodeFluentBuilder
impl Clone for CreateNodeFluentBuilder
source§fn clone(&self) -> CreateNodeFluentBuilder
fn clone(&self) -> CreateNodeFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more