Struct aws_sdk_networkmanager::operation::restore_core_network_policy_version::builders::RestoreCoreNetworkPolicyVersionOutputBuilder
source · #[non_exhaustive]pub struct RestoreCoreNetworkPolicyVersionOutputBuilder { /* private fields */ }
Expand description
A builder for RestoreCoreNetworkPolicyVersionOutput
.
Implementations§
source§impl RestoreCoreNetworkPolicyVersionOutputBuilder
impl RestoreCoreNetworkPolicyVersionOutputBuilder
sourcepub fn core_network_policy(self, input: CoreNetworkPolicy) -> Self
pub fn core_network_policy(self, input: CoreNetworkPolicy) -> Self
Describes the restored core network policy.
sourcepub fn set_core_network_policy(self, input: Option<CoreNetworkPolicy>) -> Self
pub fn set_core_network_policy(self, input: Option<CoreNetworkPolicy>) -> Self
Describes the restored core network policy.
sourcepub fn get_core_network_policy(&self) -> &Option<CoreNetworkPolicy>
pub fn get_core_network_policy(&self) -> &Option<CoreNetworkPolicy>
Describes the restored core network policy.
sourcepub fn build(self) -> RestoreCoreNetworkPolicyVersionOutput
pub fn build(self) -> RestoreCoreNetworkPolicyVersionOutput
Consumes the builder and constructs a RestoreCoreNetworkPolicyVersionOutput
.
Trait Implementations§
source§impl Clone for RestoreCoreNetworkPolicyVersionOutputBuilder
impl Clone for RestoreCoreNetworkPolicyVersionOutputBuilder
source§fn clone(&self) -> RestoreCoreNetworkPolicyVersionOutputBuilder
fn clone(&self) -> RestoreCoreNetworkPolicyVersionOutputBuilder
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 RestoreCoreNetworkPolicyVersionOutputBuilder
impl Default for RestoreCoreNetworkPolicyVersionOutputBuilder
source§fn default() -> RestoreCoreNetworkPolicyVersionOutputBuilder
fn default() -> RestoreCoreNetworkPolicyVersionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RestoreCoreNetworkPolicyVersionOutputBuilder
impl PartialEq for RestoreCoreNetworkPolicyVersionOutputBuilder
source§fn eq(&self, other: &RestoreCoreNetworkPolicyVersionOutputBuilder) -> bool
fn eq(&self, other: &RestoreCoreNetworkPolicyVersionOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RestoreCoreNetworkPolicyVersionOutputBuilder
Auto Trait Implementations§
impl Freeze for RestoreCoreNetworkPolicyVersionOutputBuilder
impl RefUnwindSafe for RestoreCoreNetworkPolicyVersionOutputBuilder
impl Send for RestoreCoreNetworkPolicyVersionOutputBuilder
impl Sync for RestoreCoreNetworkPolicyVersionOutputBuilder
impl Unpin for RestoreCoreNetworkPolicyVersionOutputBuilder
impl UnwindSafe for RestoreCoreNetworkPolicyVersionOutputBuilder
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>
Creates a shared type from an unshared type.