#[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§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.impl StructuralPartialEq for GetLegalHoldOutput
Auto Trait Implementations§
impl Freeze for GetLegalHoldOutput
impl RefUnwindSafe for GetLegalHoldOutput
impl Send for GetLegalHoldOutput
impl Sync for GetLegalHoldOutput
impl Unpin for GetLegalHoldOutput
impl UnwindSafe for GetLegalHoldOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more