Struct aws_sdk_workdocs::model::permission_info::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for PermissionInfo
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type(self, input: RolePermissionType) -> Self
pub fn type(self, input: RolePermissionType) -> Self
The type of permissions.
sourcepub fn set_type(self, input: Option<RolePermissionType>) -> Self
pub fn set_type(self, input: Option<RolePermissionType>) -> Self
The type of permissions.
sourcepub fn build(self) -> PermissionInfo
pub fn build(self) -> PermissionInfo
Consumes the builder and constructs a PermissionInfo
.