Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::get_bucket_versioning::builders::GetBucketVersioningOutputBuilder
pub struct GetBucketVersioningOutputBuilder { /* private fields */ }
Expand description
A builder for GetBucketVersioningOutput
.
Implementations§
§impl GetBucketVersioningOutputBuilder
impl GetBucketVersioningOutputBuilder
pub fn status(
self,
input: BucketVersioningStatus
) -> GetBucketVersioningOutputBuilder
pub fn status( self, input: BucketVersioningStatus ) -> GetBucketVersioningOutputBuilder
The versioning state of the bucket.
pub fn set_status(
self,
input: Option<BucketVersioningStatus>
) -> GetBucketVersioningOutputBuilder
pub fn set_status( self, input: Option<BucketVersioningStatus> ) -> GetBucketVersioningOutputBuilder
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 mfa_delete(
self,
input: MfaDeleteStatus
) -> GetBucketVersioningOutputBuilder
pub fn mfa_delete( self, input: MfaDeleteStatus ) -> GetBucketVersioningOutputBuilder
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<MfaDeleteStatus>
) -> GetBucketVersioningOutputBuilder
pub fn set_mfa_delete( self, input: Option<MfaDeleteStatus> ) -> GetBucketVersioningOutputBuilder
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<MfaDeleteStatus>
pub fn get_mfa_delete(&self) -> &Option<MfaDeleteStatus>
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 build(self) -> GetBucketVersioningOutput
pub fn build(self) -> GetBucketVersioningOutput
Consumes the builder and constructs a GetBucketVersioningOutput
.
Trait Implementations§
§impl Clone for GetBucketVersioningOutputBuilder
impl Clone for GetBucketVersioningOutputBuilder
§fn clone(&self) -> GetBucketVersioningOutputBuilder
fn clone(&self) -> GetBucketVersioningOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for GetBucketVersioningOutputBuilder
impl Debug for GetBucketVersioningOutputBuilder
§impl Default for GetBucketVersioningOutputBuilder
impl Default for GetBucketVersioningOutputBuilder
§fn default() -> GetBucketVersioningOutputBuilder
fn default() -> GetBucketVersioningOutputBuilder
§impl PartialEq<GetBucketVersioningOutputBuilder> for GetBucketVersioningOutputBuilder
impl PartialEq<GetBucketVersioningOutputBuilder> for GetBucketVersioningOutputBuilder
§fn eq(&self, other: &GetBucketVersioningOutputBuilder) -> bool
fn eq(&self, other: &GetBucketVersioningOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.