Struct aws_sdk_rbin::operation::create_rule::CreateRuleOutput   
source · #[non_exhaustive]pub struct CreateRuleOutput { /* private fields */ }Implementations§
source§impl CreateRuleOutput
 
impl CreateRuleOutput
sourcepub fn identifier(&self) -> Option<&str>
 
pub fn identifier(&self) -> Option<&str>
The unique ID of 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.
sourcepub fn description(&self) -> Option<&str>
 
pub fn description(&self) -> Option<&str>
The retention rule description.
Information about the tags assigned to the retention rule.
sourcepub fn resource_type(&self) -> Option<&ResourceType>
 
pub fn resource_type(&self) -> Option<&ResourceType>
The resource type retained by the retention rule.
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 thelockedandunlockedstates only; it can never transition back tonull.
source§impl CreateRuleOutput
 
impl CreateRuleOutput
sourcepub fn builder() -> CreateRuleOutputBuilder
 
pub fn builder() -> CreateRuleOutputBuilder
Creates a new builder-style object to manufacture CreateRuleOutput.
Trait Implementations§
source§impl Clone for CreateRuleOutput
 
impl Clone for CreateRuleOutput
source§fn clone(&self) -> CreateRuleOutput
 
fn clone(&self) -> CreateRuleOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateRuleOutput
 
impl Debug for CreateRuleOutput
source§impl PartialEq<CreateRuleOutput> for CreateRuleOutput
 
impl PartialEq<CreateRuleOutput> for CreateRuleOutput
source§fn eq(&self, other: &CreateRuleOutput) -> bool
 
fn eq(&self, other: &CreateRuleOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for CreateRuleOutput
 
impl RequestId for CreateRuleOutput
source§fn request_id(&self) -> Option<&str>
 
fn request_id(&self) -> Option<&str>
None if the service could not be reached.