#[non_exhaustive]pub struct RestoreRequestBuilder { /* private fields */ }
Expand description
A builder for RestoreRequest
.
Implementations§
source§impl RestoreRequestBuilder
impl RestoreRequestBuilder
sourcepub fn days(self, input: i32) -> Self
pub fn days(self, input: i32) -> Self
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.
sourcepub fn set_days(self, input: Option<i32>) -> Self
pub fn set_days(self, input: Option<i32>) -> Self
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.
sourcepub 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.
sourcepub fn glacier_job_parameters(self, input: GlacierJobParameters) -> Self
pub fn glacier_job_parameters(self, input: GlacierJobParameters) -> Self
S3 Glacier related parameters pertaining to this job. Do not use with restores that specify OutputLocation
.
sourcepub fn set_glacier_job_parameters(
self,
input: Option<GlacierJobParameters>,
) -> Self
pub fn set_glacier_job_parameters( self, input: Option<GlacierJobParameters>, ) -> Self
S3 Glacier related parameters pertaining to this job. Do not use with restores that specify OutputLocation
.
sourcepub 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
.
sourcepub fn type(self, input: RestoreRequestType) -> Self
pub fn type(self, input: RestoreRequestType) -> Self
Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more
Type of restore request.
sourcepub fn set_type(self, input: Option<RestoreRequestType>) -> Self
pub fn set_type(self, input: Option<RestoreRequestType>) -> Self
Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more
Type of restore request.
sourcepub fn get_type(&self) -> &Option<RestoreRequestType>
pub fn get_type(&self) -> &Option<RestoreRequestType>
Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more
Type of restore request.
sourcepub fn set_tier(self, input: Option<Tier>) -> Self
pub fn set_tier(self, input: Option<Tier>) -> Self
Retrieval tier at which the restore will be processed.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The optional description for the job.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The optional description for the job.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The optional description for the job.
sourcepub fn select_parameters(self, input: SelectParameters) -> Self
pub fn select_parameters(self, input: SelectParameters) -> Self
Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more
Describes the parameters for Select job types.
sourcepub fn set_select_parameters(self, input: Option<SelectParameters>) -> Self
pub fn set_select_parameters(self, input: Option<SelectParameters>) -> Self
Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more
Describes the parameters for Select job types.
sourcepub fn get_select_parameters(&self) -> &Option<SelectParameters>
pub fn get_select_parameters(&self) -> &Option<SelectParameters>
Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more
Describes the parameters for Select job types.
sourcepub fn output_location(self, input: OutputLocation) -> Self
pub fn output_location(self, input: OutputLocation) -> Self
Describes the location where the restore job's output is stored.
sourcepub fn set_output_location(self, input: Option<OutputLocation>) -> Self
pub fn set_output_location(self, input: Option<OutputLocation>) -> Self
Describes the location where the restore job's output is stored.
sourcepub 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.
sourcepub fn build(self) -> RestoreRequest
pub fn build(self) -> RestoreRequest
Consumes the builder and constructs a RestoreRequest
.
Trait Implementations§
source§impl Clone for RestoreRequestBuilder
impl Clone for RestoreRequestBuilder
source§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 moresource§impl Debug for RestoreRequestBuilder
impl Debug for RestoreRequestBuilder
source§impl Default for RestoreRequestBuilder
impl Default for RestoreRequestBuilder
source§fn default() -> RestoreRequestBuilder
fn default() -> RestoreRequestBuilder
source§impl PartialEq for RestoreRequestBuilder
impl PartialEq for RestoreRequestBuilder
impl StructuralPartialEq for RestoreRequestBuilder
Auto Trait Implementations§
impl Freeze for RestoreRequestBuilder
impl RefUnwindSafe for RestoreRequestBuilder
impl Send for RestoreRequestBuilder
impl Sync for RestoreRequestBuilder
impl Unpin for RestoreRequestBuilder
impl UnwindSafe for RestoreRequestBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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