@Generated(value="software.amazon.awssdk:codegen") public final class SnsChannelConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SnsChannelConfig.Builder,SnsChannelConfig>
Contains the Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
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 |
SnsChannelConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SnsChannelConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SnsChannelConfig.Builder> |
serializableBuilderClass() |
SnsChannelConfig.Builder |
toBuilder() |
String |
topicArn()
The Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String topicArn()
The Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
public SnsChannelConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SnsChannelConfig.Builder,SnsChannelConfig>public static SnsChannelConfig.Builder builder()
public static Class<? extends SnsChannelConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.