#[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. For more information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple Storage Service user guide.
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. For more information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple Storage Service user guide.
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. For more information, see Using Requester Pays buckets for storage transfers and usage in the Amazon Simple Storage Service user guide.
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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for PutObjectLegalHoldOutputBuilder
impl Default for PutObjectLegalHoldOutputBuilder
Source§fn default() -> PutObjectLegalHoldOutputBuilder
fn default() -> PutObjectLegalHoldOutputBuilder
Source§impl PartialEq for PutObjectLegalHoldOutputBuilder
impl PartialEq for PutObjectLegalHoldOutputBuilder
Source§fn eq(&self, other: &PutObjectLegalHoldOutputBuilder) -> bool
fn eq(&self, other: &PutObjectLegalHoldOutputBuilder) -> bool
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more