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 ==
.