#[non_exhaustive]pub struct GetNodeInputBuilder { /* private fields */ }
Expand description
A builder for GetNodeInput
.
Implementations§
source§impl GetNodeInputBuilder
impl GetNodeInputBuilder
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 that the node is on.
This field is required.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 that the node is on.
sourcepub fn get_network_id(&self) -> &Option<String>
pub fn get_network_id(&self) -> &Option<String>
The unique identifier of the network that the node is on.
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 the node.
Applies only to Hyperledger Fabric and is required for 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 the node.
Applies only to Hyperledger Fabric and is required for 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 the node.
Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.
sourcepub fn node_id(self, input: impl Into<String>) -> Self
pub fn node_id(self, input: impl Into<String>) -> Self
The unique identifier of the node.
This field is required.sourcepub fn set_node_id(self, input: Option<String>) -> Self
pub fn set_node_id(self, input: Option<String>) -> Self
The unique identifier of the node.
sourcepub fn get_node_id(&self) -> &Option<String>
pub fn get_node_id(&self) -> &Option<String>
The unique identifier of the node.
sourcepub fn build(self) -> Result<GetNodeInput, BuildError>
pub fn build(self) -> Result<GetNodeInput, BuildError>
Consumes the builder and constructs a GetNodeInput
.
source§impl GetNodeInputBuilder
impl GetNodeInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetNodeOutput, SdkError<GetNodeError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetNodeOutput, SdkError<GetNodeError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetNodeInputBuilder
impl Clone for GetNodeInputBuilder
source§fn clone(&self) -> GetNodeInputBuilder
fn clone(&self) -> GetNodeInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetNodeInputBuilder
impl Debug for GetNodeInputBuilder
source§impl Default for GetNodeInputBuilder
impl Default for GetNodeInputBuilder
source§fn default() -> GetNodeInputBuilder
fn default() -> GetNodeInputBuilder
source§impl PartialEq for GetNodeInputBuilder
impl PartialEq for GetNodeInputBuilder
source§fn eq(&self, other: &GetNodeInputBuilder) -> bool
fn eq(&self, other: &GetNodeInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.