Struct aws_sdk_codestarnotifications::operation::describe_notification_rule::builders::DescribeNotificationRuleOutputBuilder
source · #[non_exhaustive]pub struct DescribeNotificationRuleOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeNotificationRuleOutput
.
Implementations§
source§impl DescribeNotificationRuleOutputBuilder
impl DescribeNotificationRuleOutputBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the notification rule.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the notification rule.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the notification rule.
sourcepub fn event_types(self, input: EventTypeSummary) -> Self
pub fn event_types(self, input: EventTypeSummary) -> Self
Appends an item to event_types
.
To override the contents of this collection use set_event_types
.
A list of the event types associated with the notification rule.
sourcepub fn set_event_types(self, input: Option<Vec<EventTypeSummary>>) -> Self
pub fn set_event_types(self, input: Option<Vec<EventTypeSummary>>) -> Self
A list of the event types associated with the notification rule.
sourcepub fn get_event_types(&self) -> &Option<Vec<EventTypeSummary>>
pub fn get_event_types(&self) -> &Option<Vec<EventTypeSummary>>
A list of the event types associated with the notification rule.
sourcepub fn resource(self, input: impl Into<String>) -> Self
pub fn resource(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the resource associated with the notification rule.
sourcepub fn set_resource(self, input: Option<String>) -> Self
pub fn set_resource(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the resource associated with the notification rule.
sourcepub fn get_resource(&self) -> &Option<String>
pub fn get_resource(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the resource associated with the notification rule.
sourcepub fn targets(self, input: TargetSummary) -> Self
pub fn targets(self, input: TargetSummary) -> Self
Appends an item to targets
.
To override the contents of this collection use set_targets
.
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
sourcepub fn set_targets(self, input: Option<Vec<TargetSummary>>) -> Self
pub fn set_targets(self, input: Option<Vec<TargetSummary>>) -> Self
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
sourcepub fn get_targets(&self) -> &Option<Vec<TargetSummary>>
pub fn get_targets(&self) -> &Option<Vec<TargetSummary>>
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
sourcepub fn detail_type(self, input: DetailType) -> Self
pub fn detail_type(self, input: DetailType) -> Self
The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
sourcepub fn set_detail_type(self, input: Option<DetailType>) -> Self
pub fn set_detail_type(self, input: Option<DetailType>) -> Self
The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
sourcepub fn get_detail_type(&self) -> &Option<DetailType>
pub fn get_detail_type(&self) -> &Option<DetailType>
The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The name or email alias of the person who created the notification rule.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The name or email alias of the person who created the notification rule.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The name or email alias of the person who created the notification rule.
sourcepub fn status(self, input: NotificationRuleStatus) -> Self
pub fn status(self, input: NotificationRuleStatus) -> Self
The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).
sourcepub fn set_status(self, input: Option<NotificationRuleStatus>) -> Self
pub fn set_status(self, input: Option<NotificationRuleStatus>) -> Self
The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).
sourcepub fn get_status(&self) -> &Option<NotificationRuleStatus>
pub fn get_status(&self) -> &Option<NotificationRuleStatus>
The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).
sourcepub fn created_timestamp(self, input: DateTime) -> Self
pub fn created_timestamp(self, input: DateTime) -> Self
The date and time the notification rule was created, in timestamp format.
sourcepub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
The date and time the notification rule was created, in timestamp format.
sourcepub fn get_created_timestamp(&self) -> &Option<DateTime>
pub fn get_created_timestamp(&self) -> &Option<DateTime>
The date and time the notification rule was created, in timestamp format.
sourcepub fn last_modified_timestamp(self, input: DateTime) -> Self
pub fn last_modified_timestamp(self, input: DateTime) -> Self
The date and time the notification rule was most recently updated, in timestamp format.
sourcepub fn set_last_modified_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_timestamp(self, input: Option<DateTime>) -> Self
The date and time the notification rule was most recently updated, in timestamp format.
sourcepub fn get_last_modified_timestamp(&self) -> &Option<DateTime>
pub fn get_last_modified_timestamp(&self) -> &Option<DateTime>
The date and time the notification rule was most recently updated, in timestamp format.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags associated with the notification rule.
The tags associated with the notification rule.
The tags associated with the notification rule.
sourcepub fn build(self) -> DescribeNotificationRuleOutput
pub fn build(self) -> DescribeNotificationRuleOutput
Consumes the builder and constructs a DescribeNotificationRuleOutput
.
Trait Implementations§
source§impl Clone for DescribeNotificationRuleOutputBuilder
impl Clone for DescribeNotificationRuleOutputBuilder
source§fn clone(&self) -> DescribeNotificationRuleOutputBuilder
fn clone(&self) -> DescribeNotificationRuleOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeNotificationRuleOutputBuilder
impl Default for DescribeNotificationRuleOutputBuilder
source§fn default() -> DescribeNotificationRuleOutputBuilder
fn default() -> DescribeNotificationRuleOutputBuilder
source§impl PartialEq<DescribeNotificationRuleOutputBuilder> for DescribeNotificationRuleOutputBuilder
impl PartialEq<DescribeNotificationRuleOutputBuilder> for DescribeNotificationRuleOutputBuilder
source§fn eq(&self, other: &DescribeNotificationRuleOutputBuilder) -> bool
fn eq(&self, other: &DescribeNotificationRuleOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.