Class NotificationSettingDetail
- java.lang.Object
-
- software.amazon.awssdk.services.rolesanywhere.model.NotificationSettingDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NotificationSettingDetail.Builder,NotificationSettingDetail>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNotificationSettingDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NotificationSettingDetail.Builderbuilder()NotificationChannelchannel()The specified channel of notification.StringchannelAsString()The specified channel of notification.StringconfiguredBy()The principal that configured the notification setting.Booleanenabled()Indicates whether the notification setting is enabled.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)NotificationEventevent()The event to which this notification setting is applied.StringeventAsString()The event to which this notification setting is applied.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends NotificationSettingDetail.Builder>serializableBuilderClass()Integerthreshold()The number of days before a notification event.NotificationSettingDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
channel
public 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,
channelwill returnNotificationChannel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromchannelAsString().- Returns:
- 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.
- See Also:
NotificationChannel
-
channelAsString
public 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,
channelwill returnNotificationChannel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromchannelAsString().- Returns:
- 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.
- See Also:
NotificationChannel
-
configuredBy
public 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.- Returns:
- 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.
-
enabled
public final Boolean enabled()
Indicates whether the notification setting is enabled.
- Returns:
- Indicates whether the notification setting is enabled.
-
event
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,
eventwill returnNotificationEvent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventAsString().- Returns:
- The event to which this notification setting is applied.
- See Also:
NotificationEvent
-
eventAsString
public 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,
eventwill returnNotificationEvent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventAsString().- Returns:
- The event to which this notification setting is applied.
- See Also:
NotificationEvent
-
threshold
public final Integer threshold()
The number of days before a notification event.
- Returns:
- The number of days before a notification event.
-
toBuilder
public NotificationSettingDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NotificationSettingDetail.Builder,NotificationSettingDetail>
-
builder
public static NotificationSettingDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends NotificationSettingDetail.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-