#[non_exhaustive]pub struct GetObjectAclOutputBuilder { /* private fields */ }
Expand description
A builder for GetObjectAclOutput
.
Implementations§
source§impl GetObjectAclOutputBuilder
impl GetObjectAclOutputBuilder
sourcepub fn owner(self, input: Owner) -> Self
pub fn owner(self, input: Owner) -> Self
Container for the bucket owner's display name and ID.
sourcepub fn set_owner(self, input: Option<Owner>) -> Self
pub fn set_owner(self, input: Option<Owner>) -> Self
Container for the bucket owner's display name and ID.
sourcepub fn get_owner(&self) -> &Option<Owner>
pub fn get_owner(&self) -> &Option<Owner>
Container for the bucket owner's display name and ID.
sourcepub fn grants(self, input: Grant) -> Self
pub fn grants(self, input: Grant) -> Self
Appends an item to grants
.
To override the contents of this collection use set_grants
.
A list of grants.
sourcepub fn set_grants(self, input: Option<Vec<Grant>>) -> Self
pub fn set_grants(self, input: Option<Vec<Grant>>) -> Self
A list of grants.
sourcepub fn get_grants(&self) -> &Option<Vec<Grant>>
pub fn get_grants(&self) -> &Option<Vec<Grant>>
A list of grants.
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) -> GetObjectAclOutput
pub fn build(self) -> GetObjectAclOutput
Consumes the builder and constructs a GetObjectAclOutput
.
Trait Implementations§
source§impl Clone for GetObjectAclOutputBuilder
impl Clone for GetObjectAclOutputBuilder
source§fn clone(&self) -> GetObjectAclOutputBuilder
fn clone(&self) -> GetObjectAclOutputBuilder
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 Debug for GetObjectAclOutputBuilder
impl Debug for GetObjectAclOutputBuilder
source§impl Default for GetObjectAclOutputBuilder
impl Default for GetObjectAclOutputBuilder
source§fn default() -> GetObjectAclOutputBuilder
fn default() -> GetObjectAclOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetObjectAclOutputBuilder> for GetObjectAclOutputBuilder
impl PartialEq<GetObjectAclOutputBuilder> for GetObjectAclOutputBuilder
source§fn eq(&self, other: &GetObjectAclOutputBuilder) -> bool
fn eq(&self, other: &GetObjectAclOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetObjectAclOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetObjectAclOutputBuilder
impl Send for GetObjectAclOutputBuilder
impl Sync for GetObjectAclOutputBuilder
impl Unpin for GetObjectAclOutputBuilder
impl UnwindSafe for GetObjectAclOutputBuilder
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