Struct aws_sdk_codestarnotifications::operation::list_notification_rules::builders::ListNotificationRulesOutputBuilder
source · #[non_exhaustive]pub struct ListNotificationRulesOutputBuilder { /* private fields */ }
Expand description
A builder for ListNotificationRulesOutput
.
Implementations§
source§impl ListNotificationRulesOutputBuilder
impl ListNotificationRulesOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An enumeration token that can be used in a request to return the next batch of the results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An enumeration token that can be used in a request to return the next batch of the results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
An enumeration token that can be used in a request to return the next batch of the results.
sourcepub fn notification_rules(self, input: NotificationRuleSummary) -> Self
pub fn notification_rules(self, input: NotificationRuleSummary) -> Self
Appends an item to notification_rules
.
To override the contents of this collection use set_notification_rules
.
The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.
sourcepub fn set_notification_rules(
self,
input: Option<Vec<NotificationRuleSummary>>,
) -> Self
pub fn set_notification_rules( self, input: Option<Vec<NotificationRuleSummary>>, ) -> Self
The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.
sourcepub fn get_notification_rules(&self) -> &Option<Vec<NotificationRuleSummary>>
pub fn get_notification_rules(&self) -> &Option<Vec<NotificationRuleSummary>>
The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.
sourcepub fn build(self) -> ListNotificationRulesOutput
pub fn build(self) -> ListNotificationRulesOutput
Consumes the builder and constructs a ListNotificationRulesOutput
.
Trait Implementations§
source§impl Clone for ListNotificationRulesOutputBuilder
impl Clone for ListNotificationRulesOutputBuilder
source§fn clone(&self) -> ListNotificationRulesOutputBuilder
fn clone(&self) -> ListNotificationRulesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListNotificationRulesOutputBuilder
impl Default for ListNotificationRulesOutputBuilder
source§fn default() -> ListNotificationRulesOutputBuilder
fn default() -> ListNotificationRulesOutputBuilder
source§impl PartialEq for ListNotificationRulesOutputBuilder
impl PartialEq for ListNotificationRulesOutputBuilder
source§fn eq(&self, other: &ListNotificationRulesOutputBuilder) -> bool
fn eq(&self, other: &ListNotificationRulesOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ListNotificationRulesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListNotificationRulesOutputBuilder
impl RefUnwindSafe for ListNotificationRulesOutputBuilder
impl Send for ListNotificationRulesOutputBuilder
impl Sync for ListNotificationRulesOutputBuilder
impl Unpin for ListNotificationRulesOutputBuilder
impl UnwindSafe for ListNotificationRulesOutputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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