#[non_exhaustive]pub struct CoreNetworkSegmentEdgeIdentifierBuilder { /* private fields */ }
Expand description
A builder for CoreNetworkSegmentEdgeIdentifier
.
Implementations§
source§impl CoreNetworkSegmentEdgeIdentifierBuilder
impl CoreNetworkSegmentEdgeIdentifierBuilder
sourcepub fn core_network_id(self, input: impl Into<String>) -> Self
pub fn core_network_id(self, input: impl Into<String>) -> Self
The ID of a core network.
sourcepub fn set_core_network_id(self, input: Option<String>) -> Self
pub fn set_core_network_id(self, input: Option<String>) -> Self
The ID of a core network.
sourcepub fn get_core_network_id(&self) -> &Option<String>
pub fn get_core_network_id(&self) -> &Option<String>
The ID of a core network.
sourcepub fn segment_name(self, input: impl Into<String>) -> Self
pub fn segment_name(self, input: impl Into<String>) -> Self
The name of the segment edge.
sourcepub fn set_segment_name(self, input: Option<String>) -> Self
pub fn set_segment_name(self, input: Option<String>) -> Self
The name of the segment edge.
sourcepub fn get_segment_name(&self) -> &Option<String>
pub fn get_segment_name(&self) -> &Option<String>
The name of the segment edge.
sourcepub fn edge_location(self, input: impl Into<String>) -> Self
pub fn edge_location(self, input: impl Into<String>) -> Self
The Region where the segment edge is located.
sourcepub fn set_edge_location(self, input: Option<String>) -> Self
pub fn set_edge_location(self, input: Option<String>) -> Self
The Region where the segment edge is located.
sourcepub fn get_edge_location(&self) -> &Option<String>
pub fn get_edge_location(&self) -> &Option<String>
The Region where the segment edge is located.
sourcepub fn build(self) -> CoreNetworkSegmentEdgeIdentifier
pub fn build(self) -> CoreNetworkSegmentEdgeIdentifier
Consumes the builder and constructs a CoreNetworkSegmentEdgeIdentifier
.
Trait Implementations§
source§impl Clone for CoreNetworkSegmentEdgeIdentifierBuilder
impl Clone for CoreNetworkSegmentEdgeIdentifierBuilder
source§fn clone(&self) -> CoreNetworkSegmentEdgeIdentifierBuilder
fn clone(&self) -> CoreNetworkSegmentEdgeIdentifierBuilder
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 Default for CoreNetworkSegmentEdgeIdentifierBuilder
impl Default for CoreNetworkSegmentEdgeIdentifierBuilder
source§fn default() -> CoreNetworkSegmentEdgeIdentifierBuilder
fn default() -> CoreNetworkSegmentEdgeIdentifierBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CoreNetworkSegmentEdgeIdentifierBuilder
impl PartialEq for CoreNetworkSegmentEdgeIdentifierBuilder
source§fn eq(&self, other: &CoreNetworkSegmentEdgeIdentifierBuilder) -> bool
fn eq(&self, other: &CoreNetworkSegmentEdgeIdentifierBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CoreNetworkSegmentEdgeIdentifierBuilder
Auto Trait Implementations§
impl Freeze for CoreNetworkSegmentEdgeIdentifierBuilder
impl RefUnwindSafe for CoreNetworkSegmentEdgeIdentifierBuilder
impl Send for CoreNetworkSegmentEdgeIdentifierBuilder
impl Sync for CoreNetworkSegmentEdgeIdentifierBuilder
impl Unpin for CoreNetworkSegmentEdgeIdentifierBuilder
impl UnwindSafe for CoreNetworkSegmentEdgeIdentifierBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.