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 ==
.impl StructuralPartialEq for ListNotificationChannelsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListNotificationChannelsOutputBuilder
impl RefUnwindSafe for ListNotificationChannelsOutputBuilder
impl Send for ListNotificationChannelsOutputBuilder
impl Sync for ListNotificationChannelsOutputBuilder
impl Unpin for ListNotificationChannelsOutputBuilder
impl UnwindSafe for ListNotificationChannelsOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more