#[non_exhaustive]pub struct PutObjectLockConfigurationOutputBuilder { /* private fields */ }
Expand description
A builder for PutObjectLockConfigurationOutput
.
Implementations§
Source§impl PutObjectLockConfigurationOutputBuilder
impl PutObjectLockConfigurationOutputBuilder
Sourcepub fn request_charged(
self,
input: RequestCharged,
) -> PutObjectLockConfigurationOutputBuilder
pub fn request_charged( self, input: RequestCharged, ) -> PutObjectLockConfigurationOutputBuilder
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>,
) -> PutObjectLockConfigurationOutputBuilder
pub fn set_request_charged( self, input: Option<RequestCharged>, ) -> PutObjectLockConfigurationOutputBuilder
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) -> PutObjectLockConfigurationOutput
pub fn build(self) -> PutObjectLockConfigurationOutput
Consumes the builder and constructs a PutObjectLockConfigurationOutput
.
Trait Implementations§
Source§impl Clone for PutObjectLockConfigurationOutputBuilder
impl Clone for PutObjectLockConfigurationOutputBuilder
Source§fn clone(&self) -> PutObjectLockConfigurationOutputBuilder
fn clone(&self) -> PutObjectLockConfigurationOutputBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for PutObjectLockConfigurationOutputBuilder
impl Default for PutObjectLockConfigurationOutputBuilder
Source§fn default() -> PutObjectLockConfigurationOutputBuilder
fn default() -> PutObjectLockConfigurationOutputBuilder
Source§impl PartialEq for PutObjectLockConfigurationOutputBuilder
impl PartialEq for PutObjectLockConfigurationOutputBuilder
Source§fn eq(&self, other: &PutObjectLockConfigurationOutputBuilder) -> bool
fn eq(&self, other: &PutObjectLockConfigurationOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PutObjectLockConfigurationOutputBuilder
Auto Trait Implementations§
impl Freeze for PutObjectLockConfigurationOutputBuilder
impl RefUnwindSafe for PutObjectLockConfigurationOutputBuilder
impl Send for PutObjectLockConfigurationOutputBuilder
impl Sync for PutObjectLockConfigurationOutputBuilder
impl Unpin for PutObjectLockConfigurationOutputBuilder
impl UnwindSafe for PutObjectLockConfigurationOutputBuilder
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