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