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 ==
.impl StructuralPartialEq for UpdateRestoreTestingPlanOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRestoreTestingPlanOutputBuilder
impl RefUnwindSafe for UpdateRestoreTestingPlanOutputBuilder
impl Send for UpdateRestoreTestingPlanOutputBuilder
impl Sync for UpdateRestoreTestingPlanOutputBuilder
impl Unpin for UpdateRestoreTestingPlanOutputBuilder
impl UnwindSafe for UpdateRestoreTestingPlanOutputBuilder
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