Struct aws_sdk_backup::operation::put_restore_validation_result::builders::PutRestoreValidationResultFluentBuilder
source · pub struct PutRestoreValidationResultFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutRestoreValidationResult
.
This request allows you to send your independent self-run restore test validation results. RestoreJobId
and ValidationStatus
are required. Optionally, you can input a ValidationStatusMessage
.
Implementations§
source§impl PutRestoreValidationResultFluentBuilder
impl PutRestoreValidationResultFluentBuilder
sourcepub fn as_input(&self) -> &PutRestoreValidationResultInputBuilder
pub fn as_input(&self) -> &PutRestoreValidationResultInputBuilder
Access the PutRestoreValidationResult as a reference.
sourcepub async fn send(
self
) -> Result<PutRestoreValidationResultOutput, SdkError<PutRestoreValidationResultError, HttpResponse>>
pub async fn send( self ) -> Result<PutRestoreValidationResultOutput, SdkError<PutRestoreValidationResultError, 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<PutRestoreValidationResultOutput, PutRestoreValidationResultError, Self>
pub fn customize( self ) -> CustomizableOperation<PutRestoreValidationResultOutput, PutRestoreValidationResultError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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.
Trait Implementations§
source§impl Clone for PutRestoreValidationResultFluentBuilder
impl Clone for PutRestoreValidationResultFluentBuilder
source§fn clone(&self) -> PutRestoreValidationResultFluentBuilder
fn clone(&self) -> PutRestoreValidationResultFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more