Struct aws_sdk_dlm::types::LifecyclePolicySummary
source · #[non_exhaustive]pub struct LifecyclePolicySummary { /* private fields */ }Expand description
Summary information about a lifecycle policy.
Implementations§
source§impl LifecyclePolicySummary
impl LifecyclePolicySummary
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the lifecycle policy.
sourcepub fn state(&self) -> Option<&GettablePolicyStateValues>
pub fn state(&self) -> Option<&GettablePolicyStateValues>
The activation state of the lifecycle policy.
The tags.
sourcepub fn policy_type(&self) -> Option<&PolicyTypeValues>
pub fn policy_type(&self) -> Option<&PolicyTypeValues>
The type of policy. EBS_SNAPSHOT_MANAGEMENT indicates that the policy manages the lifecycle of Amazon EBS snapshots. IMAGE_MANAGEMENT indicates that the policy manages the lifecycle of EBS-backed AMIs. EVENT_BASED_POLICY indicates that the policy automates cross-account snapshot copies for snapshots that are shared with your account.
source§impl LifecyclePolicySummary
impl LifecyclePolicySummary
sourcepub fn builder() -> LifecyclePolicySummaryBuilder
pub fn builder() -> LifecyclePolicySummaryBuilder
Creates a new builder-style object to manufacture LifecyclePolicySummary.
Trait Implementations§
source§impl Clone for LifecyclePolicySummary
impl Clone for LifecyclePolicySummary
source§fn clone(&self) -> LifecyclePolicySummary
fn clone(&self) -> LifecyclePolicySummary
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 LifecyclePolicySummary
impl Debug for LifecyclePolicySummary
source§impl PartialEq<LifecyclePolicySummary> for LifecyclePolicySummary
impl PartialEq<LifecyclePolicySummary> for LifecyclePolicySummary
source§fn eq(&self, other: &LifecyclePolicySummary) -> bool
fn eq(&self, other: &LifecyclePolicySummary) -> bool
This method tests for
self and other values to be equal, and is used
by ==.