Struct aws_sdk_s3::operation::put_object_retention::builders::PutObjectRetentionOutputBuilder
source · #[non_exhaustive]pub struct PutObjectRetentionOutputBuilder { /* private fields */ }
Expand description
A builder for PutObjectRetentionOutput
.
Implementations§
source§impl PutObjectRetentionOutputBuilder
impl PutObjectRetentionOutputBuilder
sourcepub fn request_charged(self, input: RequestCharged) -> Self
pub fn request_charged(self, input: RequestCharged) -> Self
If present, indicates that the requester was successfully charged for the request.
This functionality is not supported for directory buckets.
sourcepub fn set_request_charged(self, input: Option<RequestCharged>) -> Self
pub fn set_request_charged(self, input: Option<RequestCharged>) -> Self
If present, indicates that the requester was successfully charged for the request.
This functionality is not supported for directory buckets.
sourcepub fn get_request_charged(&self) -> &Option<RequestCharged>
pub fn get_request_charged(&self) -> &Option<RequestCharged>
If present, indicates that the requester was successfully charged for the request.
This functionality is not supported for directory buckets.
sourcepub fn build(self) -> PutObjectRetentionOutput
pub fn build(self) -> PutObjectRetentionOutput
Consumes the builder and constructs a PutObjectRetentionOutput
.
Trait Implementations§
source§impl Clone for PutObjectRetentionOutputBuilder
impl Clone for PutObjectRetentionOutputBuilder
source§fn clone(&self) -> PutObjectRetentionOutputBuilder
fn clone(&self) -> PutObjectRetentionOutputBuilder
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 PutObjectRetentionOutputBuilder
impl Default for PutObjectRetentionOutputBuilder
source§fn default() -> PutObjectRetentionOutputBuilder
fn default() -> PutObjectRetentionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PutObjectRetentionOutputBuilder
impl PartialEq for PutObjectRetentionOutputBuilder
source§fn eq(&self, other: &PutObjectRetentionOutputBuilder) -> bool
fn eq(&self, other: &PutObjectRetentionOutputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PutObjectRetentionOutputBuilder
Auto Trait Implementations§
impl Freeze for PutObjectRetentionOutputBuilder
impl RefUnwindSafe for PutObjectRetentionOutputBuilder
impl Send for PutObjectRetentionOutputBuilder
impl Sync for PutObjectRetentionOutputBuilder
impl Unpin for PutObjectRetentionOutputBuilder
impl UnwindSafe for PutObjectRetentionOutputBuilder
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.