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