Struct aws_sdk_dlm::types::LifecyclePolicy
source · #[non_exhaustive]pub struct LifecyclePolicy { /* private fields */ }Expand description
[All policy types] Detailed information about a snapshot, AMI, or event-based lifecycle policy.
Implementations§
source§impl LifecyclePolicy
impl LifecyclePolicy
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.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
The description of the status.
sourcepub fn execution_role_arn(&self) -> Option<&str>
pub fn execution_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.
sourcepub fn date_created(&self) -> Option<&DateTime>
pub fn date_created(&self) -> Option<&DateTime>
The local date and time when the lifecycle policy was created.
sourcepub fn date_modified(&self) -> Option<&DateTime>
pub fn date_modified(&self) -> Option<&DateTime>
The local date and time when the lifecycle policy was last modified.
sourcepub fn policy_details(&self) -> Option<&PolicyDetails>
pub fn policy_details(&self) -> Option<&PolicyDetails>
The configuration of the lifecycle policy
The tags.
sourcepub fn policy_arn(&self) -> Option<&str>
pub fn policy_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the policy.
source§impl LifecyclePolicy
impl LifecyclePolicy
sourcepub fn builder() -> LifecyclePolicyBuilder
pub fn builder() -> LifecyclePolicyBuilder
Creates a new builder-style object to manufacture LifecyclePolicy.
Trait Implementations§
source§impl Clone for LifecyclePolicy
impl Clone for LifecyclePolicy
source§fn clone(&self) -> LifecyclePolicy
fn clone(&self) -> LifecyclePolicy
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 LifecyclePolicy
impl Debug for LifecyclePolicy
source§impl PartialEq<LifecyclePolicy> for LifecyclePolicy
impl PartialEq<LifecyclePolicy> for LifecyclePolicy
source§fn eq(&self, other: &LifecyclePolicy) -> bool
fn eq(&self, other: &LifecyclePolicy) -> bool
This method tests for
self and other values to be equal, and is used
by ==.