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<ListNotificationRulesOutputBuilder> for ListNotificationRulesOutputBuilder
impl PartialEq<ListNotificationRulesOutputBuilder> 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 ==
.