Struct aws_sdk_backup::operation::update_restore_testing_plan::builders::UpdateRestoreTestingPlanInputBuilder
source · #[non_exhaustive]pub struct UpdateRestoreTestingPlanInputBuilder { /* private fields */ }
Expand description
A builder for UpdateRestoreTestingPlanInput
.
Implementations§
source§impl UpdateRestoreTestingPlanInputBuilder
impl UpdateRestoreTestingPlanInputBuilder
sourcepub fn restore_testing_plan(self, input: RestoreTestingPlanForUpdate) -> Self
pub fn restore_testing_plan(self, input: RestoreTestingPlanForUpdate) -> Self
Specifies the body of a restore testing plan.
This field is required.sourcepub fn set_restore_testing_plan(
self,
input: Option<RestoreTestingPlanForUpdate>
) -> Self
pub fn set_restore_testing_plan( self, input: Option<RestoreTestingPlanForUpdate> ) -> Self
Specifies the body of a restore testing plan.
sourcepub fn get_restore_testing_plan(&self) -> &Option<RestoreTestingPlanForUpdate>
pub fn get_restore_testing_plan(&self) -> &Option<RestoreTestingPlanForUpdate>
Specifies the body of a 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 is the restore testing plan name you wish to update.
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 is the restore testing plan name you wish to update.
sourcepub fn get_restore_testing_plan_name(&self) -> &Option<String>
pub fn get_restore_testing_plan_name(&self) -> &Option<String>
This is the restore testing plan name you wish to update.
sourcepub fn build(self) -> Result<UpdateRestoreTestingPlanInput, BuildError>
pub fn build(self) -> Result<UpdateRestoreTestingPlanInput, BuildError>
Consumes the builder and constructs a UpdateRestoreTestingPlanInput
.
source§impl UpdateRestoreTestingPlanInputBuilder
impl UpdateRestoreTestingPlanInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateRestoreTestingPlanOutput, SdkError<UpdateRestoreTestingPlanError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateRestoreTestingPlanOutput, SdkError<UpdateRestoreTestingPlanError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateRestoreTestingPlanInputBuilder
impl Clone for UpdateRestoreTestingPlanInputBuilder
source§fn clone(&self) -> UpdateRestoreTestingPlanInputBuilder
fn clone(&self) -> UpdateRestoreTestingPlanInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdateRestoreTestingPlanInputBuilder
impl Default for UpdateRestoreTestingPlanInputBuilder
source§fn default() -> UpdateRestoreTestingPlanInputBuilder
fn default() -> UpdateRestoreTestingPlanInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateRestoreTestingPlanInputBuilder
impl PartialEq for UpdateRestoreTestingPlanInputBuilder
source§fn eq(&self, other: &UpdateRestoreTestingPlanInputBuilder) -> bool
fn eq(&self, other: &UpdateRestoreTestingPlanInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateRestoreTestingPlanInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateRestoreTestingPlanInputBuilder
impl RefUnwindSafe for UpdateRestoreTestingPlanInputBuilder
impl Send for UpdateRestoreTestingPlanInputBuilder
impl Sync for UpdateRestoreTestingPlanInputBuilder
impl Unpin for UpdateRestoreTestingPlanInputBuilder
impl UnwindSafe for UpdateRestoreTestingPlanInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.