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