Struct aws_sdk_devopsguru::operation::list_notification_channels::builders::ListNotificationChannelsOutputBuilder
source · #[non_exhaustive]pub struct ListNotificationChannelsOutputBuilder { /* private fields */ }
Expand description
A builder for ListNotificationChannelsOutput
.
Implementations§
source§impl ListNotificationChannelsOutputBuilder
impl ListNotificationChannelsOutputBuilder
sourcepub fn channels(self, input: NotificationChannel) -> Self
pub fn channels(self, input: NotificationChannel) -> Self
Appends an item to channels
.
To override the contents of this collection use set_channels
.
An array that contains the requested notification channels.
sourcepub fn set_channels(self, input: Option<Vec<NotificationChannel>>) -> Self
pub fn set_channels(self, input: Option<Vec<NotificationChannel>>) -> Self
An array that contains the requested notification channels.
sourcepub fn get_channels(&self) -> &Option<Vec<NotificationChannel>>
pub fn get_channels(&self) -> &Option<Vec<NotificationChannel>>
An array that contains the requested notification channels.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
sourcepub fn build(self) -> ListNotificationChannelsOutput
pub fn build(self) -> ListNotificationChannelsOutput
Consumes the builder and constructs a ListNotificationChannelsOutput
.
Trait Implementations§
source§impl Clone for ListNotificationChannelsOutputBuilder
impl Clone for ListNotificationChannelsOutputBuilder
source§fn clone(&self) -> ListNotificationChannelsOutputBuilder
fn clone(&self) -> ListNotificationChannelsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListNotificationChannelsOutputBuilder
impl Default for ListNotificationChannelsOutputBuilder
source§fn default() -> ListNotificationChannelsOutputBuilder
fn default() -> ListNotificationChannelsOutputBuilder
source§impl PartialEq for ListNotificationChannelsOutputBuilder
impl PartialEq for ListNotificationChannelsOutputBuilder
source§fn eq(&self, other: &ListNotificationChannelsOutputBuilder) -> bool
fn eq(&self, other: &ListNotificationChannelsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.