Struct aws_sdk_networkmanager::operation::put_core_network_policy::PutCoreNetworkPolicyInput
source · #[non_exhaustive]pub struct PutCoreNetworkPolicyInput {
pub core_network_id: Option<String>,
pub policy_document: Option<String>,
pub description: Option<String>,
pub latest_version_id: Option<i32>,
pub client_token: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.core_network_id: Option<String>
The ID of a core network.
policy_document: Option<String>
The policy document.
description: Option<String>
a core network policy description.
latest_version_id: Option<i32>
The ID of a core network policy.
client_token: Option<String>
The client token associated with the request.
Implementations§
source§impl PutCoreNetworkPolicyInput
impl PutCoreNetworkPolicyInput
sourcepub fn core_network_id(&self) -> Option<&str>
pub fn core_network_id(&self) -> Option<&str>
The ID of a core network.
sourcepub fn policy_document(&self) -> Option<&str>
pub fn policy_document(&self) -> Option<&str>
The policy document.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
a core network policy description.
sourcepub fn latest_version_id(&self) -> Option<i32>
pub fn latest_version_id(&self) -> Option<i32>
The ID of a core network policy.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
The client token associated with the request.
source§impl PutCoreNetworkPolicyInput
impl PutCoreNetworkPolicyInput
sourcepub fn builder() -> PutCoreNetworkPolicyInputBuilder
pub fn builder() -> PutCoreNetworkPolicyInputBuilder
Creates a new builder-style object to manufacture PutCoreNetworkPolicyInput
.
Trait Implementations§
source§impl Clone for PutCoreNetworkPolicyInput
impl Clone for PutCoreNetworkPolicyInput
source§fn clone(&self) -> PutCoreNetworkPolicyInput
fn clone(&self) -> PutCoreNetworkPolicyInput
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 Debug for PutCoreNetworkPolicyInput
impl Debug for PutCoreNetworkPolicyInput
source§impl PartialEq for PutCoreNetworkPolicyInput
impl PartialEq for PutCoreNetworkPolicyInput
source§fn eq(&self, other: &PutCoreNetworkPolicyInput) -> bool
fn eq(&self, other: &PutCoreNetworkPolicyInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutCoreNetworkPolicyInput
Auto Trait Implementations§
impl Freeze for PutCoreNetworkPolicyInput
impl RefUnwindSafe for PutCoreNetworkPolicyInput
impl Send for PutCoreNetworkPolicyInput
impl Sync for PutCoreNetworkPolicyInput
impl Unpin for PutCoreNetworkPolicyInput
impl UnwindSafe for PutCoreNetworkPolicyInput
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.