pub struct Builder { /* private fields */ }Expand description
A builder for NodeFabricAttributes.
Implementations§
source§impl Builder
impl Builder
sourcepub fn peer_endpoint(self, input: impl Into<String>) -> Self
pub fn peer_endpoint(self, input: impl Into<String>) -> Self
The endpoint that identifies the peer node for all services except peer channel-based event services.
sourcepub fn set_peer_endpoint(self, input: Option<String>) -> Self
pub fn set_peer_endpoint(self, input: Option<String>) -> Self
The endpoint that identifies the peer node for all services except peer channel-based event services.
sourcepub fn peer_event_endpoint(self, input: impl Into<String>) -> Self
pub fn peer_event_endpoint(self, input: impl Into<String>) -> Self
The endpoint that identifies the peer node for peer channel-based event services.
sourcepub fn set_peer_event_endpoint(self, input: Option<String>) -> Self
pub fn set_peer_event_endpoint(self, input: Option<String>) -> Self
The endpoint that identifies the peer node for peer channel-based event services.
sourcepub fn build(self) -> NodeFabricAttributes
pub fn build(self) -> NodeFabricAttributes
Consumes the builder and constructs a NodeFabricAttributes.