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