#[non_exhaustive]pub struct CoreNetworkSegmentBuilder { /* private fields */ }
Expand description
A builder for CoreNetworkSegment
.
Implementations§
source§impl CoreNetworkSegmentBuilder
impl CoreNetworkSegmentBuilder
sourcepub fn edge_locations(self, input: impl Into<String>) -> Self
pub fn edge_locations(self, input: impl Into<String>) -> Self
Appends an item to edge_locations
.
To override the contents of this collection use set_edge_locations
.
The Regions where the edges are located.
sourcepub fn set_edge_locations(self, input: Option<Vec<String>>) -> Self
pub fn set_edge_locations(self, input: Option<Vec<String>>) -> Self
The Regions where the edges are located.
sourcepub fn get_edge_locations(&self) -> &Option<Vec<String>>
pub fn get_edge_locations(&self) -> &Option<Vec<String>>
The Regions where the edges are located.
Appends an item to shared_segments
.
To override the contents of this collection use set_shared_segments
.
The shared segments of a core network.
The shared segments of a core network.
The shared segments of a core network.
sourcepub fn build(self) -> CoreNetworkSegment
pub fn build(self) -> CoreNetworkSegment
Consumes the builder and constructs a CoreNetworkSegment
.
Trait Implementations§
source§impl Clone for CoreNetworkSegmentBuilder
impl Clone for CoreNetworkSegmentBuilder
source§fn clone(&self) -> CoreNetworkSegmentBuilder
fn clone(&self) -> CoreNetworkSegmentBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CoreNetworkSegmentBuilder
impl Debug for CoreNetworkSegmentBuilder
source§impl Default for CoreNetworkSegmentBuilder
impl Default for CoreNetworkSegmentBuilder
source§fn default() -> CoreNetworkSegmentBuilder
fn default() -> CoreNetworkSegmentBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CoreNetworkSegmentBuilder
impl PartialEq for CoreNetworkSegmentBuilder
source§fn eq(&self, other: &CoreNetworkSegmentBuilder) -> bool
fn eq(&self, other: &CoreNetworkSegmentBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CoreNetworkSegmentBuilder
Auto Trait Implementations§
impl Freeze for CoreNetworkSegmentBuilder
impl RefUnwindSafe for CoreNetworkSegmentBuilder
impl Send for CoreNetworkSegmentBuilder
impl Sync for CoreNetworkSegmentBuilder
impl Unpin for CoreNetworkSegmentBuilder
impl UnwindSafe for CoreNetworkSegmentBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.