Class ManagedNotificationEventSummary
- java.lang.Object
-
- software.amazon.awssdk.services.notifications.model.ManagedNotificationEventSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ManagedNotificationEventSummary.Builder,ManagedNotificationEventSummary>
@Generated("software.amazon.awssdk:codegen") public final class ManagedNotificationEventSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ManagedNotificationEventSummary.Builder,ManagedNotificationEventSummary>
A short summary of a
ManagedNotificationEvent. This is only used when listing managed notification events.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceManagedNotificationEventSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedNotificationEventSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)EventStatuseventStatus()The managed notification event status.StringeventStatusAsString()The managed notification event status.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MessageComponentsSummarymessageComponents()Returns the value of the MessageComponents property for this object.NotificationTypenotificationType()The Type of event causing the notification.StringnotificationTypeAsString()The Type of event causing the notification.SchemaVersionschemaVersion()The schema version of theManagedNotificationEvent.StringschemaVersionAsString()The schema version of theManagedNotificationEvent.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ManagedNotificationEventSummary.Builder>serializableBuilderClass()ManagedSourceEventMetadataSummarysourceEventMetadata()Contains metadata about the event that caused theManagedNotificationEvent.ManagedNotificationEventSummary.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
-
schemaVersion
public final SchemaVersion schemaVersion()
The schema version of the
ManagedNotificationEvent.If the service returns an enum value that is not available in the current SDK version,
schemaVersionwill returnSchemaVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromschemaVersionAsString().- Returns:
- The schema version of the
ManagedNotificationEvent. - See Also:
SchemaVersion
-
schemaVersionAsString
public final String schemaVersionAsString()
The schema version of the
ManagedNotificationEvent.If the service returns an enum value that is not available in the current SDK version,
schemaVersionwill returnSchemaVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromschemaVersionAsString().- Returns:
- The schema version of the
ManagedNotificationEvent. - See Also:
SchemaVersion
-
sourceEventMetadata
public final ManagedSourceEventMetadataSummary sourceEventMetadata()
Contains metadata about the event that caused the
ManagedNotificationEvent.- Returns:
- Contains metadata about the event that caused the
ManagedNotificationEvent.
-
messageComponents
public final MessageComponentsSummary messageComponents()
Returns the value of the MessageComponents property for this object.- Returns:
- The value of the MessageComponents property for this object.
-
eventStatus
public final EventStatus eventStatus()
The managed notification event status.
-
Values:
-
HEALTHY-
All
EventRulesareACTIVE.
-
-
UNHEALTHY-
Some
EventRulesareACTIVEand some areINACTIVE.
-
-
If the service returns an enum value that is not available in the current SDK version,
eventStatuswill returnEventStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventStatusAsString().- Returns:
- The managed notification event status.
-
Values:
-
HEALTHY-
All
EventRulesareACTIVE.
-
-
UNHEALTHY-
Some
EventRulesareACTIVEand some areINACTIVE.
-
-
-
- See Also:
EventStatus
-
-
eventStatusAsString
public final String eventStatusAsString()
The managed notification event status.
-
Values:
-
HEALTHY-
All
EventRulesareACTIVE.
-
-
UNHEALTHY-
Some
EventRulesareACTIVEand some areINACTIVE.
-
-
If the service returns an enum value that is not available in the current SDK version,
eventStatuswill returnEventStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventStatusAsString().- Returns:
- The managed notification event status.
-
Values:
-
HEALTHY-
All
EventRulesareACTIVE.
-
-
UNHEALTHY-
Some
EventRulesareACTIVEand some areINACTIVE.
-
-
-
- See Also:
EventStatus
-
-
notificationType
public final NotificationType notificationType()
The Type of event causing the notification.
-
Values:
-
ALERT-
A notification about an event where something was triggered, initiated, reopened, deployed, or a threshold was breached.
-
-
WARNING-
A notification about an event where an issue is about to arise. For example, something is approaching a threshold.
-
-
ANNOUNCEMENT-
A notification about an important event. For example, a step in a workflow or escalation path or that a workflow was updated.
-
-
INFORMATIONAL-
A notification about informational messages. For example, recommendations, service announcements, or reminders.
-
-
If the service returns an enum value that is not available in the current SDK version,
notificationTypewill returnNotificationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnotificationTypeAsString().- Returns:
- The Type of event causing the notification.
-
Values:
-
ALERT-
A notification about an event where something was triggered, initiated, reopened, deployed, or a threshold was breached.
-
-
WARNING-
A notification about an event where an issue is about to arise. For example, something is approaching a threshold.
-
-
ANNOUNCEMENT-
A notification about an important event. For example, a step in a workflow or escalation path or that a workflow was updated.
-
-
INFORMATIONAL-
A notification about informational messages. For example, recommendations, service announcements, or reminders.
-
-
-
- See Also:
NotificationType
-
-
notificationTypeAsString
public final String notificationTypeAsString()
The Type of event causing the notification.
-
Values:
-
ALERT-
A notification about an event where something was triggered, initiated, reopened, deployed, or a threshold was breached.
-
-
WARNING-
A notification about an event where an issue is about to arise. For example, something is approaching a threshold.
-
-
ANNOUNCEMENT-
A notification about an important event. For example, a step in a workflow or escalation path or that a workflow was updated.
-
-
INFORMATIONAL-
A notification about informational messages. For example, recommendations, service announcements, or reminders.
-
-
If the service returns an enum value that is not available in the current SDK version,
notificationTypewill returnNotificationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnotificationTypeAsString().- Returns:
- The Type of event causing the notification.
-
Values:
-
ALERT-
A notification about an event where something was triggered, initiated, reopened, deployed, or a threshold was breached.
-
-
WARNING-
A notification about an event where an issue is about to arise. For example, something is approaching a threshold.
-
-
ANNOUNCEMENT-
A notification about an important event. For example, a step in a workflow or escalation path or that a workflow was updated.
-
-
INFORMATIONAL-
A notification about informational messages. For example, recommendations, service announcements, or reminders.
-
-
-
- See Also:
NotificationType
-
-
toBuilder
public ManagedNotificationEventSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ManagedNotificationEventSummary.Builder,ManagedNotificationEventSummary>
-
builder
public static ManagedNotificationEventSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ManagedNotificationEventSummary.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-