#[non_exhaustive]pub struct CreateLegalHoldInputBuilder { /* private fields */ }
Expand description
A builder for CreateLegalHoldInput
.
Implementations§
source§impl CreateLegalHoldInputBuilder
impl CreateLegalHoldInputBuilder
sourcepub fn title(self, input: impl Into<String>) -> Self
pub fn title(self, input: impl Into<String>) -> Self
This is the string title of the legal hold.
sourcepub fn set_title(self, input: Option<String>) -> Self
pub fn set_title(self, input: Option<String>) -> Self
This is the string title of the legal hold.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
This is the string description of the legal hold.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
This is the string description of the legal hold.
sourcepub fn idempotency_token(self, input: impl Into<String>) -> Self
pub fn idempotency_token(self, input: impl Into<String>) -> Self
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 set_idempotency_token(self, input: Option<String>) -> Self
pub fn set_idempotency_token(self, input: Option<String>) -> Self
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, input: RecoveryPointSelection) -> Self
pub fn recovery_point_selection(self, input: RecoveryPointSelection) -> Self
This specifies criteria to assign 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
This specifies criteria to assign a set of resources, such as resource types or backup vaults.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
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: + - = . _ : /.
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: + - = . _ : /.
sourcepub fn build(self) -> Result<CreateLegalHoldInput, BuildError>
pub fn build(self) -> Result<CreateLegalHoldInput, BuildError>
Consumes the builder and constructs a CreateLegalHoldInput
.
Trait Implementations§
source§impl Clone for CreateLegalHoldInputBuilder
impl Clone for CreateLegalHoldInputBuilder
source§fn clone(&self) -> CreateLegalHoldInputBuilder
fn clone(&self) -> CreateLegalHoldInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateLegalHoldInputBuilder
impl Debug for CreateLegalHoldInputBuilder
source§impl Default for CreateLegalHoldInputBuilder
impl Default for CreateLegalHoldInputBuilder
source§fn default() -> CreateLegalHoldInputBuilder
fn default() -> CreateLegalHoldInputBuilder
source§impl PartialEq<CreateLegalHoldInputBuilder> for CreateLegalHoldInputBuilder
impl PartialEq<CreateLegalHoldInputBuilder> for CreateLegalHoldInputBuilder
source§fn eq(&self, other: &CreateLegalHoldInputBuilder) -> bool
fn eq(&self, other: &CreateLegalHoldInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.