Struct aws_sdk_backup::operation::update_restore_testing_selection::builders::UpdateRestoreTestingSelectionFluentBuilder
source · pub struct UpdateRestoreTestingSelectionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateRestoreTestingSelection
.
Most elements except the RestoreTestingSelectionName
can be updated with this request.
RestoreTestingSelection
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.
Implementations§
source§impl UpdateRestoreTestingSelectionFluentBuilder
impl UpdateRestoreTestingSelectionFluentBuilder
sourcepub fn as_input(&self) -> &UpdateRestoreTestingSelectionInputBuilder
pub fn as_input(&self) -> &UpdateRestoreTestingSelectionInputBuilder
Access the UpdateRestoreTestingSelection as a reference.
sourcepub async fn send(
self
) -> Result<UpdateRestoreTestingSelectionOutput, SdkError<UpdateRestoreTestingSelectionError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateRestoreTestingSelectionOutput, SdkError<UpdateRestoreTestingSelectionError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateRestoreTestingSelectionOutput, UpdateRestoreTestingSelectionError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateRestoreTestingSelectionOutput, UpdateRestoreTestingSelectionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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
This is the required restore testing selection name of the restore testing selection you wish to update.
sourcepub fn set_restore_testing_selection_name(self, input: Option<String>) -> Self
pub fn set_restore_testing_selection_name(self, input: Option<String>) -> Self
This is 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>
This is the required restore testing selection name of the restore testing selection you wish to update.
Trait Implementations§
source§impl Clone for UpdateRestoreTestingSelectionFluentBuilder
impl Clone for UpdateRestoreTestingSelectionFluentBuilder
source§fn clone(&self) -> UpdateRestoreTestingSelectionFluentBuilder
fn clone(&self) -> UpdateRestoreTestingSelectionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateRestoreTestingSelectionFluentBuilder
impl !RefUnwindSafe for UpdateRestoreTestingSelectionFluentBuilder
impl Send for UpdateRestoreTestingSelectionFluentBuilder
impl Sync for UpdateRestoreTestingSelectionFluentBuilder
impl Unpin for UpdateRestoreTestingSelectionFluentBuilder
impl !UnwindSafe for UpdateRestoreTestingSelectionFluentBuilder
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> 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