Struct aws_sdk_s3::output::get_object_retention_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetObjectRetentionOutput
.
Implementations§
source§impl Builder
impl Builder
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
.