Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::RestoreRequestBuilder
#[non_exhaustive]pub struct RestoreRequestBuilder { /* private fields */ }
Expand description
A builder for RestoreRequest
.
Implementations§
§impl RestoreRequestBuilder
impl RestoreRequestBuilder
pub fn days(self, input: i32) -> RestoreRequestBuilder
pub fn days(self, input: i32) -> RestoreRequestBuilder
Lifetime of the active copy in days. Do not use with restores that specify OutputLocation
.
The Days element is required for regular restores, and must not be provided for select requests.
pub fn set_days(self, input: Option<i32>) -> RestoreRequestBuilder
pub fn set_days(self, input: Option<i32>) -> RestoreRequestBuilder
Lifetime of the active copy in days. Do not use with restores that specify OutputLocation
.
The Days element is required for regular restores, and must not be provided for select requests.
pub fn get_days(&self) -> &Option<i32>
pub fn get_days(&self) -> &Option<i32>
Lifetime of the active copy in days. Do not use with restores that specify OutputLocation
.
The Days element is required for regular restores, and must not be provided for select requests.
pub fn glacier_job_parameters(
self,
input: GlacierJobParameters
) -> RestoreRequestBuilder
pub fn glacier_job_parameters( self, input: GlacierJobParameters ) -> RestoreRequestBuilder
S3 Glacier related parameters pertaining to this job. Do not use with restores that specify OutputLocation
.
pub fn set_glacier_job_parameters(
self,
input: Option<GlacierJobParameters>
) -> RestoreRequestBuilder
pub fn set_glacier_job_parameters( self, input: Option<GlacierJobParameters> ) -> RestoreRequestBuilder
S3 Glacier related parameters pertaining to this job. Do not use with restores that specify OutputLocation
.
pub fn get_glacier_job_parameters(&self) -> &Option<GlacierJobParameters>
pub fn get_glacier_job_parameters(&self) -> &Option<GlacierJobParameters>
S3 Glacier related parameters pertaining to this job. Do not use with restores that specify OutputLocation
.
pub fn type(self, input: RestoreRequestType) -> RestoreRequestBuilder
pub fn type(self, input: RestoreRequestType) -> RestoreRequestBuilder
Type of restore request.
pub fn set_type(
self,
input: Option<RestoreRequestType>
) -> RestoreRequestBuilder
pub fn set_type( self, input: Option<RestoreRequestType> ) -> RestoreRequestBuilder
Type of restore request.
pub fn get_type(&self) -> &Option<RestoreRequestType>
pub fn get_type(&self) -> &Option<RestoreRequestType>
Type of restore request.
pub fn tier(self, input: Tier) -> RestoreRequestBuilder
pub fn tier(self, input: Tier) -> RestoreRequestBuilder
Retrieval tier at which the restore will be processed.
pub fn set_tier(self, input: Option<Tier>) -> RestoreRequestBuilder
pub fn set_tier(self, input: Option<Tier>) -> RestoreRequestBuilder
Retrieval tier at which the restore will be processed.
pub fn description(self, input: impl Into<String>) -> RestoreRequestBuilder
pub fn description(self, input: impl Into<String>) -> RestoreRequestBuilder
The optional description for the job.
pub fn set_description(self, input: Option<String>) -> RestoreRequestBuilder
pub fn set_description(self, input: Option<String>) -> RestoreRequestBuilder
The optional description for the job.
pub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The optional description for the job.
pub fn select_parameters(self, input: SelectParameters) -> RestoreRequestBuilder
pub fn select_parameters(self, input: SelectParameters) -> RestoreRequestBuilder
Describes the parameters for Select job types.
pub fn set_select_parameters(
self,
input: Option<SelectParameters>
) -> RestoreRequestBuilder
pub fn set_select_parameters( self, input: Option<SelectParameters> ) -> RestoreRequestBuilder
Describes the parameters for Select job types.
pub fn get_select_parameters(&self) -> &Option<SelectParameters>
pub fn get_select_parameters(&self) -> &Option<SelectParameters>
Describes the parameters for Select job types.
pub fn output_location(self, input: OutputLocation) -> RestoreRequestBuilder
pub fn output_location(self, input: OutputLocation) -> RestoreRequestBuilder
Describes the location where the restore job's output is stored.
pub fn set_output_location(
self,
input: Option<OutputLocation>
) -> RestoreRequestBuilder
pub fn set_output_location( self, input: Option<OutputLocation> ) -> RestoreRequestBuilder
Describes the location where the restore job's output is stored.
pub fn get_output_location(&self) -> &Option<OutputLocation>
pub fn get_output_location(&self) -> &Option<OutputLocation>
Describes the location where the restore job's output is stored.
pub fn build(self) -> RestoreRequest
pub fn build(self) -> RestoreRequest
Consumes the builder and constructs a RestoreRequest
.
Trait Implementations§
§impl Clone for RestoreRequestBuilder
impl Clone for RestoreRequestBuilder
§fn clone(&self) -> RestoreRequestBuilder
fn clone(&self) -> RestoreRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for RestoreRequestBuilder
impl Debug for RestoreRequestBuilder
§impl Default for RestoreRequestBuilder
impl Default for RestoreRequestBuilder
§fn default() -> RestoreRequestBuilder
fn default() -> RestoreRequestBuilder
§impl PartialEq for RestoreRequestBuilder
impl PartialEq for RestoreRequestBuilder
§fn eq(&self, other: &RestoreRequestBuilder) -> bool
fn eq(&self, other: &RestoreRequestBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.