#[non_exhaustive]pub struct CoreNetworkChangeEventValuesBuilder { /* private fields */ }
Expand description
A builder for CoreNetworkChangeEventValues
.
Implementations§
source§impl CoreNetworkChangeEventValuesBuilder
impl CoreNetworkChangeEventValuesBuilder
sourcepub fn edge_location(self, input: impl Into<String>) -> Self
pub fn edge_location(self, input: impl Into<String>) -> Self
The edge location for the core network change event.
sourcepub fn set_edge_location(self, input: Option<String>) -> Self
pub fn set_edge_location(self, input: Option<String>) -> Self
The edge location for the core network change event.
sourcepub fn get_edge_location(&self) -> &Option<String>
pub fn get_edge_location(&self) -> &Option<String>
The edge location for the core network change event.
sourcepub fn segment_name(self, input: impl Into<String>) -> Self
pub fn segment_name(self, input: impl Into<String>) -> Self
The segment name if the change event is associated with a segment.
sourcepub fn set_segment_name(self, input: Option<String>) -> Self
pub fn set_segment_name(self, input: Option<String>) -> Self
The segment name if the change event is associated with a segment.
sourcepub fn get_segment_name(&self) -> &Option<String>
pub fn get_segment_name(&self) -> &Option<String>
The segment name if the change event is associated with a segment.
sourcepub fn attachment_id(self, input: impl Into<String>) -> Self
pub fn attachment_id(self, input: impl Into<String>) -> Self
The ID of the attachment if the change event is associated with an attachment.
sourcepub fn set_attachment_id(self, input: Option<String>) -> Self
pub fn set_attachment_id(self, input: Option<String>) -> Self
The ID of the attachment if the change event is associated with an attachment.
sourcepub fn get_attachment_id(&self) -> &Option<String>
pub fn get_attachment_id(&self) -> &Option<String>
The ID of the attachment if the change event is associated with an attachment.
sourcepub fn cidr(self, input: impl Into<String>) -> Self
pub fn cidr(self, input: impl Into<String>) -> Self
For a STATIC_ROUTE
event, this is the IP address.
sourcepub fn set_cidr(self, input: Option<String>) -> Self
pub fn set_cidr(self, input: Option<String>) -> Self
For a STATIC_ROUTE
event, this is the IP address.
sourcepub fn build(self) -> CoreNetworkChangeEventValues
pub fn build(self) -> CoreNetworkChangeEventValues
Consumes the builder and constructs a CoreNetworkChangeEventValues
.
Trait Implementations§
source§impl Clone for CoreNetworkChangeEventValuesBuilder
impl Clone for CoreNetworkChangeEventValuesBuilder
source§fn clone(&self) -> CoreNetworkChangeEventValuesBuilder
fn clone(&self) -> CoreNetworkChangeEventValuesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CoreNetworkChangeEventValuesBuilder
impl Default for CoreNetworkChangeEventValuesBuilder
source§fn default() -> CoreNetworkChangeEventValuesBuilder
fn default() -> CoreNetworkChangeEventValuesBuilder
source§impl PartialEq for CoreNetworkChangeEventValuesBuilder
impl PartialEq for CoreNetworkChangeEventValuesBuilder
source§fn eq(&self, other: &CoreNetworkChangeEventValuesBuilder) -> bool
fn eq(&self, other: &CoreNetworkChangeEventValuesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CoreNetworkChangeEventValuesBuilder
Auto Trait Implementations§
impl Freeze for CoreNetworkChangeEventValuesBuilder
impl RefUnwindSafe for CoreNetworkChangeEventValuesBuilder
impl Send for CoreNetworkChangeEventValuesBuilder
impl Sync for CoreNetworkChangeEventValuesBuilder
impl Unpin for CoreNetworkChangeEventValuesBuilder
impl UnwindSafe for CoreNetworkChangeEventValuesBuilder
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
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>
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>
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 more