Struct aws_sdk_rbin::output::LockRuleOutput
source · #[non_exhaustive]pub struct LockRuleOutput { /* private fields */ }
Implementations§
source§impl LockRuleOutput
impl LockRuleOutput
sourcepub fn identifier(&self) -> Option<&str>
pub fn identifier(&self) -> Option<&str>
The unique ID of the retention rule.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The retention rule description.
sourcepub fn resource_type(&self) -> Option<&ResourceType>
pub fn resource_type(&self) -> Option<&ResourceType>
The resource type retained by the retention rule.
sourcepub fn retention_period(&self) -> Option<&RetentionPeriod>
pub fn retention_period(&self) -> Option<&RetentionPeriod>
Information about the retention period for which the retention rule is to retain resources.
Information about the resource tags used to identify resources that are retained by the retention rule.
sourcepub fn status(&self) -> Option<&RuleStatus>
pub fn status(&self) -> Option<&RuleStatus>
The state of the retention rule. Only retention rules that are in the available
state retain resources.
sourcepub fn lock_configuration(&self) -> Option<&LockConfiguration>
pub fn lock_configuration(&self) -> Option<&LockConfiguration>
Information about the retention rule lock configuration.
sourcepub fn lock_state(&self) -> Option<&LockState>
pub fn lock_state(&self) -> Option<&LockState>
The lock state for the retention rule.
-
locked
- The retention rule is locked and can't be modified or deleted. -
pending_unlock
- The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired. -
unlocked
- The retention rule is unlocked and it can be modified or deleted by any user with the required permissions. -
null
- The retention rule has never been locked. Once a retention rule has been locked, it can transition between thelocked
andunlocked
states only; it can never transition back tonull
.
source§impl LockRuleOutput
impl LockRuleOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LockRuleOutput
.
Trait Implementations§
source§impl Clone for LockRuleOutput
impl Clone for LockRuleOutput
source§fn clone(&self) -> LockRuleOutput
fn clone(&self) -> LockRuleOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LockRuleOutput
impl Debug for LockRuleOutput
source§impl PartialEq<LockRuleOutput> for LockRuleOutput
impl PartialEq<LockRuleOutput> for LockRuleOutput
source§fn eq(&self, other: &LockRuleOutput) -> bool
fn eq(&self, other: &LockRuleOutput) -> bool
self
and other
values to be equal, and is used
by ==
.