Struct aws_sdk_codestarnotifications::output::describe_notification_rule_output::Builder   
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for DescribeNotificationRuleOutput
Implementations
sourceimpl Builder
 
impl Builder
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 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 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 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 SNS topics 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 SNS topics 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 AWS 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 AWS 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 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 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 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.
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.
sourcepub fn build(self) -> DescribeNotificationRuleOutput
 
pub fn build(self) -> DescribeNotificationRuleOutput
Consumes the builder and constructs a DescribeNotificationRuleOutput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
 
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
 
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
 
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
    S: Into<Dispatch>, 
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
 
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more