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