Interface NotificationChannelConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NotificationChannelConfig.Builder,
,NotificationChannelConfig> SdkBuilder<NotificationChannelConfig.Builder,
,NotificationChannelConfig> SdkPojo
- Enclosing class:
NotificationChannelConfig
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Consumer<NotificationFilterConfig.Builder> filters) The filter configurations for the Amazon SNS notification topic you use with DevOps Guru.filters
(NotificationFilterConfig filters) The filter configurations for the Amazon SNS notification topic you use with DevOps Guru.Information about a notification channel configured in DevOps Guru to send notifications when insights are created.sns
(SnsChannelConfig sns) Information about a notification channel configured in DevOps Guru to send notifications when insights are created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
sns
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.
- Parameters:
sns
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sns
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 is a convenience method that creates an instance of theSnsChannelConfig.Builder
avoiding the need to create one manually viaSnsChannelConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosns(SnsChannelConfig)
.- Parameters:
sns
- a consumer that will call methods onSnsChannelConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filters
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
orMedium
severity.- Parameters:
filters
- 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 ofHigh
orMedium
severity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
default NotificationChannelConfig.Builder filters(Consumer<NotificationFilterConfig.Builder> filters) 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
This is a convenience method that creates an instance of theHigh
orMedium
severity.NotificationFilterConfig.Builder
avoiding the need to create one manually viaNotificationFilterConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(NotificationFilterConfig)
.- Parameters:
filters
- a consumer that will call methods onNotificationFilterConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-