#[non_exhaustive]pub struct GetLegalHoldOutput {
pub title: Option<String>,
pub status: Option<LegalHoldStatus>,
pub description: Option<String>,
pub cancel_description: Option<String>,
pub legal_hold_id: Option<String>,
pub legal_hold_arn: Option<String>,
pub creation_date: Option<DateTime>,
pub cancellation_date: Option<DateTime>,
pub retain_record_until: Option<DateTime>,
pub recovery_point_selection: Option<RecoveryPointSelection>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.title: Option<String>
This is the string title of the legal hold.
status: Option<LegalHoldStatus>
This is the status of the legal hold. Statuses can be ACTIVE
, CREATING
, CANCELED
, and CANCELING
.
description: Option<String>
This is the returned string description of the legal hold.
cancel_description: Option<String>
String describing the reason for removing the legal hold.
legal_hold_id: Option<String>
This is the returned ID associated with a specified legal hold.
legal_hold_arn: Option<String>
This is the returned framework ARN for the specified legal hold. An Amazon Resource Name (ARN) uniquely identifies a resource. The format of the ARN depends on the resource type.
creation_date: Option<DateTime>
Time in number format when legal hold was created.
cancellation_date: Option<DateTime>
Time in number when legal hold was cancelled.
retain_record_until: Option<DateTime>
This is the date and time until which the legal hold record will be retained.
recovery_point_selection: Option<RecoveryPointSelection>
This specifies criteria to assign a set of resources, such as resource types or backup vaults.
Implementations§
source§impl GetLegalHoldOutput
impl GetLegalHoldOutput
sourcepub fn status(&self) -> Option<&LegalHoldStatus>
pub fn status(&self) -> Option<&LegalHoldStatus>
This is the status of the legal hold. Statuses can be ACTIVE
, CREATING
, CANCELED
, and CANCELING
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
This is the returned string description of the legal hold.
sourcepub fn cancel_description(&self) -> Option<&str>
pub fn cancel_description(&self) -> Option<&str>
String describing the reason for removing the legal hold.
sourcepub fn legal_hold_id(&self) -> Option<&str>
pub fn legal_hold_id(&self) -> Option<&str>
This is the returned ID associated with a specified legal hold.
sourcepub fn legal_hold_arn(&self) -> Option<&str>
pub fn legal_hold_arn(&self) -> Option<&str>
This is the returned framework ARN for the specified legal hold. An Amazon Resource Name (ARN) uniquely identifies a resource. The format of the ARN depends on the resource type.
sourcepub fn creation_date(&self) -> Option<&DateTime>
pub fn creation_date(&self) -> Option<&DateTime>
Time in number format when legal hold was created.
sourcepub fn cancellation_date(&self) -> Option<&DateTime>
pub fn cancellation_date(&self) -> Option<&DateTime>
Time in number when legal hold was cancelled.
sourcepub fn retain_record_until(&self) -> Option<&DateTime>
pub fn retain_record_until(&self) -> Option<&DateTime>
This is the date and time until which the legal hold record will be retained.
sourcepub fn recovery_point_selection(&self) -> Option<&RecoveryPointSelection>
pub fn recovery_point_selection(&self) -> Option<&RecoveryPointSelection>
This specifies criteria to assign a set of resources, such as resource types or backup vaults.
source§impl GetLegalHoldOutput
impl GetLegalHoldOutput
sourcepub fn builder() -> GetLegalHoldOutputBuilder
pub fn builder() -> GetLegalHoldOutputBuilder
Creates a new builder-style object to manufacture GetLegalHoldOutput
.
Trait Implementations§
source§impl Clone for GetLegalHoldOutput
impl Clone for GetLegalHoldOutput
source§fn clone(&self) -> GetLegalHoldOutput
fn clone(&self) -> GetLegalHoldOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetLegalHoldOutput
impl Debug for GetLegalHoldOutput
source§impl PartialEq for GetLegalHoldOutput
impl PartialEq for GetLegalHoldOutput
source§fn eq(&self, other: &GetLegalHoldOutput) -> bool
fn eq(&self, other: &GetLegalHoldOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetLegalHoldOutput
impl RequestId for GetLegalHoldOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.