Struct aws_sdk_s3::operation::get_bucket_versioning::builders::GetBucketVersioningOutputBuilder
source · #[non_exhaustive]pub struct GetBucketVersioningOutputBuilder { /* private fields */ }
Expand description
A builder for GetBucketVersioningOutput
.
Implementations§
source§impl GetBucketVersioningOutputBuilder
impl GetBucketVersioningOutputBuilder
sourcepub fn status(self, input: BucketVersioningStatus) -> Self
pub fn status(self, input: BucketVersioningStatus) -> Self
The versioning state of the bucket.
sourcepub fn set_status(self, input: Option<BucketVersioningStatus>) -> Self
pub fn set_status(self, input: Option<BucketVersioningStatus>) -> Self
The versioning state of the bucket.
sourcepub fn get_status(&self) -> &Option<BucketVersioningStatus>
pub fn get_status(&self) -> &Option<BucketVersioningStatus>
The versioning state of the bucket.
sourcepub fn mfa_delete(self, input: MfaDeleteStatus) -> Self
pub fn mfa_delete(self, input: MfaDeleteStatus) -> Self
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.
sourcepub fn set_mfa_delete(self, input: Option<MfaDeleteStatus>) -> Self
pub fn set_mfa_delete(self, input: Option<MfaDeleteStatus>) -> Self
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.
sourcepub 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.
sourcepub fn build(self) -> GetBucketVersioningOutput
pub fn build(self) -> GetBucketVersioningOutput
Consumes the builder and constructs a GetBucketVersioningOutput
.
Trait Implementations§
source§impl Clone for GetBucketVersioningOutputBuilder
impl Clone for GetBucketVersioningOutputBuilder
source§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 moresource§impl Default for GetBucketVersioningOutputBuilder
impl Default for GetBucketVersioningOutputBuilder
source§fn default() -> GetBucketVersioningOutputBuilder
fn default() -> GetBucketVersioningOutputBuilder
source§impl PartialEq for GetBucketVersioningOutputBuilder
impl PartialEq for GetBucketVersioningOutputBuilder
source§fn eq(&self, other: &GetBucketVersioningOutputBuilder) -> bool
fn eq(&self, other: &GetBucketVersioningOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetBucketVersioningOutputBuilder
Auto Trait Implementations§
impl Freeze for GetBucketVersioningOutputBuilder
impl RefUnwindSafe for GetBucketVersioningOutputBuilder
impl Send for GetBucketVersioningOutputBuilder
impl Sync for GetBucketVersioningOutputBuilder
impl Unpin for GetBucketVersioningOutputBuilder
impl UnwindSafe for GetBucketVersioningOutputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)