Struct aws_sdk_s3::output::get_bucket_acl_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetBucketAclOutput
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> GetBucketAclOutput
pub fn build(self) -> GetBucketAclOutput
Consumes the builder and constructs a GetBucketAclOutput
.