Struct aws_sdk_backup::operation::update_restore_testing_plan::builders::UpdateRestoreTestingPlanOutputBuilder
source · #[non_exhaustive]pub struct UpdateRestoreTestingPlanOutputBuilder { /* private fields */ }
Expand description
A builder for UpdateRestoreTestingPlanOutput
.
Implementations§
source§impl UpdateRestoreTestingPlanOutputBuilder
impl UpdateRestoreTestingPlanOutputBuilder
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
This is the time the resource testing plan was created.
This field is required.sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
This is the time the resource testing plan was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
This is the time the resource testing plan was created.
sourcepub fn restore_testing_plan_arn(self, input: impl Into<String>) -> Self
pub fn restore_testing_plan_arn(self, input: impl Into<String>) -> Self
Unique ARN (Amazon Resource Name) of the 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
Unique ARN (Amazon Resource Name) of the restore testing plan.
sourcepub fn get_restore_testing_plan_arn(&self) -> &Option<String>
pub fn get_restore_testing_plan_arn(&self) -> &Option<String>
Unique ARN (Amazon Resource Name) of the 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
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
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>
The name cannot be changed after creation. The name consists of only alphanumeric characters and underscores. Maximum length is 50.
sourcepub fn update_time(self, input: DateTime) -> Self
pub fn update_time(self, input: DateTime) -> Self
This is the time the update completed for the restore testing plan.
This field is required.sourcepub fn set_update_time(self, input: Option<DateTime>) -> Self
pub fn set_update_time(self, input: Option<DateTime>) -> Self
This is the time the update completed for the restore testing plan.
sourcepub fn get_update_time(&self) -> &Option<DateTime>
pub fn get_update_time(&self) -> &Option<DateTime>
This is the time the update completed for the restore testing plan.
sourcepub fn build(self) -> Result<UpdateRestoreTestingPlanOutput, BuildError>
pub fn build(self) -> Result<UpdateRestoreTestingPlanOutput, BuildError>
Consumes the builder and constructs a UpdateRestoreTestingPlanOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UpdateRestoreTestingPlanOutputBuilder
impl Clone for UpdateRestoreTestingPlanOutputBuilder
source§fn clone(&self) -> UpdateRestoreTestingPlanOutputBuilder
fn clone(&self) -> UpdateRestoreTestingPlanOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateRestoreTestingPlanOutputBuilder
impl Default for UpdateRestoreTestingPlanOutputBuilder
source§fn default() -> UpdateRestoreTestingPlanOutputBuilder
fn default() -> UpdateRestoreTestingPlanOutputBuilder
source§impl PartialEq for UpdateRestoreTestingPlanOutputBuilder
impl PartialEq for UpdateRestoreTestingPlanOutputBuilder
source§fn eq(&self, other: &UpdateRestoreTestingPlanOutputBuilder) -> bool
fn eq(&self, other: &UpdateRestoreTestingPlanOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.