pub struct Builder { /* private fields */ }Expand description
A builder for AgentNetworkInfo.
Implementations§
source§impl Builder
impl Builder
sourcepub fn ip_address(self, input: impl Into<String>) -> Self
pub fn ip_address(self, input: impl Into<String>) -> Self
The IP address for the host where the agent/connector resides.
sourcepub fn set_ip_address(self, input: Option<String>) -> Self
pub fn set_ip_address(self, input: Option<String>) -> Self
The IP address for the host where the agent/connector resides.
sourcepub fn mac_address(self, input: impl Into<String>) -> Self
pub fn mac_address(self, input: impl Into<String>) -> Self
The MAC address for the host where the agent/connector resides.
sourcepub fn set_mac_address(self, input: Option<String>) -> Self
pub fn set_mac_address(self, input: Option<String>) -> Self
The MAC address for the host where the agent/connector resides.
sourcepub fn build(self) -> AgentNetworkInfo
pub fn build(self) -> AgentNetworkInfo
Consumes the builder and constructs a AgentNetworkInfo.