#[non_exhaustive]pub struct CoreNetworkChangeBuilder { /* private fields */ }
Expand description
A builder for CoreNetworkChange
.
Implementations§
source§impl CoreNetworkChangeBuilder
impl CoreNetworkChangeBuilder
sourcepub fn type(self, input: ChangeType) -> Self
pub fn type(self, input: ChangeType) -> Self
The type of change.
sourcepub fn set_type(self, input: Option<ChangeType>) -> Self
pub fn set_type(self, input: Option<ChangeType>) -> Self
The type of change.
sourcepub fn get_type(&self) -> &Option<ChangeType>
pub fn get_type(&self) -> &Option<ChangeType>
The type of change.
sourcepub fn action(self, input: ChangeAction) -> Self
pub fn action(self, input: ChangeAction) -> Self
The action to take for a core network.
sourcepub fn set_action(self, input: Option<ChangeAction>) -> Self
pub fn set_action(self, input: Option<ChangeAction>) -> Self
The action to take for a core network.
sourcepub fn get_action(&self) -> &Option<ChangeAction>
pub fn get_action(&self) -> &Option<ChangeAction>
The action to take for a core network.
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The resource identifier.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The resource identifier.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The resource identifier.
sourcepub fn previous_values(self, input: CoreNetworkChangeValues) -> Self
pub fn previous_values(self, input: CoreNetworkChangeValues) -> Self
The previous values for a core network.
sourcepub fn set_previous_values(self, input: Option<CoreNetworkChangeValues>) -> Self
pub fn set_previous_values(self, input: Option<CoreNetworkChangeValues>) -> Self
The previous values for a core network.
sourcepub fn get_previous_values(&self) -> &Option<CoreNetworkChangeValues>
pub fn get_previous_values(&self) -> &Option<CoreNetworkChangeValues>
The previous values for a core network.
sourcepub fn new_values(self, input: CoreNetworkChangeValues) -> Self
pub fn new_values(self, input: CoreNetworkChangeValues) -> Self
The new value for a core network
sourcepub fn set_new_values(self, input: Option<CoreNetworkChangeValues>) -> Self
pub fn set_new_values(self, input: Option<CoreNetworkChangeValues>) -> Self
The new value for a core network
sourcepub fn get_new_values(&self) -> &Option<CoreNetworkChangeValues>
pub fn get_new_values(&self) -> &Option<CoreNetworkChangeValues>
The new value for a core network
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 build(self) -> CoreNetworkChange
pub fn build(self) -> CoreNetworkChange
Consumes the builder and constructs a CoreNetworkChange
.
Trait Implementations§
source§impl Clone for CoreNetworkChangeBuilder
impl Clone for CoreNetworkChangeBuilder
source§fn clone(&self) -> CoreNetworkChangeBuilder
fn clone(&self) -> CoreNetworkChangeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CoreNetworkChangeBuilder
impl Debug for CoreNetworkChangeBuilder
source§impl Default for CoreNetworkChangeBuilder
impl Default for CoreNetworkChangeBuilder
source§fn default() -> CoreNetworkChangeBuilder
fn default() -> CoreNetworkChangeBuilder
source§impl PartialEq for CoreNetworkChangeBuilder
impl PartialEq for CoreNetworkChangeBuilder
source§fn eq(&self, other: &CoreNetworkChangeBuilder) -> bool
fn eq(&self, other: &CoreNetworkChangeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CoreNetworkChangeBuilder
Auto Trait Implementations§
impl Freeze for CoreNetworkChangeBuilder
impl RefUnwindSafe for CoreNetworkChangeBuilder
impl Send for CoreNetworkChangeBuilder
impl Sync for CoreNetworkChangeBuilder
impl Unpin for CoreNetworkChangeBuilder
impl UnwindSafe for CoreNetworkChangeBuilder
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