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
This is 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
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.
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 ==.