#[non_exhaustive]pub struct CoreNetworkChangeEventBuilder { /* private fields */ }
Expand description
A builder for CoreNetworkChangeEvent
.
Implementations§
source§impl CoreNetworkChangeEventBuilder
impl CoreNetworkChangeEventBuilder
sourcepub fn type(self, input: ChangeType) -> Self
pub fn type(self, input: ChangeType) -> Self
Describes the type of change event.
sourcepub fn set_type(self, input: Option<ChangeType>) -> Self
pub fn set_type(self, input: Option<ChangeType>) -> Self
Describes the type of change event.
sourcepub fn get_type(&self) -> &Option<ChangeType>
pub fn get_type(&self) -> &Option<ChangeType>
Describes the type of change event.
sourcepub fn action(self, input: ChangeAction) -> Self
pub fn action(self, input: ChangeAction) -> Self
The action taken for the change event.
sourcepub fn set_action(self, input: Option<ChangeAction>) -> Self
pub fn set_action(self, input: Option<ChangeAction>) -> Self
The action taken for the change event.
sourcepub fn get_action(&self) -> &Option<ChangeAction>
pub fn get_action(&self) -> &Option<ChangeAction>
The action taken for the change event.
sourcepub fn identifier_path(self, input: impl Into<String>) -> Self
pub fn identifier_path(self, input: impl Into<String>) -> Self
Uniquely identifies the path for a change within the changeset. For example, the IdentifierPath
for a core network segment change might be "CORE_NETWORK_SEGMENT/us-east-1/devsegment"
.
sourcepub fn set_identifier_path(self, input: Option<String>) -> Self
pub fn set_identifier_path(self, input: Option<String>) -> Self
Uniquely identifies the path for a change within the changeset. For example, the IdentifierPath
for a core network segment change might be "CORE_NETWORK_SEGMENT/us-east-1/devsegment"
.
sourcepub fn get_identifier_path(&self) -> &Option<String>
pub fn get_identifier_path(&self) -> &Option<String>
Uniquely identifies the path for a change within the changeset. For example, the IdentifierPath
for a core network segment change might be "CORE_NETWORK_SEGMENT/us-east-1/devsegment"
.
sourcepub fn event_time(self, input: DateTime) -> Self
pub fn event_time(self, input: DateTime) -> Self
The timestamp for an event change in status.
sourcepub fn set_event_time(self, input: Option<DateTime>) -> Self
pub fn set_event_time(self, input: Option<DateTime>) -> Self
The timestamp for an event change in status.
sourcepub fn get_event_time(&self) -> &Option<DateTime>
pub fn get_event_time(&self) -> &Option<DateTime>
The timestamp for an event change in status.
sourcepub fn status(self, input: ChangeStatus) -> Self
pub fn status(self, input: ChangeStatus) -> Self
The status of the core network change event.
sourcepub fn set_status(self, input: Option<ChangeStatus>) -> Self
pub fn set_status(self, input: Option<ChangeStatus>) -> Self
The status of the core network change event.
sourcepub fn get_status(&self) -> &Option<ChangeStatus>
pub fn get_status(&self) -> &Option<ChangeStatus>
The status of the core network change event.
sourcepub fn values(self, input: CoreNetworkChangeEventValues) -> Self
pub fn values(self, input: CoreNetworkChangeEventValues) -> Self
Details of the change event.
sourcepub fn set_values(self, input: Option<CoreNetworkChangeEventValues>) -> Self
pub fn set_values(self, input: Option<CoreNetworkChangeEventValues>) -> Self
Details of the change event.
sourcepub fn get_values(&self) -> &Option<CoreNetworkChangeEventValues>
pub fn get_values(&self) -> &Option<CoreNetworkChangeEventValues>
Details of the change event.
sourcepub fn build(self) -> CoreNetworkChangeEvent
pub fn build(self) -> CoreNetworkChangeEvent
Consumes the builder and constructs a CoreNetworkChangeEvent
.
Trait Implementations§
source§impl Clone for CoreNetworkChangeEventBuilder
impl Clone for CoreNetworkChangeEventBuilder
source§fn clone(&self) -> CoreNetworkChangeEventBuilder
fn clone(&self) -> CoreNetworkChangeEventBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CoreNetworkChangeEventBuilder
impl Default for CoreNetworkChangeEventBuilder
source§fn default() -> CoreNetworkChangeEventBuilder
fn default() -> CoreNetworkChangeEventBuilder
source§impl PartialEq for CoreNetworkChangeEventBuilder
impl PartialEq for CoreNetworkChangeEventBuilder
source§fn eq(&self, other: &CoreNetworkChangeEventBuilder) -> bool
fn eq(&self, other: &CoreNetworkChangeEventBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CoreNetworkChangeEventBuilder
Auto Trait Implementations§
impl Freeze for CoreNetworkChangeEventBuilder
impl RefUnwindSafe for CoreNetworkChangeEventBuilder
impl Send for CoreNetworkChangeEventBuilder
impl Sync for CoreNetworkChangeEventBuilder
impl Unpin for CoreNetworkChangeEventBuilder
impl UnwindSafe for CoreNetworkChangeEventBuilder
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