Struct aws_sdk_workdocs::model::notification_options::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for NotificationOptions
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn send_email(self, input: bool) -> Self
pub fn send_email(self, input: bool) -> Self
Boolean value to indicate an email notification should be sent to the receipients.
sourcepub fn set_send_email(self, input: Option<bool>) -> Self
pub fn set_send_email(self, input: Option<bool>) -> Self
Boolean value to indicate an email notification should be sent to the receipients.
sourcepub fn email_message(self, input: impl Into<String>) -> Self
pub fn email_message(self, input: impl Into<String>) -> Self
Text value to be included in the email body.
sourcepub fn set_email_message(self, input: Option<String>) -> Self
pub fn set_email_message(self, input: Option<String>) -> Self
Text value to be included in the email body.
sourcepub fn build(self) -> NotificationOptions
pub fn build(self) -> NotificationOptions
Consumes the builder and constructs a NotificationOptions
.