#[non_exhaustive]pub struct NotificationChannelConfigBuilder { /* private fields */ }Expand description
A builder for NotificationChannelConfig.
Implementations§
source§impl NotificationChannelConfigBuilder
 
impl NotificationChannelConfigBuilder
sourcepub fn sns(self, input: SnsChannelConfig) -> Self
 
pub fn sns(self, input: SnsChannelConfig) -> Self
Information about a notification channel configured in DevOps Guru to send notifications when insights are created.
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to send it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. For more information, see Permissions for Amazon SNS topics.
If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for Amazon Web Services KMS–encrypted Amazon SNS topics.
This field is required.sourcepub fn set_sns(self, input: Option<SnsChannelConfig>) -> Self
 
pub fn set_sns(self, input: Option<SnsChannelConfig>) -> Self
Information about a notification channel configured in DevOps Guru to send notifications when insights are created.
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to send it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. For more information, see Permissions for Amazon SNS topics.
If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for Amazon Web Services KMS–encrypted Amazon SNS topics.
sourcepub fn get_sns(&self) -> &Option<SnsChannelConfig>
 
pub fn get_sns(&self) -> &Option<SnsChannelConfig>
Information about a notification channel configured in DevOps Guru to send notifications when insights are created.
If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to send it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. For more information, see Permissions for Amazon SNS topics.
If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions to the CMK. For more information, see Permissions for Amazon Web Services KMS–encrypted Amazon SNS topics.
sourcepub fn filters(self, input: NotificationFilterConfig) -> Self
 
pub fn filters(self, input: NotificationFilterConfig) -> Self
The filter configurations for the Amazon SNS notification topic you use with DevOps Guru. If you do not provide filter configurations, the default configurations are to receive notifications for all message types of High or Medium severity.
sourcepub fn set_filters(self, input: Option<NotificationFilterConfig>) -> Self
 
pub fn set_filters(self, input: Option<NotificationFilterConfig>) -> Self
The filter configurations for the Amazon SNS notification topic you use with DevOps Guru. If you do not provide filter configurations, the default configurations are to receive notifications for all message types of High or Medium severity.
sourcepub fn get_filters(&self) -> &Option<NotificationFilterConfig>
 
pub fn get_filters(&self) -> &Option<NotificationFilterConfig>
The filter configurations for the Amazon SNS notification topic you use with DevOps Guru. If you do not provide filter configurations, the default configurations are to receive notifications for all message types of High or Medium severity.
sourcepub fn build(self) -> NotificationChannelConfig
 
pub fn build(self) -> NotificationChannelConfig
Consumes the builder and constructs a NotificationChannelConfig.
Trait Implementations§
source§impl Clone for NotificationChannelConfigBuilder
 
impl Clone for NotificationChannelConfigBuilder
source§fn clone(&self) -> NotificationChannelConfigBuilder
 
fn clone(&self) -> NotificationChannelConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for NotificationChannelConfigBuilder
 
impl Default for NotificationChannelConfigBuilder
source§fn default() -> NotificationChannelConfigBuilder
 
fn default() -> NotificationChannelConfigBuilder
source§impl PartialEq for NotificationChannelConfigBuilder
 
impl PartialEq for NotificationChannelConfigBuilder
source§fn eq(&self, other: &NotificationChannelConfigBuilder) -> bool
 
fn eq(&self, other: &NotificationChannelConfigBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NotificationChannelConfigBuilder
Auto Trait Implementations§
impl Freeze for NotificationChannelConfigBuilder
impl RefUnwindSafe for NotificationChannelConfigBuilder
impl Send for NotificationChannelConfigBuilder
impl Sync for NotificationChannelConfigBuilder
impl Unpin for NotificationChannelConfigBuilder
impl UnwindSafe for NotificationChannelConfigBuilder
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