@Generated(value="software.amazon.awssdk:codegen") public final class NotificationSettingDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NotificationSettingDetail.Builder,NotificationSettingDetail>
The state of a notification setting.
A notification setting includes information such as event name, threshold, status of the notification setting, and the channel to notify.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NotificationSettingDetail.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NotificationSettingDetail.Builder |
builder() |
NotificationChannel |
channel()
The specified channel of notification.
|
String |
channelAsString()
The specified channel of notification.
|
String |
configuredBy()
The principal that configured the notification setting.
|
Boolean |
enabled()
Indicates whether the notification setting is enabled.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
NotificationEvent |
event()
The event to which this notification setting is applied.
|
String |
eventAsString()
The event to which this notification setting is applied.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends NotificationSettingDetail.Builder> |
serializableBuilderClass() |
Integer |
threshold()
The number of days before a notification event.
|
NotificationSettingDetail.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. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.
In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.
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().
In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.
NotificationChannelpublic final String channelAsString()
The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.
In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.
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().
In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.
NotificationChannelpublic final String configuredBy()
The principal that configured the notification setting. For default settings configured by IAM Roles Anywhere,
the value is rolesanywhere.amazonaws.com, and for customized notifications settings, it is the
respective account ID.
rolesanywhere.amazonaws.com, and for customized notifications
settings, it is the respective account ID.public final Boolean enabled()
Indicates whether the notification setting is enabled.
public final NotificationEvent event()
The event to which this notification setting is applied.
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 event to which this notification setting is applied.
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 Integer threshold()
The number of days before a notification event.
public NotificationSettingDetail.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NotificationSettingDetail.Builder,NotificationSettingDetail>public static NotificationSettingDetail.Builder builder()
public static Class<? extends NotificationSettingDetail.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.