Struct aws_sdk_backup::operation::create_restore_testing_selection::builders::CreateRestoreTestingSelectionOutputBuilder
source · #[non_exhaustive]pub struct CreateRestoreTestingSelectionOutputBuilder { /* private fields */ }
Expand description
A builder for CreateRestoreTestingSelectionOutput
.
Implementations§
source§impl CreateRestoreTestingSelectionOutputBuilder
impl CreateRestoreTestingSelectionOutputBuilder
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time that the resource testing selection 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
The time that the resource testing selection was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time that the resource testing selection 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
The ARN of the restore testing plan with which the restore testing selection is associated.
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
The ARN of the restore testing plan with which the restore testing selection is associated.
sourcepub fn get_restore_testing_plan_arn(&self) -> &Option<String>
pub fn get_restore_testing_plan_arn(&self) -> &Option<String>
The ARN of the restore testing plan with which the restore testing selection is associated.
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 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
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>
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 restore_testing_selection_name(self, input: impl Into<String>) -> Self
pub fn restore_testing_selection_name(self, input: impl Into<String>) -> Self
The name of the restore testing selection for the related restore testing plan.
This field is required.sourcepub fn set_restore_testing_selection_name(self, input: Option<String>) -> Self
pub fn set_restore_testing_selection_name(self, input: Option<String>) -> Self
The name of the restore testing selection for the related restore testing plan.
sourcepub fn get_restore_testing_selection_name(&self) -> &Option<String>
pub fn get_restore_testing_selection_name(&self) -> &Option<String>
The name of the restore testing selection for the related restore testing plan.
sourcepub fn build(self) -> Result<CreateRestoreTestingSelectionOutput, BuildError>
pub fn build(self) -> Result<CreateRestoreTestingSelectionOutput, BuildError>
Consumes the builder and constructs a CreateRestoreTestingSelectionOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateRestoreTestingSelectionOutputBuilder
impl Clone for CreateRestoreTestingSelectionOutputBuilder
source§fn clone(&self) -> CreateRestoreTestingSelectionOutputBuilder
fn clone(&self) -> CreateRestoreTestingSelectionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateRestoreTestingSelectionOutputBuilder
impl Default for CreateRestoreTestingSelectionOutputBuilder
source§fn default() -> CreateRestoreTestingSelectionOutputBuilder
fn default() -> CreateRestoreTestingSelectionOutputBuilder
source§impl PartialEq for CreateRestoreTestingSelectionOutputBuilder
impl PartialEq for CreateRestoreTestingSelectionOutputBuilder
source§fn eq(&self, other: &CreateRestoreTestingSelectionOutputBuilder) -> bool
fn eq(&self, other: &CreateRestoreTestingSelectionOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateRestoreTestingSelectionOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateRestoreTestingSelectionOutputBuilder
impl RefUnwindSafe for CreateRestoreTestingSelectionOutputBuilder
impl Send for CreateRestoreTestingSelectionOutputBuilder
impl Sync for CreateRestoreTestingSelectionOutputBuilder
impl Unpin for CreateRestoreTestingSelectionOutputBuilder
impl UnwindSafe for CreateRestoreTestingSelectionOutputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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