Struct aws_sdk_backup::operation::create_restore_testing_plan::builders::CreateRestoreTestingPlanInputBuilder
source · #[non_exhaustive]pub struct CreateRestoreTestingPlanInputBuilder { /* private fields */ }
Expand description
A builder for CreateRestoreTestingPlanInput
.
Implementations§
source§impl CreateRestoreTestingPlanInputBuilder
impl CreateRestoreTestingPlanInputBuilder
sourcepub fn creator_request_id(self, input: impl Into<String>) -> Self
pub fn creator_request_id(self, input: impl Into<String>) -> Self
This is a unique string that identifies the request and allows failed requests to be retriedwithout the risk of running the operation twice. This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
sourcepub fn set_creator_request_id(self, input: Option<String>) -> Self
pub fn set_creator_request_id(self, input: Option<String>) -> Self
This is a unique string that identifies the request and allows failed requests to be retriedwithout the risk of running the operation twice. This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
sourcepub fn get_creator_request_id(&self) -> &Option<String>
pub fn get_creator_request_id(&self) -> &Option<String>
This is a unique string that identifies the request and allows failed requests to be retriedwithout the risk of running the operation twice. This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
sourcepub fn restore_testing_plan(self, input: RestoreTestingPlanForCreate) -> Self
pub fn restore_testing_plan(self, input: RestoreTestingPlanForCreate) -> Self
A restore testing plan must contain a unique RestoreTestingPlanName
string you create and must contain a ScheduleExpression
cron. You may optionally include a StartWindowHours
integer and a CreatorRequestId
string.
The RestoreTestingPlanName
is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
sourcepub fn set_restore_testing_plan(
self,
input: Option<RestoreTestingPlanForCreate>,
) -> Self
pub fn set_restore_testing_plan( self, input: Option<RestoreTestingPlanForCreate>, ) -> Self
A restore testing plan must contain a unique RestoreTestingPlanName
string you create and must contain a ScheduleExpression
cron. You may optionally include a StartWindowHours
integer and a CreatorRequestId
string.
The RestoreTestingPlanName
is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
sourcepub fn get_restore_testing_plan(&self) -> &Option<RestoreTestingPlanForCreate>
pub fn get_restore_testing_plan(&self) -> &Option<RestoreTestingPlanForCreate>
A restore testing plan must contain a unique RestoreTestingPlanName
string you create and must contain a ScheduleExpression
cron. You may optionally include a StartWindowHours
integer and a CreatorRequestId
string.
The RestoreTestingPlanName
is a unique string that is the name of the restore testing plan. This cannot be changed after creation, and it must consist of only alphanumeric characters and underscores.
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: + - = . _ : /.
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<CreateRestoreTestingPlanInput, BuildError>
pub fn build(self) -> Result<CreateRestoreTestingPlanInput, BuildError>
Consumes the builder and constructs a CreateRestoreTestingPlanInput
.
source§impl CreateRestoreTestingPlanInputBuilder
impl CreateRestoreTestingPlanInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateRestoreTestingPlanOutput, SdkError<CreateRestoreTestingPlanError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateRestoreTestingPlanOutput, SdkError<CreateRestoreTestingPlanError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateRestoreTestingPlanInputBuilder
impl Clone for CreateRestoreTestingPlanInputBuilder
source§fn clone(&self) -> CreateRestoreTestingPlanInputBuilder
fn clone(&self) -> CreateRestoreTestingPlanInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateRestoreTestingPlanInputBuilder
impl Default for CreateRestoreTestingPlanInputBuilder
source§fn default() -> CreateRestoreTestingPlanInputBuilder
fn default() -> CreateRestoreTestingPlanInputBuilder
source§impl PartialEq for CreateRestoreTestingPlanInputBuilder
impl PartialEq for CreateRestoreTestingPlanInputBuilder
source§fn eq(&self, other: &CreateRestoreTestingPlanInputBuilder) -> bool
fn eq(&self, other: &CreateRestoreTestingPlanInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateRestoreTestingPlanInputBuilder
Auto Trait Implementations§
impl Freeze for CreateRestoreTestingPlanInputBuilder
impl RefUnwindSafe for CreateRestoreTestingPlanInputBuilder
impl Send for CreateRestoreTestingPlanInputBuilder
impl Sync for CreateRestoreTestingPlanInputBuilder
impl Unpin for CreateRestoreTestingPlanInputBuilder
impl UnwindSafe for CreateRestoreTestingPlanInputBuilder
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