#[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 ==
.