Struct aws_sdk_s3::operation::put_object_legal_hold::builders::PutObjectLegalHoldOutputBuilder
source · #[non_exhaustive]pub struct PutObjectLegalHoldOutputBuilder { /* private fields */ }
Expand description
A builder for PutObjectLegalHoldOutput
.
Implementations§
source§impl PutObjectLegalHoldOutputBuilder
impl PutObjectLegalHoldOutputBuilder
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) -> PutObjectLegalHoldOutput
pub fn build(self) -> PutObjectLegalHoldOutput
Consumes the builder and constructs a PutObjectLegalHoldOutput
.
Trait Implementations§
source§impl Clone for PutObjectLegalHoldOutputBuilder
impl Clone for PutObjectLegalHoldOutputBuilder
source§fn clone(&self) -> PutObjectLegalHoldOutputBuilder
fn clone(&self) -> PutObjectLegalHoldOutputBuilder
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 PutObjectLegalHoldOutputBuilder
impl Default for PutObjectLegalHoldOutputBuilder
source§fn default() -> PutObjectLegalHoldOutputBuilder
fn default() -> PutObjectLegalHoldOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PutObjectLegalHoldOutputBuilder
impl PartialEq for PutObjectLegalHoldOutputBuilder
source§fn eq(&self, other: &PutObjectLegalHoldOutputBuilder) -> bool
fn eq(&self, other: &PutObjectLegalHoldOutputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PutObjectLegalHoldOutputBuilder
Auto Trait Implementations§
impl Freeze for PutObjectLegalHoldOutputBuilder
impl RefUnwindSafe for PutObjectLegalHoldOutputBuilder
impl Send for PutObjectLegalHoldOutputBuilder
impl Sync for PutObjectLegalHoldOutputBuilder
impl Unpin for PutObjectLegalHoldOutputBuilder
impl UnwindSafe for PutObjectLegalHoldOutputBuilder
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.