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.
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.
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.
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<PutObjectRetentionOutputBuilder> for PutObjectRetentionOutputBuilder
impl PartialEq<PutObjectRetentionOutputBuilder> for PutObjectRetentionOutputBuilder
source§fn eq(&self, other: &PutObjectRetentionOutputBuilder) -> bool
fn eq(&self, other: &PutObjectRetentionOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutObjectRetentionOutputBuilder
Auto Trait Implementations§
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