@Generated(value="software.amazon.awssdk:codegen") public final class NotificationChannel extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NotificationChannel.Builder,NotificationChannel>
Information about a notification channel. A notification channel is used to notify you when DevOps Guru creates an insight. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NotificationChannel.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NotificationChannel.Builder |
builder() |
NotificationChannelConfig |
config()
A
NotificationChannelConfig object that contains information about configured notification channels. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of a notification channel.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NotificationChannel.Builder> |
serializableBuilderClass() |
NotificationChannel.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of a notification channel.
public final NotificationChannelConfig config()
A NotificationChannelConfig object that contains information about configured notification channels.
NotificationChannelConfig object that contains information about configured notification
channels.public NotificationChannel.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NotificationChannel.Builder,NotificationChannel>public static NotificationChannel.Builder builder()
public static Class<? extends NotificationChannel.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.