#[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 ==
.impl StructuralPartialEq for GetNodeInputBuilder
Auto Trait Implementations§
impl Freeze for GetNodeInputBuilder
impl RefUnwindSafe for GetNodeInputBuilder
impl Send for GetNodeInputBuilder
impl Sync for GetNodeInputBuilder
impl Unpin for GetNodeInputBuilder
impl UnwindSafe for GetNodeInputBuilder
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