Struct aws_sdk_s3::model::target_grant::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TargetGrant
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn grantee(self, input: Grantee) -> Self
pub fn grantee(self, input: Grantee) -> Self
Container for the person being granted permissions.
sourcepub fn set_grantee(self, input: Option<Grantee>) -> Self
pub fn set_grantee(self, input: Option<Grantee>) -> Self
Container for the person being granted permissions.
sourcepub fn permission(self, input: BucketLogsPermission) -> Self
pub fn permission(self, input: BucketLogsPermission) -> Self
Logging permissions assigned to the grantee for the bucket.
sourcepub fn set_permission(self, input: Option<BucketLogsPermission>) -> Self
pub fn set_permission(self, input: Option<BucketLogsPermission>) -> Self
Logging permissions assigned to the grantee for the bucket.
sourcepub fn build(self) -> TargetGrant
pub fn build(self) -> TargetGrant
Consumes the builder and constructs a TargetGrant
.