Struct aws_sdk_s3::operation::get_object_retention::builders::GetObjectRetentionOutputBuilder
source · #[non_exhaustive]pub struct GetObjectRetentionOutputBuilder { /* private fields */ }
Expand description
A builder for GetObjectRetentionOutput
.
Implementations§
source§impl GetObjectRetentionOutputBuilder
impl GetObjectRetentionOutputBuilder
sourcepub fn retention(self, input: ObjectLockRetention) -> Self
pub fn retention(self, input: ObjectLockRetention) -> Self
The container element for an object's retention settings.
sourcepub fn set_retention(self, input: Option<ObjectLockRetention>) -> Self
pub fn set_retention(self, input: Option<ObjectLockRetention>) -> Self
The container element for an object's retention settings.
sourcepub fn get_retention(&self) -> &Option<ObjectLockRetention>
pub fn get_retention(&self) -> &Option<ObjectLockRetention>
The container element for an object's retention settings.
sourcepub fn build(self) -> GetObjectRetentionOutput
pub fn build(self) -> GetObjectRetentionOutput
Consumes the builder and constructs a GetObjectRetentionOutput
.
Trait Implementations§
source§impl Clone for GetObjectRetentionOutputBuilder
impl Clone for GetObjectRetentionOutputBuilder
source§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 moresource§impl Default for GetObjectRetentionOutputBuilder
impl Default for GetObjectRetentionOutputBuilder
source§fn default() -> GetObjectRetentionOutputBuilder
fn default() -> GetObjectRetentionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetObjectRetentionOutputBuilder
impl PartialEq for GetObjectRetentionOutputBuilder
source§fn eq(&self, other: &GetObjectRetentionOutputBuilder) -> bool
fn eq(&self, other: &GetObjectRetentionOutputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetObjectRetentionOutputBuilder
Auto Trait Implementations§
impl Freeze for GetObjectRetentionOutputBuilder
impl RefUnwindSafe for GetObjectRetentionOutputBuilder
impl Send for GetObjectRetentionOutputBuilder
impl Sync for GetObjectRetentionOutputBuilder
impl Unpin for GetObjectRetentionOutputBuilder
impl UnwindSafe for GetObjectRetentionOutputBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.