Struct aws_sdk_rbin::model::UnlockDelay
source · #[non_exhaustive]pub struct UnlockDelay { /* private fields */ }
Expand description
Information about the retention rule unlock delay. The unlock delay is the period after which a retention rule can be modified or edited after it has been unlocked by a user with the required permissions. The retention rule can't be modified or deleted during the unlock delay.
Implementations§
source§impl UnlockDelay
impl UnlockDelay
sourcepub fn unlock_delay_value(&self) -> Option<i32>
pub fn unlock_delay_value(&self) -> Option<i32>
The unlock delay period, measured in the unit specified for UnlockDelayUnit.
sourcepub fn unlock_delay_unit(&self) -> Option<&UnlockDelayUnit>
pub fn unlock_delay_unit(&self) -> Option<&UnlockDelayUnit>
The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in days.
source§impl UnlockDelay
impl UnlockDelay
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UnlockDelay
.
Trait Implementations§
source§impl Clone for UnlockDelay
impl Clone for UnlockDelay
source§fn clone(&self) -> UnlockDelay
fn clone(&self) -> UnlockDelay
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 UnlockDelay
impl Debug for UnlockDelay
source§impl PartialEq<UnlockDelay> for UnlockDelay
impl PartialEq<UnlockDelay> for UnlockDelay
source§fn eq(&self, other: &UnlockDelay) -> bool
fn eq(&self, other: &UnlockDelay) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.