@Generated(value="software.amazon.awssdk:codegen") public final class NotificationSettingKey extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NotificationSettingKey.Builder,NotificationSettingKey>
A notification setting key to reset. A notification setting key includes the event and the channel.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NotificationSettingKey.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NotificationSettingKey.Builder |
builder() |
NotificationChannel |
channel()
The specified channel of notification.
|
String |
channelAsString()
The specified channel of notification.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
NotificationEvent |
event()
The notification setting event to reset.
|
String |
eventAsString()
The notification setting event to reset.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends NotificationSettingKey.Builder> |
serializableBuilderClass() |
NotificationSettingKey.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final NotificationChannel channel()
The specified channel of notification.
If the service returns an enum value that is not available in the current SDK version, channel will
return NotificationChannel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from channelAsString().
NotificationChannelpublic final String channelAsString()
The specified channel of notification.
If the service returns an enum value that is not available in the current SDK version, channel will
return NotificationChannel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from channelAsString().
NotificationChannelpublic final NotificationEvent event()
The notification setting event to reset.
If the service returns an enum value that is not available in the current SDK version, event will return
NotificationEvent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
eventAsString().
NotificationEventpublic final String eventAsString()
The notification setting event to reset.
If the service returns an enum value that is not available in the current SDK version, event will return
NotificationEvent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
eventAsString().
NotificationEventpublic NotificationSettingKey.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NotificationSettingKey.Builder,NotificationSettingKey>public static NotificationSettingKey.Builder builder()
public static Class<? extends NotificationSettingKey.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.