Struct aws_sdk_networkmanager::model::CoreNetworkPolicy
source · #[non_exhaustive]pub struct CoreNetworkPolicy { /* private fields */ }
Expand description
Describes a core network policy. You can have only one LIVE Core Policy.
Implementations§
source§impl CoreNetworkPolicy
impl CoreNetworkPolicy
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_version_id(&self) -> Option<i32>
pub fn policy_version_id(&self) -> Option<i32>
The ID of the policy version.
sourcepub fn alias(&self) -> Option<&CoreNetworkPolicyAlias>
pub fn alias(&self) -> Option<&CoreNetworkPolicyAlias>
Whether a core network policy is the current LIVE policy or the most recently submitted policy.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of a core network policy.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp when a core network policy was created.
sourcepub fn change_set_state(&self) -> Option<&ChangeSetState>
pub fn change_set_state(&self) -> Option<&ChangeSetState>
The state of a core network policy.
sourcepub fn policy_errors(&self) -> Option<&[CoreNetworkPolicyError]>
pub fn policy_errors(&self) -> Option<&[CoreNetworkPolicyError]>
Describes any errors in a core network policy.
sourcepub fn policy_document(&self) -> Option<&str>
pub fn policy_document(&self) -> Option<&str>
Describes a core network policy.
source§impl CoreNetworkPolicy
impl CoreNetworkPolicy
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CoreNetworkPolicy
.
Trait Implementations§
source§impl Clone for CoreNetworkPolicy
impl Clone for CoreNetworkPolicy
source§fn clone(&self) -> CoreNetworkPolicy
fn clone(&self) -> CoreNetworkPolicy
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 CoreNetworkPolicy
impl Debug for CoreNetworkPolicy
source§impl PartialEq<CoreNetworkPolicy> for CoreNetworkPolicy
impl PartialEq<CoreNetworkPolicy> for CoreNetworkPolicy
source§fn eq(&self, other: &CoreNetworkPolicy) -> bool
fn eq(&self, other: &CoreNetworkPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.