Struct aws_sdk_backup::operation::create_restore_testing_plan::builders::CreateRestoreTestingPlanOutputBuilder
source · #[non_exhaustive]pub struct CreateRestoreTestingPlanOutputBuilder { /* private fields */ }
Expand description
A builder for CreateRestoreTestingPlanOutput
.
Implementations§
source§impl CreateRestoreTestingPlanOutputBuilder
impl CreateRestoreTestingPlanOutputBuilder
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The date and time a restore testing plan was created, in Unix format and Coordinated Universal Time (UTC). The value of CreationTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087AM.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The date and time a restore testing plan was created, in Unix format and Coordinated Universal Time (UTC). The value of CreationTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087AM.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The date and time a restore testing plan was created, in Unix format and Coordinated Universal Time (UTC). The value of CreationTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087AM.
sourcepub fn restore_testing_plan_arn(self, input: impl Into<String>) -> Self
pub fn restore_testing_plan_arn(self, input: impl Into<String>) -> Self
An Amazon Resource Name (ARN) that uniquely identifies the created restore testing plan.
This field is required.sourcepub fn set_restore_testing_plan_arn(self, input: Option<String>) -> Self
pub fn set_restore_testing_plan_arn(self, input: Option<String>) -> Self
An Amazon Resource Name (ARN) that uniquely identifies the created restore testing plan.
sourcepub fn get_restore_testing_plan_arn(&self) -> &Option<String>
pub fn get_restore_testing_plan_arn(&self) -> &Option<String>
An Amazon Resource Name (ARN) that uniquely identifies the created restore testing plan.
sourcepub fn restore_testing_plan_name(self, input: impl Into<String>) -> Self
pub fn restore_testing_plan_name(self, input: impl Into<String>) -> Self
This unique string is the name of the restore testing plan.
The name cannot be changed after creation. The name consists of only alphanumeric characters and underscores. Maximum length is 50.
This field is required.sourcepub fn set_restore_testing_plan_name(self, input: Option<String>) -> Self
pub fn set_restore_testing_plan_name(self, input: Option<String>) -> Self
This unique string is the name of the restore testing plan.
The name cannot be changed after creation. The name consists of only alphanumeric characters and underscores. Maximum length is 50.
sourcepub fn get_restore_testing_plan_name(&self) -> &Option<String>
pub fn get_restore_testing_plan_name(&self) -> &Option<String>
This unique string is the name of the restore testing plan.
The name cannot be changed after creation. The name consists of only alphanumeric characters and underscores. Maximum length is 50.
sourcepub fn build(self) -> Result<CreateRestoreTestingPlanOutput, BuildError>
pub fn build(self) -> Result<CreateRestoreTestingPlanOutput, BuildError>
Consumes the builder and constructs a CreateRestoreTestingPlanOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateRestoreTestingPlanOutputBuilder
impl Clone for CreateRestoreTestingPlanOutputBuilder
source§fn clone(&self) -> CreateRestoreTestingPlanOutputBuilder
fn clone(&self) -> CreateRestoreTestingPlanOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateRestoreTestingPlanOutputBuilder
impl Default for CreateRestoreTestingPlanOutputBuilder
source§fn default() -> CreateRestoreTestingPlanOutputBuilder
fn default() -> CreateRestoreTestingPlanOutputBuilder
source§impl PartialEq for CreateRestoreTestingPlanOutputBuilder
impl PartialEq for CreateRestoreTestingPlanOutputBuilder
source§fn eq(&self, other: &CreateRestoreTestingPlanOutputBuilder) -> bool
fn eq(&self, other: &CreateRestoreTestingPlanOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.