pub struct Builder { /* private fields */ }
Expand description
A builder for NotificationConfiguration
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn channels(self, input: Channel) -> Self
pub fn channels(self, input: Channel) -> Self
Appends an item to channels
.
To override the contents of this collection use set_channels
.
List of up to two channels to be used for sending notifications for events detected from the application profile.
sourcepub fn set_channels(self, input: Option<Vec<Channel>>) -> Self
pub fn set_channels(self, input: Option<Vec<Channel>>) -> Self
List of up to two channels to be used for sending notifications for events detected from the application profile.
sourcepub fn build(self) -> NotificationConfiguration
pub fn build(self) -> NotificationConfiguration
Consumes the builder and constructs a NotificationConfiguration
.