#[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. 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) -> 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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for PutObjectRetentionOutputBuilder
impl Default for PutObjectRetentionOutputBuilder
Source§fn default() -> PutObjectRetentionOutputBuilder
fn default() -> PutObjectRetentionOutputBuilder
Source§impl PartialEq for PutObjectRetentionOutputBuilder
impl PartialEq for PutObjectRetentionOutputBuilder
Source§fn eq(&self, other: &PutObjectRetentionOutputBuilder) -> bool
fn eq(&self, other: &PutObjectRetentionOutputBuilder) -> bool
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
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