#[non_exhaustive]pub struct CreateLegalHoldInput {
pub title: Option<String>,
pub description: Option<String>,
pub idempotency_token: Option<String>,
pub recovery_point_selection: Option<RecoveryPointSelection>,
pub tags: Option<HashMap<String, String>>,
}
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.
description: Option<String>
This is the string description of the legal hold.
idempotency_token: Option<String>
This is a user-chosen string used to distinguish between otherwise identical calls. Retrying a successful request with the same idempotency token results in a success message with no action taken.
recovery_point_selection: Option<RecoveryPointSelection>
This specifies criteria to assign a set of resources, such as resource types or backup vaults.
Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters, numbers, spaces, and the following characters: + - = . _ : /.
Implementations§
source§impl CreateLegalHoldInput
impl CreateLegalHoldInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
This is the string description of the legal hold.
sourcepub fn idempotency_token(&self) -> Option<&str>
pub fn idempotency_token(&self) -> Option<&str>
This is a user-chosen string used to distinguish between otherwise identical calls. Retrying a successful request with the same idempotency token results in a success message with no action taken.
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.
Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters, numbers, spaces, and the following characters: + - = . _ : /.
source§impl CreateLegalHoldInput
impl CreateLegalHoldInput
sourcepub fn builder() -> CreateLegalHoldInputBuilder
pub fn builder() -> CreateLegalHoldInputBuilder
Creates a new builder-style object to manufacture CreateLegalHoldInput
.
Trait Implementations§
source§impl Clone for CreateLegalHoldInput
impl Clone for CreateLegalHoldInput
source§fn clone(&self) -> CreateLegalHoldInput
fn clone(&self) -> CreateLegalHoldInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateLegalHoldInput
impl Debug for CreateLegalHoldInput
source§impl PartialEq for CreateLegalHoldInput
impl PartialEq for CreateLegalHoldInput
impl StructuralPartialEq for CreateLegalHoldInput
Auto Trait Implementations§
impl Freeze for CreateLegalHoldInput
impl RefUnwindSafe for CreateLegalHoldInput
impl Send for CreateLegalHoldInput
impl Sync for CreateLegalHoldInput
impl Unpin for CreateLegalHoldInput
impl UnwindSafe for CreateLegalHoldInput
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