Struct aws_sdk_glue::model::principal_permissions::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for PrincipalPermissions.
Implementations§
source§impl Builder
impl Builder
sourcepub fn principal(self, input: DataLakePrincipal) -> Self
pub fn principal(self, input: DataLakePrincipal) -> Self
The principal who is granted permissions.
sourcepub fn set_principal(self, input: Option<DataLakePrincipal>) -> Self
pub fn set_principal(self, input: Option<DataLakePrincipal>) -> Self
The principal who is granted permissions.
sourcepub fn permissions(self, input: Permission) -> Self
pub fn permissions(self, input: Permission) -> Self
Appends an item to permissions.
To override the contents of this collection use set_permissions.
The permissions that are granted to the principal.
sourcepub fn set_permissions(self, input: Option<Vec<Permission>>) -> Self
pub fn set_permissions(self, input: Option<Vec<Permission>>) -> Self
The permissions that are granted to the principal.
sourcepub fn build(self) -> PrincipalPermissions
pub fn build(self) -> PrincipalPermissions
Consumes the builder and constructs a PrincipalPermissions.