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