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 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<GetObjectRetentionOutputBuilder> for GetObjectRetentionOutputBuilder
impl PartialEq<GetObjectRetentionOutputBuilder> for GetObjectRetentionOutputBuilder
source§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 ==
.