Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::get_object_retention::builders::GetObjectRetentionOutputBuilder
#[non_exhaustive]pub struct GetObjectRetentionOutputBuilder { /* private fields */ }
Expand description
A builder for GetObjectRetentionOutput
.
Implementations§
§impl GetObjectRetentionOutputBuilder
impl GetObjectRetentionOutputBuilder
pub fn retention(
self,
input: ObjectLockRetention
) -> GetObjectRetentionOutputBuilder
pub fn retention( self, input: ObjectLockRetention ) -> GetObjectRetentionOutputBuilder
The container element for an object's retention settings.
pub fn set_retention(
self,
input: Option<ObjectLockRetention>
) -> GetObjectRetentionOutputBuilder
pub fn set_retention( self, input: Option<ObjectLockRetention> ) -> GetObjectRetentionOutputBuilder
The container element for an object's retention settings.
pub fn get_retention(&self) -> &Option<ObjectLockRetention>
pub fn get_retention(&self) -> &Option<ObjectLockRetention>
The container element for an object's retention settings.
pub fn build(self) -> GetObjectRetentionOutput
pub fn build(self) -> GetObjectRetentionOutput
Consumes the builder and constructs a GetObjectRetentionOutput
.
Trait Implementations§
§impl Clone for GetObjectRetentionOutputBuilder
impl Clone for GetObjectRetentionOutputBuilder
§fn clone(&self) -> GetObjectRetentionOutputBuilder
fn clone(&self) -> GetObjectRetentionOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for GetObjectRetentionOutputBuilder
impl Debug for GetObjectRetentionOutputBuilder
§impl Default for GetObjectRetentionOutputBuilder
impl Default for GetObjectRetentionOutputBuilder
§fn default() -> GetObjectRetentionOutputBuilder
fn default() -> GetObjectRetentionOutputBuilder
Returns the “default value” for a type. Read more
§impl PartialEq for GetObjectRetentionOutputBuilder
impl PartialEq for GetObjectRetentionOutputBuilder
§fn eq(&self, other: &GetObjectRetentionOutputBuilder) -> bool
fn eq(&self, other: &GetObjectRetentionOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetObjectRetentionOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetObjectRetentionOutputBuilder
impl Send for GetObjectRetentionOutputBuilder
impl Sync for GetObjectRetentionOutputBuilder
impl Unpin for GetObjectRetentionOutputBuilder
impl UnwindSafe for GetObjectRetentionOutputBuilder
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Mutably borrows from an owned value. Read more