Struct aws_sdk_s3control::model::s3_access_control_list::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for S3AccessControlList.
Implementations§
source§impl Builder
impl Builder
sourcepub fn owner(self, input: S3ObjectOwner) -> Self
pub fn owner(self, input: S3ObjectOwner) -> Self
sourcepub fn set_owner(self, input: Option<S3ObjectOwner>) -> Self
pub fn set_owner(self, input: Option<S3ObjectOwner>) -> Self
sourcepub fn grants(self, input: S3Grant) -> Self
pub fn grants(self, input: S3Grant) -> Self
Appends an item to grants.
To override the contents of this collection use set_grants.
sourcepub fn set_grants(self, input: Option<Vec<S3Grant>>) -> Self
pub fn set_grants(self, input: Option<Vec<S3Grant>>) -> Self
sourcepub fn build(self) -> S3AccessControlList
pub fn build(self) -> S3AccessControlList
Consumes the builder and constructs a S3AccessControlList.