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 get_notifications(&self) -> &Option<Vec<Notification>>
pub fn get_notifications(&self) -> &Option<Vec<Notification>>
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 get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
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 for ListNotificationsOutputBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for ListNotificationsOutputBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.