Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::RestoreStatusBuilder
pub struct RestoreStatusBuilder { /* private fields */ }
Expand description
A builder for RestoreStatus
.
Implementations§
§impl RestoreStatusBuilder
impl RestoreStatusBuilder
pub fn is_restore_in_progress(self, input: bool) -> RestoreStatusBuilder
pub fn is_restore_in_progress(self, input: bool) -> RestoreStatusBuilder
Specifies whether the object is currently being restored. If the object restoration is in progress, the header returns the value TRUE
. For example:
x-amz-optional-object-attributes: IsRestoreInProgress="true"
If the object restoration has completed, the header returns the value FALSE
. For example:
x-amz-optional-object-attributes: IsRestoreInProgress="false", RestoreExpiryDate="2012-12-21T00:00:00.000Z"
If the object hasn't been restored, there is no header response.
pub fn set_is_restore_in_progress(
self,
input: Option<bool>
) -> RestoreStatusBuilder
pub fn set_is_restore_in_progress( self, input: Option<bool> ) -> RestoreStatusBuilder
Specifies whether the object is currently being restored. If the object restoration is in progress, the header returns the value TRUE
. For example:
x-amz-optional-object-attributes: IsRestoreInProgress="true"
If the object restoration has completed, the header returns the value FALSE
. For example:
x-amz-optional-object-attributes: IsRestoreInProgress="false", RestoreExpiryDate="2012-12-21T00:00:00.000Z"
If the object hasn't been restored, there is no header response.
pub fn get_is_restore_in_progress(&self) -> &Option<bool>
pub fn get_is_restore_in_progress(&self) -> &Option<bool>
Specifies whether the object is currently being restored. If the object restoration is in progress, the header returns the value TRUE
. For example:
x-amz-optional-object-attributes: IsRestoreInProgress="true"
If the object restoration has completed, the header returns the value FALSE
. For example:
x-amz-optional-object-attributes: IsRestoreInProgress="false", RestoreExpiryDate="2012-12-21T00:00:00.000Z"
If the object hasn't been restored, there is no header response.
pub fn restore_expiry_date(self, input: DateTime) -> RestoreStatusBuilder
pub fn restore_expiry_date(self, input: DateTime) -> RestoreStatusBuilder
Indicates when the restored copy will expire. This value is populated only if the object has already been restored. For example:
x-amz-optional-object-attributes: IsRestoreInProgress="false", RestoreExpiryDate="2012-12-21T00:00:00.000Z"
pub fn set_restore_expiry_date(
self,
input: Option<DateTime>
) -> RestoreStatusBuilder
pub fn set_restore_expiry_date( self, input: Option<DateTime> ) -> RestoreStatusBuilder
Indicates when the restored copy will expire. This value is populated only if the object has already been restored. For example:
x-amz-optional-object-attributes: IsRestoreInProgress="false", RestoreExpiryDate="2012-12-21T00:00:00.000Z"
pub fn get_restore_expiry_date(&self) -> &Option<DateTime>
pub fn get_restore_expiry_date(&self) -> &Option<DateTime>
Indicates when the restored copy will expire. This value is populated only if the object has already been restored. For example:
x-amz-optional-object-attributes: IsRestoreInProgress="false", RestoreExpiryDate="2012-12-21T00:00:00.000Z"
pub fn build(self) -> RestoreStatus
pub fn build(self) -> RestoreStatus
Consumes the builder and constructs a RestoreStatus
.
Trait Implementations§
§impl Clone for RestoreStatusBuilder
impl Clone for RestoreStatusBuilder
§fn clone(&self) -> RestoreStatusBuilder
fn clone(&self) -> RestoreStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for RestoreStatusBuilder
impl Debug for RestoreStatusBuilder
§impl Default for RestoreStatusBuilder
impl Default for RestoreStatusBuilder
§fn default() -> RestoreStatusBuilder
fn default() -> RestoreStatusBuilder
§impl PartialEq<RestoreStatusBuilder> for RestoreStatusBuilder
impl PartialEq<RestoreStatusBuilder> for RestoreStatusBuilder
§fn eq(&self, other: &RestoreStatusBuilder) -> bool
fn eq(&self, other: &RestoreStatusBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.