Struct aws_sdk_workdocs::model::share_result::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ShareResult
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn principal_id(self, input: impl Into<String>) -> Self
pub fn principal_id(self, input: impl Into<String>) -> Self
The ID of the principal.
sourcepub fn set_principal_id(self, input: Option<String>) -> Self
pub fn set_principal_id(self, input: Option<String>) -> Self
The ID of the principal.
sourcepub fn invitee_principal_id(self, input: impl Into<String>) -> Self
pub fn invitee_principal_id(self, input: impl Into<String>) -> Self
The ID of the invited user.
sourcepub fn set_invitee_principal_id(self, input: Option<String>) -> Self
pub fn set_invitee_principal_id(self, input: Option<String>) -> Self
The ID of the invited user.
sourcepub fn status(self, input: ShareStatusType) -> Self
pub fn status(self, input: ShareStatusType) -> Self
The status.
sourcepub fn set_status(self, input: Option<ShareStatusType>) -> Self
pub fn set_status(self, input: Option<ShareStatusType>) -> Self
The status.
The ID of the resource that was shared.
The ID of the resource that was shared.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message.
sourcepub fn build(self) -> ShareResult
pub fn build(self) -> ShareResult
Consumes the builder and constructs a ShareResult
.