#[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
source§fn eq(&self, other: &CreateLegalHoldInput) -> bool
fn eq(&self, other: &CreateLegalHoldInput) -> bool
self
and other
values to be equal, and is used
by ==
.