#[non_exhaustive]pub struct CreateLegalHoldOutputBuilder { /* private fields */ }
Expand description
A builder for CreateLegalHoldOutput
.
Implementations§
source§impl CreateLegalHoldOutputBuilder
impl CreateLegalHoldOutputBuilder
sourcepub fn status(self, input: LegalHoldStatus) -> Self
pub fn status(self, input: LegalHoldStatus) -> Self
The status of the legal hold.
sourcepub fn set_status(self, input: Option<LegalHoldStatus>) -> Self
pub fn set_status(self, input: Option<LegalHoldStatus>) -> Self
The status of the legal hold.
sourcepub fn get_status(&self) -> &Option<LegalHoldStatus>
pub fn get_status(&self) -> &Option<LegalHoldStatus>
The status of the legal hold.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the legal hold.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the legal hold.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the legal hold.
sourcepub fn legal_hold_id(self, input: impl Into<String>) -> Self
pub fn legal_hold_id(self, input: impl Into<String>) -> Self
The ID of the legal hold.
sourcepub fn set_legal_hold_id(self, input: Option<String>) -> Self
pub fn set_legal_hold_id(self, input: Option<String>) -> Self
The ID of the legal hold.
sourcepub fn get_legal_hold_id(&self) -> &Option<String>
pub fn get_legal_hold_id(&self) -> &Option<String>
The ID of the legal hold.
sourcepub fn legal_hold_arn(self, input: impl Into<String>) -> Self
pub fn legal_hold_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the legal hold.
sourcepub fn set_legal_hold_arn(self, input: Option<String>) -> Self
pub fn set_legal_hold_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the legal hold.
sourcepub fn get_legal_hold_arn(&self) -> &Option<String>
pub fn get_legal_hold_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the legal hold.
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
The time when the legal hold was created.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
The time when the legal hold was created.
sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
The time when the legal hold was created.
sourcepub fn recovery_point_selection(self, input: RecoveryPointSelection) -> Self
pub fn recovery_point_selection(self, input: RecoveryPointSelection) -> Self
The criteria to assign to a set of resources, such as resource types or backup vaults.
sourcepub fn set_recovery_point_selection(
self,
input: Option<RecoveryPointSelection>,
) -> Self
pub fn set_recovery_point_selection( self, input: Option<RecoveryPointSelection>, ) -> Self
The criteria to assign to a set of resources, such as resource types or backup vaults.
sourcepub fn get_recovery_point_selection(&self) -> &Option<RecoveryPointSelection>
pub fn get_recovery_point_selection(&self) -> &Option<RecoveryPointSelection>
The criteria to assign to a set of resources, such as resource types or backup vaults.
sourcepub fn build(self) -> CreateLegalHoldOutput
pub fn build(self) -> CreateLegalHoldOutput
Consumes the builder and constructs a CreateLegalHoldOutput
.
Trait Implementations§
source§impl Clone for CreateLegalHoldOutputBuilder
impl Clone for CreateLegalHoldOutputBuilder
source§fn clone(&self) -> CreateLegalHoldOutputBuilder
fn clone(&self) -> CreateLegalHoldOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateLegalHoldOutputBuilder
impl Debug for CreateLegalHoldOutputBuilder
source§impl Default for CreateLegalHoldOutputBuilder
impl Default for CreateLegalHoldOutputBuilder
source§fn default() -> CreateLegalHoldOutputBuilder
fn default() -> CreateLegalHoldOutputBuilder
source§impl PartialEq for CreateLegalHoldOutputBuilder
impl PartialEq for CreateLegalHoldOutputBuilder
source§fn eq(&self, other: &CreateLegalHoldOutputBuilder) -> bool
fn eq(&self, other: &CreateLegalHoldOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateLegalHoldOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateLegalHoldOutputBuilder
impl RefUnwindSafe for CreateLegalHoldOutputBuilder
impl Send for CreateLegalHoldOutputBuilder
impl Sync for CreateLegalHoldOutputBuilder
impl Unpin for CreateLegalHoldOutputBuilder
impl UnwindSafe for CreateLegalHoldOutputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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