Struct aws_sdk_datazone::operation::list_notifications::builders::ListNotificationsOutputBuilder
source · #[non_exhaustive]pub struct ListNotificationsOutputBuilder { /* private fields */ }Expand description
A builder for ListNotificationsOutput.
Implementations§
source§impl ListNotificationsOutputBuilder
impl ListNotificationsOutputBuilder
sourcepub fn notifications(self, input: NotificationOutput) -> Self
pub fn notifications(self, input: NotificationOutput) -> Self
Appends an item to notifications.
To override the contents of this collection use set_notifications.
The results of the ListNotifications action.
sourcepub fn set_notifications(self, input: Option<Vec<NotificationOutput>>) -> Self
pub fn set_notifications(self, input: Option<Vec<NotificationOutput>>) -> Self
The results of the ListNotifications action.
sourcepub fn get_notifications(&self) -> &Option<Vec<NotificationOutput>>
pub fn get_notifications(&self) -> &Option<Vec<NotificationOutput>>
The results of the ListNotifications action.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
When the number of notifications is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of notifications, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListNotifications to list the next set of notifications.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
When the number of notifications is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of notifications, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListNotifications to list the next set of notifications.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When the number of notifications is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of notifications, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListNotifications to list the next set of notifications.
sourcepub fn build(self) -> ListNotificationsOutput
pub fn build(self) -> ListNotificationsOutput
Consumes the builder and constructs a ListNotificationsOutput.
Trait Implementations§
source§impl Clone for ListNotificationsOutputBuilder
impl Clone for ListNotificationsOutputBuilder
source§fn clone(&self) -> ListNotificationsOutputBuilder
fn clone(&self) -> ListNotificationsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListNotificationsOutputBuilder
impl Default for ListNotificationsOutputBuilder
source§fn default() -> ListNotificationsOutputBuilder
fn default() -> ListNotificationsOutputBuilder
source§impl PartialEq for ListNotificationsOutputBuilder
impl PartialEq for ListNotificationsOutputBuilder
source§fn eq(&self, other: &ListNotificationsOutputBuilder) -> bool
fn eq(&self, other: &ListNotificationsOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListNotificationsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListNotificationsOutputBuilder
impl RefUnwindSafe for ListNotificationsOutputBuilder
impl Send for ListNotificationsOutputBuilder
impl Sync for ListNotificationsOutputBuilder
impl Unpin for ListNotificationsOutputBuilder
impl UnwindSafe for ListNotificationsOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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