Struct aws_sdk_backup::operation::put_restore_validation_result::builders::PutRestoreValidationResultInputBuilder
source · #[non_exhaustive]pub struct PutRestoreValidationResultInputBuilder { /* private fields */ }
Expand description
A builder for PutRestoreValidationResultInput
.
Implementations§
source§impl PutRestoreValidationResultInputBuilder
impl PutRestoreValidationResultInputBuilder
sourcepub fn restore_job_id(self, input: impl Into<String>) -> Self
pub fn restore_job_id(self, input: impl Into<String>) -> Self
This is a unique identifier of a restore job within Backup.
This field is required.sourcepub fn set_restore_job_id(self, input: Option<String>) -> Self
pub fn set_restore_job_id(self, input: Option<String>) -> Self
This is a unique identifier of a restore job within Backup.
sourcepub fn get_restore_job_id(&self) -> &Option<String>
pub fn get_restore_job_id(&self) -> &Option<String>
This is a unique identifier of a restore job within Backup.
sourcepub fn validation_status(self, input: RestoreValidationStatus) -> Self
pub fn validation_status(self, input: RestoreValidationStatus) -> Self
This is the status of your restore validation.
This field is required.sourcepub fn set_validation_status(
self,
input: Option<RestoreValidationStatus>,
) -> Self
pub fn set_validation_status( self, input: Option<RestoreValidationStatus>, ) -> Self
This is the status of your restore validation.
sourcepub fn get_validation_status(&self) -> &Option<RestoreValidationStatus>
pub fn get_validation_status(&self) -> &Option<RestoreValidationStatus>
This is the status of your restore validation.
sourcepub fn validation_status_message(self, input: impl Into<String>) -> Self
pub fn validation_status_message(self, input: impl Into<String>) -> Self
This is an optional message string you can input to describe the validation status for the restore test validation.
sourcepub fn set_validation_status_message(self, input: Option<String>) -> Self
pub fn set_validation_status_message(self, input: Option<String>) -> Self
This is an optional message string you can input to describe the validation status for the restore test validation.
sourcepub fn get_validation_status_message(&self) -> &Option<String>
pub fn get_validation_status_message(&self) -> &Option<String>
This is an optional message string you can input to describe the validation status for the restore test validation.
sourcepub fn build(self) -> Result<PutRestoreValidationResultInput, BuildError>
pub fn build(self) -> Result<PutRestoreValidationResultInput, BuildError>
Consumes the builder and constructs a PutRestoreValidationResultInput
.
source§impl PutRestoreValidationResultInputBuilder
impl PutRestoreValidationResultInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<PutRestoreValidationResultOutput, SdkError<PutRestoreValidationResultError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<PutRestoreValidationResultOutput, SdkError<PutRestoreValidationResultError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutRestoreValidationResultInputBuilder
impl Clone for PutRestoreValidationResultInputBuilder
source§fn clone(&self) -> PutRestoreValidationResultInputBuilder
fn clone(&self) -> PutRestoreValidationResultInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PutRestoreValidationResultInputBuilder
impl Default for PutRestoreValidationResultInputBuilder
source§fn default() -> PutRestoreValidationResultInputBuilder
fn default() -> PutRestoreValidationResultInputBuilder
source§impl PartialEq for PutRestoreValidationResultInputBuilder
impl PartialEq for PutRestoreValidationResultInputBuilder
source§fn eq(&self, other: &PutRestoreValidationResultInputBuilder) -> bool
fn eq(&self, other: &PutRestoreValidationResultInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutRestoreValidationResultInputBuilder
Auto Trait Implementations§
impl Freeze for PutRestoreValidationResultInputBuilder
impl RefUnwindSafe for PutRestoreValidationResultInputBuilder
impl Send for PutRestoreValidationResultInputBuilder
impl Sync for PutRestoreValidationResultInputBuilder
impl Unpin for PutRestoreValidationResultInputBuilder
impl UnwindSafe for PutRestoreValidationResultInputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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