Struct aws_sdk_backup::operation::update_restore_testing_selection::builders::UpdateRestoreTestingSelectionInputBuilder
source · #[non_exhaustive]pub struct UpdateRestoreTestingSelectionInputBuilder { /* private fields */ }
Expand description
A builder for UpdateRestoreTestingSelectionInput
.
Implementations§
source§impl UpdateRestoreTestingSelectionInputBuilder
impl UpdateRestoreTestingSelectionInputBuilder
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 restore testing plan name is required to update the indicated testing plan.
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 restore testing plan name is required to update the indicated testing plan.
sourcepub fn get_restore_testing_plan_name(&self) -> &Option<String>
pub fn get_restore_testing_plan_name(&self) -> &Option<String>
The restore testing plan name is required to update the indicated testing plan.
sourcepub fn restore_testing_selection(
self,
input: RestoreTestingSelectionForUpdate,
) -> Self
pub fn restore_testing_selection( self, input: RestoreTestingSelectionForUpdate, ) -> Self
To update your restore testing selection, you can use either protected resource ARNs or conditions, but not both. That is, if your selection has ProtectedResourceArns
, requesting an update with the parameter ProtectedResourceConditions
will be unsuccessful.
sourcepub fn set_restore_testing_selection(
self,
input: Option<RestoreTestingSelectionForUpdate>,
) -> Self
pub fn set_restore_testing_selection( self, input: Option<RestoreTestingSelectionForUpdate>, ) -> Self
To update your restore testing selection, you can use either protected resource ARNs or conditions, but not both. That is, if your selection has ProtectedResourceArns
, requesting an update with the parameter ProtectedResourceConditions
will be unsuccessful.
sourcepub fn get_restore_testing_selection(
&self,
) -> &Option<RestoreTestingSelectionForUpdate>
pub fn get_restore_testing_selection( &self, ) -> &Option<RestoreTestingSelectionForUpdate>
To update your restore testing selection, you can use either protected resource ARNs or conditions, but not both. That is, if your selection has ProtectedResourceArns
, requesting an update with the parameter ProtectedResourceConditions
will be unsuccessful.
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 required restore testing selection name of the restore testing selection you wish to update.
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 required restore testing selection name of the restore testing selection you wish to update.
sourcepub fn get_restore_testing_selection_name(&self) -> &Option<String>
pub fn get_restore_testing_selection_name(&self) -> &Option<String>
The required restore testing selection name of the restore testing selection you wish to update.
sourcepub fn build(self) -> Result<UpdateRestoreTestingSelectionInput, BuildError>
pub fn build(self) -> Result<UpdateRestoreTestingSelectionInput, BuildError>
Consumes the builder and constructs a UpdateRestoreTestingSelectionInput
.
source§impl UpdateRestoreTestingSelectionInputBuilder
impl UpdateRestoreTestingSelectionInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateRestoreTestingSelectionOutput, SdkError<UpdateRestoreTestingSelectionError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateRestoreTestingSelectionOutput, SdkError<UpdateRestoreTestingSelectionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateRestoreTestingSelectionInputBuilder
impl Clone for UpdateRestoreTestingSelectionInputBuilder
source§fn clone(&self) -> UpdateRestoreTestingSelectionInputBuilder
fn clone(&self) -> UpdateRestoreTestingSelectionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateRestoreTestingSelectionInputBuilder
impl Default for UpdateRestoreTestingSelectionInputBuilder
source§fn default() -> UpdateRestoreTestingSelectionInputBuilder
fn default() -> UpdateRestoreTestingSelectionInputBuilder
source§impl PartialEq for UpdateRestoreTestingSelectionInputBuilder
impl PartialEq for UpdateRestoreTestingSelectionInputBuilder
source§fn eq(&self, other: &UpdateRestoreTestingSelectionInputBuilder) -> bool
fn eq(&self, other: &UpdateRestoreTestingSelectionInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateRestoreTestingSelectionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRestoreTestingSelectionInputBuilder
impl RefUnwindSafe for UpdateRestoreTestingSelectionInputBuilder
impl Send for UpdateRestoreTestingSelectionInputBuilder
impl Sync for UpdateRestoreTestingSelectionInputBuilder
impl Unpin for UpdateRestoreTestingSelectionInputBuilder
impl UnwindSafe for UpdateRestoreTestingSelectionInputBuilder
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