Struct aws_sdk_auditmanager::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: Notification) -> Self
pub fn notifications(self, input: Notification) -> Self
Appends an item to notifications.
To override the contents of this collection use set_notifications.
The returned list of notifications.
sourcepub fn set_notifications(self, input: Option<Vec<Notification>>) -> Self
pub fn set_notifications(self, input: Option<Vec<Notification>>) -> Self
The returned list of notifications.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token that's used to fetch the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token that's used to fetch the next set of results.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for ListNotificationsOutputBuilder
impl Default for ListNotificationsOutputBuilder
source§fn default() -> ListNotificationsOutputBuilder
fn default() -> ListNotificationsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ListNotificationsOutputBuilder> for ListNotificationsOutputBuilder
impl PartialEq<ListNotificationsOutputBuilder> for ListNotificationsOutputBuilder
source§fn eq(&self, other: &ListNotificationsOutputBuilder) -> bool
fn eq(&self, other: &ListNotificationsOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.