Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::VersioningConfigurationBuilder
pub struct VersioningConfigurationBuilder { /* private fields */ }
Expand description
A builder for VersioningConfiguration
.
Implementations§
§impl VersioningConfigurationBuilder
impl VersioningConfigurationBuilder
pub fn mfa_delete(self, input: MfaDelete) -> VersioningConfigurationBuilder
pub fn mfa_delete(self, input: MfaDelete) -> VersioningConfigurationBuilder
Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.
pub fn set_mfa_delete(
self,
input: Option<MfaDelete>
) -> VersioningConfigurationBuilder
pub fn set_mfa_delete( self, input: Option<MfaDelete> ) -> VersioningConfigurationBuilder
Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.
pub fn get_mfa_delete(&self) -> &Option<MfaDelete>
pub fn get_mfa_delete(&self) -> &Option<MfaDelete>
Specifies whether MFA delete is enabled in the bucket versioning configuration. This element is only returned if the bucket has been configured with MFA delete. If the bucket has never been so configured, this element is not returned.
pub fn status(
self,
input: BucketVersioningStatus
) -> VersioningConfigurationBuilder
pub fn status( self, input: BucketVersioningStatus ) -> VersioningConfigurationBuilder
The versioning state of the bucket.
pub fn set_status(
self,
input: Option<BucketVersioningStatus>
) -> VersioningConfigurationBuilder
pub fn set_status( self, input: Option<BucketVersioningStatus> ) -> VersioningConfigurationBuilder
The versioning state of the bucket.
pub fn get_status(&self) -> &Option<BucketVersioningStatus>
pub fn get_status(&self) -> &Option<BucketVersioningStatus>
The versioning state of the bucket.
pub fn build(self) -> VersioningConfiguration
pub fn build(self) -> VersioningConfiguration
Consumes the builder and constructs a VersioningConfiguration
.
Trait Implementations§
§impl Clone for VersioningConfigurationBuilder
impl Clone for VersioningConfigurationBuilder
§fn clone(&self) -> VersioningConfigurationBuilder
fn clone(&self) -> VersioningConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for VersioningConfigurationBuilder
impl Debug for VersioningConfigurationBuilder
§impl Default for VersioningConfigurationBuilder
impl Default for VersioningConfigurationBuilder
§fn default() -> VersioningConfigurationBuilder
fn default() -> VersioningConfigurationBuilder
§impl PartialEq<VersioningConfigurationBuilder> for VersioningConfigurationBuilder
impl PartialEq<VersioningConfigurationBuilder> for VersioningConfigurationBuilder
§fn eq(&self, other: &VersioningConfigurationBuilder) -> bool
fn eq(&self, other: &VersioningConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.