pub struct Builder { /* private fields */ }
Expand description
A builder for NetworkPathComponentDetails
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn address(self, input: impl Into<String>) -> Self
pub fn address(self, input: impl Into<String>) -> Self
Appends an item to address
.
To override the contents of this collection use set_address
.
The IP addresses of the destination.
sourcepub fn set_address(self, input: Option<Vec<String>>) -> Self
pub fn set_address(self, input: Option<Vec<String>>) -> Self
The IP addresses of the destination.
sourcepub fn port_ranges(self, input: PortRange) -> Self
pub fn port_ranges(self, input: PortRange) -> Self
Appends an item to port_ranges
.
To override the contents of this collection use set_port_ranges
.
A list of port ranges for the destination.
sourcepub fn set_port_ranges(self, input: Option<Vec<PortRange>>) -> Self
pub fn set_port_ranges(self, input: Option<Vec<PortRange>>) -> Self
A list of port ranges for the destination.
sourcepub fn build(self) -> NetworkPathComponentDetails
pub fn build(self) -> NetworkPathComponentDetails
Consumes the builder and constructs a NetworkPathComponentDetails
.