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 ==
.